myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Torrefranca <storrefra...@branders.com>
Subject hiding selectOneRadio label
Date Wed, 14 Mar 2007 17:38:49 GMT
how do we hide the label of selectOneRadio or any component that uses 
selectItems?  the List used in selectItems is a static List where values 
and labels are preloaded.  In some pages I would like to hide the label 
for these radio/checkboxes and put the labels on a facet.  Example

yes no  maybe
[]   []   []            do you like the color pink?
[]   []   []            are you color blind?


<t:selectOneRadio value="#{questions.answers}" >
    <f:selectItems value="#{questions.selectItems}"/>
</t:selectOneRadio>


-Steve

Mime
View raw message