Reputation: 437
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.detail}" itemDescription="#{sType.detail}" />
</h:selectManyCheckbox>
Upvotes: 1
Views: 1495
Reputation: 30025
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.
Upvotes: 1