Question

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 ?

Was it helpful?

Solution

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>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top