2 Replies Latest reply on Jan 24, 2012 7:02 AM by kirillica

    rich:dataScroller in rich:popupPanel

    kirillica

      Hi there,

       

      I'm using RichFaces 4.0.1 and here is a problem I've got.

       

      Search results are displayed in rich:popupWindow using rich:dataTable. And everything is thin except... paging. On page choose I've got ERR_FORM JS exception. To be more concrete:

      B=C.fuzzyFormDetection(A.getEventTarget(D));if(!B){throw Error(A.getMessage("ERR_FORM"))

      Code structure is very simple and "straight forward":

      <ui:composition>
           <h:form id="formSearch">
      ...
                <rich:popupPanel id="resultList" modal="true" autosized="true">
      ...
                     <rich:dataTable id="personalSearchResults"
                          rows="#{personSearchDataModel.numberOfRows}" width="100%" border="0"
                          cellspacing="0" cellpadding="0" styleClass="datatable"
                          value="#{personSearchDataModel}" var="person"
                          onRowMouseOver="this.style.backgroundColor='#FFFFFF'"
                          onRowMouseOut="this.style.backgroundColor='#F8F8F8'">
      ...
                     </rich:dataTable>
      
                     <rich:dataScroller id="ds" for="personalSearchResults"
                          render="personalSearchResults" maxPages="10" fastControls="hide"
                          boundaryControls="hide" renderIfSinglePage="true">
                     </rich:dataScroller>
      
                </rich:popupPanel>
           </h:form>
      </ui:composition>

      So what is wrong here? And how to make dataScroller work in popuPanel?

       

      Thanks in advance,

      Kirill