facelets - JSF f:selectItems value partially bold -


this checkboxes:

<h:selectmanycheckbox style="font-size: 8pt; text-align: left" id="inputgroupidboxes" layout="pagedirection" value="#{pc_designersinterface.selectedinputgroupids}" rendered="#{pc_designersinterface.showinputgroup}">                      <f:selectitems value="#{pc_designersinterface.inputgroupids}" />                 </h:selectmanycheckbox> 

and backbean:

inputgroupids.add(new selectitem(st.nexttoken().trim(),"<b>--</b>" + grpfieldids.get(g).trim())); 

but don't bold -- in check box. doing wrong? thanks.

you can set escape of selectitem constructor:

new selectitem(st.nexttoken().trim(),"<b>--</b>" + grpfieldids.get(g).trim(),      null, false, true) 

here signature new selectitem(value, label, description, disabled, escape)


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -