This content has been marked as final.
Show 3 replies
-
1. Re: can't get datascroller facets to work...
henrik.lindberg Apr 4, 2007 7:05 PM (in response to henrik.lindberg)naturally it is called "datascroller" and not "dataScroller" etc... my mistake when typing the message above - it is correct in my code...
-
2. Re: can't get datascroller facets to work...
henrik.lindberg Apr 4, 2007 8:02 PM (in response to henrik.lindberg)Tried it with the latest 3.0.1 snapshot - and that did not work either....
<rich:datascroller for="result_list" maxPages="9" id="paginator" renderIfSinglePage="false" > <f:facet name="first"> <h:outputText value="F"/> </f:facet> <f:facet name="last"> <h:outputText value="L"/> </f:facet> <f:facet name="next"> <h:outputText value="N"/> </f:facet> <f:facet name="previous" > <h:outputText value="P"/> </f:facet> </rich:datascroller> produces a very surprising result - the "first" and "last" are not rendered at all, and the "next" and "previous" have the default << and >> text... confused....
-
3. Re: can't get datascroller facets to work...
ilya_shaikovsky Apr 5, 2007 6:59 AM (in response to henrik.lindberg)Todays SNAPSHOT:
<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="10"> <rich:column> <h:outputText value="#{cap.name}"></h:outputText> </rich:column> <f:facet name="footer"> <rich:datascroller> <f:facet name="first"> <h:outputText value="first"></h:outputText> </f:facet> <f:facet name="last"> <h:outputText value="last"></h:outputText> </f:facet> <f:facet name="next"> <h:outputText value="N"/> </f:facet> <f:facet name="previous" > <h:outputText value="P"/> </f:facet> </rich:datascroller> </f:facet> </rich:dataTable>
produce me on a page all the custom labels I write (all the cases through 'for' attribute and defined in footer).
So check please your code once again.
B.t.w. seems like there is another bug http://jira.jboss.com/jira/browse/RF-74. So thanks for your submit.