3 Replies Latest reply on May 3, 2009 5:32 AM by Nick Belaevski

    Rich data scroller is not enabling in modalpanel

    aboo salimon Newbie

      hi ,
      i am using data table in modalpanel... data scroller is not enabling if theres is more rows in table.


      <h:panelGroup id="listPanel" >
       <rich:dataTable id="guestslist" var="guest" value="#{guestLookup.guestsList}" width="100%" rows="20" rowClasses="rich-table-oddRow,rich-table-evenRow"
       columnClasses="align-left" rendered="#{guestLookup.guestsList != null}">
       <f:facet name="footer">
       <rich:datascroller maxPages="20" align="left" for="guestslist" boundaryControls="auto" fastControls="auto" stepControls="auto"/>
       </f:facet>
       <f:facet name="header">
       <rich:columnGroup>
       <h:column>
       <h:outputText value="Title" />
       </h:column>
       <h:column>
       <h:outputText value="First Name" />
       </h:column>
       <h:column>
       <h:outputText value="Last Name" />
       </h:column>
       <h:column>
       <h:outputText value="Address" />
       </h:column>
       <h:column>
       <h:outputText value="City" />
       </h:column>
       <h:column>
       <h:outputText value="State" />
       </h:column>
       <h:column>
       <h:outputText value="Country" />
       </h:column>
       <h:column>
       <h:outputText value="Zip" />
       </h:column>
       <rich:column width="10" styleClass="editColumn">
       <h:outputText value="Edit" />
       </rich:column>
       </rich:columnGroup>
       </f:facet>
       <h:column>
       <h:outputText value="#{guest.title.value}" />
       </h:column>
       <h:column>
       <a:commandLink action="#{guestLookup.selectAddressbook(guest)}" onclick="#{rich:component('guestLookUpDlg')}.hide()" reRender="#{guestLookup.lookupReRender}">
       <h:outputText value="#{guest.firstName}" />
       </a:commandLink>
       </h:column>
       <h:column>
       <a:commandLink action="#{guestLookup.selectAddressbook(guest)}" onclick="#{rich:component('guestLookUpDlg')}.hide()" reRender="#{guestLookup.lookupReRender}">
       <h:outputText value="#{guest.lastName}" />
       </a:commandLink>
       </h:column>
       <h:column>
       <h:outputText value="#{guest.address_1}" />
       </h:column>
       <h:column>
       <h:outputText value="#{guest.city}" />
       </h:column>
       <h:column>
       <h:outputText value="#{guest.state}" />
       </h:column>
       <h:column>
       <h:outputText value="#{guest.country.value}" />
       </h:column>
       <h:column>
       <h:outputText value="#{guest.zipCode}" />
       </h:column>
       <rich:column width="10" styleClass="editColumn">
       <a:commandLink
       action="#{guestLookup.editAddressBook(guest, 'guestslist')}"
       oncomplete="#{rich:component('addGuestDlg')}.show()"
       ajaxSingle="true" reRender="addGuestDlg">
       <h:graphicImage value="/images/edit.gif" title="Edit" />
       </a:commandLink>
       </rich:column>
       </rich:dataTable>
       </h:panelGroup>
      
      
      
      can u tell me where i did mistakes...???