1 Reply Latest reply on Nov 4, 2011 7:30 AM by Pavel Zelenka

    Datascroller and commandLink

    Pavel Zelenka Newbie



      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?




      <rich:dataTable id="table" value="#{VozidlaBean.vozidloList}" reRender="ds">
               <h:commandLink action="#{VozidlaBean.edit}" value="#{item.spz}">
                       <f:setPropertyActionListener value="#{item}"  target="#{VozidlaBean.vozidlo}" />
         <f:facet name="footer">
             <rich:datascroller id="ds" for="table" renderIfSinglePage="false" maxPages="5"/>