【问题标题】:JSF commandButton add custom attributes [duplicate]JSF commandButton添加自定义属性[重复]
【发布时间】:2015-01-02 04:58:10
【问题描述】:

我需要向 commandButton 添加自定义属性,此属性是工作引导模式所必需的,我使用 h:commandButton

data-toggle="modal" 
data-target=".bs-example-modal-lg" 

<button type="button" class="btn btn-success" data-toggle="modal" data-target=".bs-example-modal-lg" >
    <span class="glyphicon glyphicon-plus"></span> 
</button>    

【问题讨论】:

    标签: twitter-bootstrap jsf twitter-bootstrap-3 modal-dialog commandbutton


    【解决方案1】:

    有几种解决方案可以绕过 JSF 组件不呈现自定义 HTML 属性这一事实。

    请看这里:Custom HTML tag attributes are not rendered by JSF

    【讨论】:

      猜你喜欢
      • 2017-11-07
      • 2013-07-30
      • 2012-02-08
      • 2011-05-05
      • 2020-01-31
      • 2012-07-10
      • 2017-03-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多