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

2008-02-13 Thread mygol
can you send me your code? my email:[EMAIL PROTECTED] thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129145#4129145 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129145

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

2008-02-05 Thread [EMAIL PROTECTED]
neilac333 wrote : My Seam action component has a listener method that handles the passing of the desired page number from the client to the search code, and this method takes a DataScrollerEvent parameter. This is an object unique to RichFaces. How can I test the overall function of my action

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

2008-02-04 Thread neilac333
I will try to write something up as soon as I can. In the meantime, I am curious about an ancillary aspect of all this--the testing. My Seam action component has a listener method that handles the passing of the desired page number from the client to the search code, and this method takes a

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

2008-02-03 Thread [EMAIL PROTECTED]
Create a page in the knowledge base http://alpha.seamframework.org:/Documentation/KnowledgeBase View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125868#4125868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125868

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

2008-02-02 Thread neilac333
Thanks to everyone for their insight. I have got something that seems to be working. I don't know if it is the most elegant code ever written, but I will be happy to write up the general solution on SeamFramework.org. Just let me know where, Pete. For those who might be interested, let me

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

2008-01-29 Thread neilac333
I've got the paging and sorting covered in a component that abstracts Hibernate Search's ability to handle all that. My first crack at this problem was to use two more Seam components: the first is an action component to interact with the user and the second to serve as my ExtendedDataModel

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

2008-01-29 Thread supernovasoftware.com
I have it working. I even passed in a map instead of an entities using select new Map() from MyEntity hibernate syntax. I will post some more code if anyone is interested. See My example http://www.jboss.com/index.html?module=bbop=viewtopict=125952 Scroller Reset Solution

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

2008-01-29 Thread [EMAIL PROTECTED]
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

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

2008-01-25 Thread neilac333
As I keep studying Pete's seamdiscs code, I feel less confident about how much I can really use beyond concepts. I understand the seamdiscs example is meant to highlight the Seam CRUD application framework, but as a result I think a lot of the data model integration doesn't apply to my case.

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

2008-01-25 Thread brachie
@neilac333: I think it is a good idea that someone focuses on a generic database backed pagination for the Richfaces datatable. Unfortunately I had no time to do so and ended up in using Trinidads table (for our project sorting and paging is needed) with in-memory pagination/sorting, because

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

2008-01-25 Thread neilac333
So I have done some research, and I have found that it actually isn't the rich:datascroller I should be focusing on but rather the rich:dataTable to which it is bound. It appears to me I need to do two things. First, I need to write my own DataModel. It seems I am supposed to use the

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

2008-01-24 Thread neilac333
Thanks, Alexander. I actually caught that before. It is true that the approach you directed me to isn't the same as writing my own component, but man is it a lot of code! Besides, even if I were to create my own DataModel, I am currently using the @DataModel and @DataModelSelection

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

2008-01-24 Thread [EMAIL PROTECTED]
You should be able to write some integration code to back the datascroller onto your component. See for example the code I wrote to do this in Trinidad (in org.jboss.seam.trinidad in the seamdiscs example) View the original post :

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

2008-01-23 Thread brachie
Hi, have a look here: http://www.jboss.com/index.html?module=bbop=viewtopicp=4112998 Regards, Alexander View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122827#4122827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122827