[jboss-user] [JBoss Seam] - Re: Using rich:datascroller With Seam and Hibernate Paginati

pete.muir@jboss.org do-not-reply at jboss.com
Tue Jan 29 05:55:50 EST 2008


Yeah. If you are going to back your JSF (Extended)DataModel by a database for paging/sorting you need some sort of API to do the paging/sorting (which EntityManager doesn't really provide). So, if you don't want to use EntityQuery, then you will need to some other API that does the paging/sorting.

The org.jboss.seam.faces.dataModels component is used to select the correct DataModel to create when Seam creates the datamodel for you (e.g. @DataModel, entityQuery.dataModel).

The seamdiscs code is much more proof of concept that a production ready example - hence why it lives with the example, not in seam core ;)

If you do succeed with RichFaces, writing about it on SeamFramework.org would be very helpful for others.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124335#4124335

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124335



More information about the jboss-user mailing list