-
1. Re: rich:dataTable rich:datascroller ExtendedDataModel
bgregory Mar 20, 2009 8:45 AM (in response to bgregory)Answered my own question: Apparently I had the pager control set to ajaxSingle="false". Unfortunately I needed this in order to keep filtering state with a request scope backing bean.
How does one keep the filter/sort state without this side-effect? -
2. Re: rich:dataTable rich:datascroller ExtendedDataModel
bgregory Mar 20, 2009 9:38 AM (in response to bgregory)Ok, more strange behavior - when attempting to do filtering as described in the demo, entering a value in the filter causes the walk() method to be called 4 times.
Can someone explain this please? -
3. Re: rich:dataTable rich:datascroller ExtendedDataModel
bgregory Mar 20, 2009 9:44 AM (in response to bgregory)13:42:57,028 INFO [BaseEDM] [http-127.0.0.1-8080-1] walk(0,20) [org.ajax4jsf.component.UIDataAdaptor] 13:42:59,890 INFO [BaseEDM] [http-127.0.0.1-8080-1] walk(0,20) [org.ajax4jsf.component.UIDataAdaptor] 13:43:02,994 INFO [BaseEDM] [http-127.0.0.1-8080-1] walk(0,20) [org.ajax4jsf.component.UIDataAdaptor] 13:43:05,707 INFO [BaseEDM] [http-127.0.0.1-8080-1] getRowCount() 13:43:05,829 INFO [BaseEDM] [http-127.0.0.1-8080-1] getRowCount() 13:43:05,832 INFO [BaseEDM] [http-127.0.0.1-8080-1] getRowCount() 13:43:05,834 INFO [BaseEDM] [http-127.0.0.1-8080-1] walk(0,20) [org.ajax4jsf.component.UIDataAdaptor]
-
4. Re: rich:dataTable rich:datascroller ExtendedDataModel
nbelaevski Mar 20, 2009 10:02 AM (in response to bgregory)Hello,
The first tree walks are executed for 2nd-4th phases (request processing) and the 4th is executed on the 6th phase (data table is rendered). -
5. Re: rich:dataTable rich:datascroller ExtendedDataModel
nbelaevski Mar 20, 2009 10:02 AM (in response to bgregory)Sorry, should be: the first three walks
-
6. Re: rich:dataTable rich:datascroller ExtendedDataModel
bgregory Mar 20, 2009 10:08 AM (in response to bgregory)So how do I keep it from re-querying the database for the first 3 phases - esp, since I know I just going to replace the data from the database every time anyway?