JSF可以直接以方法作为属性值

来源:互联网 发布:指南针炒股软件好用吗 编辑:程序博客网 时间:2024/05/17 23:06
<p:commandButton id="confirm" disabled="#{registerView.checkAgreeProtocol()}" action="index"  value="确认注册" icon="ui-icon-check"></p:commandButton>
disabled="#{registerView.checkAgreeProtocol()}":直接以方法作为属性值

0 0
原创粉丝点击