0 Replies Latest reply on Sep 2, 2012 10:16 PM by huahsin68

    How to remove << and >> of a data scroller and align to right?

    huahsin68

      I am using RichFaces 4, and have a data scroller code like this:

       

      <rich:dataScroller align="right" for="dataTable">
        <f:facet name="first" >
          <h:outputText value="First" />
        </f:facet>
        <f:facet name="last">
          <h:outputText value="Last" />
        </f:facet>
        <f:facet name="previous">
          <h:outputText value="Previous" />
        </f:facet>
        <f:facet name="next">
          <h:outputText value="Next" />
        </f:facet>
      </rich:dataScroller>
      

       

      I see there are six buttons like below:

       

      First | << | Previous | Next | >> | Last

       

      My question:

      1. How could I remove the '<<' button, and '>>' button?
      2. How could I convert these buttons into text style? Meaning I like to see a hyperlink on the text rather than a button.
      3. How could I align these button to the right of the page?

       

      THanks @!