1 Reply Latest reply on Sep 1, 2008 5:55 AM by Ilya Shaikovsky

    RichFaces Up/Down icon is not showing?

    Khilesh Prasad Newbie

      Hi Everyone,
      i tried to use richData table for column sorting, its working fine but defaut icon is not showing when page is loaded like richfaces. Any one help me how to richfaces default icon...................

      <h:form>
      
       <rich:dataTable value="#{capitalsBean.capitals}" var="cap" width="300px" columnClasses="center"
      
       rows="25">
      
       <f:facet name="header">
      
       <h:outputText value="Sorting Example"/>
      
       </f:facet>
      
       <rich:column sortBy="#{cap.state}">
      
       <f:facet name="header">
      
       <h:outputText value="State Name"/>
      
       </f:facet>
      
       <h:outputText value="#{cap.state}"/>
      
       </rich:column>
      
       <rich:column sortBy="#{cap.name}">
      
       <f:facet name="header">
      
       <h:outputText value="State Capital"/>
      
       </f:facet>
      
       <h:outputText value="#{cap.name}"/>
      
       </rich:column>
      
       <rich:column>
      
       <f:facet name="header">
      
       <h:outputText value="Time Zone"/>
      
       </f:facet>
      
       <h:outputText value="#{cap.timeZone}"/>
      
       </rich:column>
      
       </rich:dataTable>
      
       </h:form>