x:fieldSet

The x:fieldSet tag provides JSF developers with the ability to create HTML field sets. A x:fieldSet tag contains an optional x:legend and any combination of additional JSF tags (including custom JSF tags).


Inherited Attributes
Core Attributes inherited from AbstractTag

Example

<x:fieldSet>
  <x:legend>
    <x:outputLabel value="Background Color"/>
  </x:legend>
  <h:selectOneRadio value="#{Preferences.background}">
    <f:selectItem itemValue="b" itemLabel="Blue"/>
    <f:selectItem itemValue="g" itemLabel="Green"/>
    <f:selectItem itemValue="r" itemLabel="Red"/>
  </h:selectOneRadio>
</x:fieldSet>

The preceeding example produces the following field set.

Background Color
Blue
Green
Red