Group Box in IceFaces

1k Views Asked by At

I want to achieve something like this in Icefaces. HTML has a legend tag which helps. Is there any way to use that tag in IceFaces ? If not, how can we do this in IceFaces ?

1

There are 1 best solutions below

3
On BEST ANSWER

The fieldset element just represents a set of form controls, you can do this:

<fieldset>
    <legend>Display:</legend>
    <h:selectOneRadio value="#{saveDVDBean.title}">
        <f:selectItem itemValue="gf1" itemLabel="GodFather I" />
        <f:selectItem itemValue="gf2" itemLabel="GodFather II" />
        <f:selectItem itemValue="gf3" itemLabel="GodFather III" />
    </h:selectOneRadio>
</fieldset>