[英]JSF <h:selectManyCheckbox> check box editable issue
I want to make my checkboxes non editable dynamically using <h:selectManyCheckbox>
. 我想使用<h:selectManyCheckbox>
使我的复选框不可编辑。 I have set editable="true"
property in my code. 我在代码中设置了editable="true"
属性。 But this is working inconsistently. 但这是不一致的。 Could you please help me in resolving this issue. 您能帮我解决这个问题吗?
您需要在onclick
上return false
。
<h:selectManyCheckbox onclick="return false;">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.