[jboss-user] [JBoss Seam] - Re: paginating a datamodel

2006-12-28 Thread ask4saif
Dear Norman Richards, can you plz send me a sample code for the EntityQuery, or any hint. other than EntityQuery :) thanx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996599#3996599 Reply to the post :

[jboss-user] [JBoss Seam] - Re: paginating a datamodel

2006-12-28 Thread sbryzak2
Take a look at the booking example, in particular HotelSearchingAction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996615#3996615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996615

[jboss-user] [JBoss Seam] - Re: paginating a datamodel

2006-12-27 Thread MelampO
Hi. I have been looking for that some days ago, and I found the jenia4faces library. With the DataTools family components you can do theses things (I haven't try it at this momment, but with other jenia components I have no problems with seam, so I suposse that it will work).

[jboss-user] [JBoss Seam] - Re: paginating a datamodel

2006-12-27 Thread ask4saif
Thanks alot man, I tried it and it worked fine. thanx again But there is a little performace issue, I am using DataModel and i loads whole of the data in it from the DataBase. Now this data can be up to thousands of records. Now this raises the memory issue, the server may ran out of

[jboss-user] [JBoss Seam] - Re: paginating a datamodel

2006-12-27 Thread hstang
The Query API may help. http://java.sun.com/javaee/5/docs/api/javax/persistence/Query.html | Query setFirstResult(int startPosition) | Set the position of the first result to retrieve. | | Query setMaxResults(int maxResult) | Set the maximum number of

[jboss-user] [JBoss Seam] - Re: paginating a datamodel

2006-12-27 Thread [EMAIL PROTECTED]
Look at EntityQuery in the Seam application framework. You can get a paginated query perfect for populating a datatable in just a few minutes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996461#3996461 Reply to the post :

[jboss-user] [JBoss Seam] - Re: paginating a datamodel

2006-12-27 Thread ask4saif
First of all thank you for your support, its very nice of you, The scenario on which I am working is, I want pagination which i have been able to do with the jenia's library. And i want grid facility in it, which is provided by the seam by using the @DataModel and @DataModelSelection. Now the