有没有办法动态设置selectManyCheckbox标题?在标题中,我想显示项目名称。
<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>发布于 2011-04-18 04:29:11
我认为这不适用于h:selectManyCheckbox,因为标题属性对于所有选择项都是相同的。
你可以尝试像jquery tooltip plugin一样的javascript,以便在客户端附加工具提示。
https://stackoverflow.com/questions/5691643
复制相似问题