This content has been marked as final.
Show 4 replies
-
1. Re: Change in for attribute of datascroller in 3.2.0.GA
alankstewart Apr 1, 2008 5:29 AM (in response to alankstewart)The subject of this thread got wiped out. It was meant to read
Change in for attribute of datascroller in 3.2.0.GA -
2. Re: Change in
mars1412 Apr 1, 2008 6:19 AM (in response to alankstewart)similar problem - this code does not work any longer in 3.2.0.GA
<h:form id="countryListForm"> <h:outputText value="#{messages['no_data_found']}" rendered="#{empty countryList.resultList}" /> <h:dataTable id="countryList" var="country" value="#{countryList.resultList}" rows="10" rendered="#{not empty countryList.resultList}"> <f:facet name="header"> <rich:datascroller id="countryListDataScroller" for="countryList" align="left" maxPages="5"/>
I also have problems with explicit id of h:form:<h:form id="myForm> <h:outputText value="#{messages['no_data_found']}" rendered="#{empty countryList.resultList}" /> <h:dataTable id="countryList" var="country" value="#{countryList.resultList}" rows="10" rendered="#{not empty countryList.resultList}"> <f:facet name="header"> <rich:datascroller id="countryListDataScroller" for="myForm:countryList" align="left" maxPages="5"/>
gives me an illegal argument exception:java.lang.IllegalArgumentException: myForm at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:588) at org.ajax4jsf.renderkit.RendererUtils.findComponentFor(RendererUtils.java:849) at org.richfaces.component.UIDatascroller.getDataTable(UIDatascroller.java:214) at org.richfaces.component.UIDatascroller.getPageCount(UIDatascroller.java:333)
-
3. Re: Change in
alankstewart Apr 1, 2008 3:44 PM (in response to alankstewart)JIRA issue raised http://jira.jboss.com/jira/browse/RF-2923
-
4. Re: Change in
ilya_shaikovsky Apr 2, 2008 4:57 AM (in response to alankstewart)thanks! will be examined.