1 2 Previous Next 17 Replies Latest reply on Mar 9, 2011 8:33 AM by ram ram

    JS function is not working

    ram ram Newbie

      Dear All,

       

      I m facing a problem with JS function in <rich:dataTable> on page flipping the JS function is not working anymore it works only on first page of the table. any help is appreciated

       

      below is a the code :

       

      <rich:dataTable value="#{documentUploadBB.selectedDocument.attachedFilesLst}" var="file" id="filesTbl">

               <rich:column>

                     <f:facet name="header">

                             <h:outputText value="" />

                      </f:facet>

                  <h:selectOneRadio value="" onclick="selectOneRadio(this)" id="checked">

                        <f:selectItem itemValue=""/>

                           <a4j:support event="onmousedown" reRender="specificPriviliegesPanel,roleList,documentUsersModal"                                                        action="#{documentUploadBB.selectFile}">

                                            <f:setPropertyActionListener value="#{file}" target="#{documentUploadBB.selectedFile}"/>

                            </a4j:support>

                           </h:selectOneRadio>

              </rich:column>

                       .

                      .

                      ........................................   

       

             <f:facet name="footer">

                                                                                                                                                                                <rich:datascroller align="center" for="filesTbl" renderIfSinglePage="false" id="filesDS" />

             </f:facet>

      </rich:dataTable>

        1 2 Previous Next