-
1. Re: Control multiple datascrollers on a page
martinjozef Jun 25, 2008 10:37 AM (in response to martinjozef)Let me also share with you how the page looks like by adding this picture link
http://picasaweb.google.com/Martin.Jozef/TechnologyScreenshots/photo#5215825981990913602
I personally like to have a clear visual picture of the use case. -
2. Re: Control multiple datascrollers on a page
martinjozef Jun 26, 2008 11:51 AM (in response to martinjozef)I am working with 3.1.4 GA version of Rich Faces as i cannot update to any later release due to apache myfaces 1.2.3 incompatibilities.
So i cannot even check if this misbehavior is fixed in the latest releases. -
3. Re: Control multiple datascrollers on a page
martinjozef Jun 30, 2008 8:58 AM (in response to martinjozef)This is my response from an advice that ilya_shaikovsky gave me.
So i modified my business bean like thispublic class PmPropertyClass implements Serializable{ private static final long serialVersionUID = -3383612935141196217L; private String propertyName; private BigDecimal value; private List<PmPropertyItem> items; private Extension extension; private boolean selected; private int index=0; ......
The index variable is for the scroller page attribute<f:facet name="footer"> <rich:datascroller id="scroller" page="#{propertyClass.index}" align="center" ajaxSingle="false" /> </f:facet>
However the attribute binding has no effect at all.
the setter and getter for index does not get called at anytime from the datascroller while navigating.
Can it be that the page attribute is not functional in 3.1.4 GA release ? -
4. Re: Control multiple datascrollers on a page
martinjozef Jul 7, 2008 1:37 PM (in response to martinjozef)my Latest discovery on this topic is that multiple datascrollers still do not work as expected on 3.2.0SR1. I can see that there was work done on them since 3.1.4 but not to an extent that would fulfill our usecase illustrated on the image i posted earlier.
i get an message like this :UIDatascrolle W org.richfaces.component.UIDatascroller setupFirstRowValue Datascroller appTabForm:propertyGrid:propertyItemsTable:-1:j_id212: The requested page #0 isn't found in the model containing 1 pages. Paging is reset to page #1