user1266343
user1266343

Reputation: 177

Customizing the rich:dataScroller labels wont work

Im using rich faces 4.1.0 and i do want to customize the rich:dataScroller. I tried doing it in the below way, but still the labels displays as <<<< and <<. Any one knows the solution for this
Thanks!

 <rich:dataScroller maxPages="20">
    <f:facet name="first">
        <h:outputText value="First"/>
    </f:facet>
    <f:facet name="last">
        <h:outputText value="Last"/>
    </f:facet>
    <f:facet name="next">
        <h:outputText value="Next"/>
    </f:facet>
    <f:facet name="previous">
        <h:outputText value="Previous"/>
    </f:facet>
</rich:dataScroller>

Upvotes: 0

Views: 459

Answers (1)

Vikas V
Vikas V

Reputation: 3196

rich:dataScroller has fastControls as one of its attributes which helps in achieving this.

The attribute specifies the visibility of fastControls. Possible values are: "show"    
(controls are always visible ). "hide" (controls are hidden. "auto" (unnecessary controls   
are hidden). Default value is "show".

Explanation for this can be found in rich:dataScroller docs. See also

Upvotes: 0

Related Questions