【问题标题】:Customizing the rich:dataScroller labels wont work自定义rich:dataScroller 标签不起作用
【发布时间】:2013-06-14 05:46:57
【问题描述】:

我使用的是富面孔 4.1.0,我确实想自定义 Rich:dataScroller。我尝试按以下方式进行操作,但标签仍显示为 谢谢!

 <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>

【问题讨论】:

    标签: jsf richfaces


    【解决方案1】:

    rich:dataScroller 具有 fastControls 作为其有助于实现这一目标的属性之一。

    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".
    

    可以在rich:dataScroller docs 中找到对此的解释。另见

    【讨论】:

    • 我试过这个添加 fastControls="hide",但运气不佳:(
    猜你喜欢
    • 1970-01-01
    • 2012-01-23
    • 2013-09-11
    • 1970-01-01
    • 1970-01-01
    • 2017-04-26
    • 2018-12-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多