Hi,
I'm facing strange bahvior of rich:datascroller. I have rich:dataTable and on of the columns contains h:commandLink.
VozidlaBean is request scope. It's JSF 1.2 and RichFaces 3.3.3
Problem is that commandLink does'n work when other then the 1st page is showed. In that case click on commandLink doesn't fire action and instead of that it only causes showing the 1st page.
Can anybody help?
Thanks
<rich:dataTable id="table" value="#{VozidlaBean.vozidloList}" reRender="ds"> ... <rich:column> <h:commandLink action="#{VozidlaBean.edit}" value="#{item.spz}"> <f:setPropertyActionListener value="#{item}" target="#{VozidlaBean.vozidlo}" /> </h:commandLink> </rich:column> <f:facet name="footer"> <rich:datascroller id="ds" for="table" renderIfSinglePage="false" maxPages="5"/> </f:facet> </rich:dataTable>
The strange behavior was caused by this parameter in web.xml
<context-param> <param-name>facelets.BUILD_BEFORE_RESTORE</param-name> <param-value>true</param-value> </context-param>