开发者

How to set SelectManyCheckbox title dynamically JSF2

开发者 https://www.devze.com 2023-02-25 03:41 出处:网络
Is there any way to set selectManyCheckbox title dynamically ? In title I want to show Item name . <h:selectManyCheckbox id=\"sType\" value=\"#{studentBean.optionalsubjects}\" converter=\"subjectC

Is there any way to set selectManyCheckbox title dynamically ? In title I want to show Item name .

<h:selectManyCheckbox id="sType" value="#{studentBean.optionalsubjects}" converter="subjectConverter" required="true">
   <f:selectItems value="#{subjectBean.oplist}" var="sType" itemLabel="#{sType.deta开发者_JAVA技巧il}" itemDescription="#{sType.detail}" />
</h:selectManyCheckbox>


I think this won't work with h:selectManyCheckbox since the title attribute is the same for all select items.

You could try javascript like the jquery tooltip plugin in order to attach tooltips on client side.

0

精彩评论

暂无评论...
验证码 换一张
取 消