(Quick Reference)

ui:fieldGroup

Purpose

A grouping container for a set of form elements. Typically equivalent to a <fieldset> but a UI Set may add extra structural markup.

Example

1
2
3
4
5
6
7
8
9
10
11
12
<ui:form controller="book">
  <ui:fieldGroup>
     <ui:field name="firstName"/>
     <ui:field name="lastName"/>
  </ui:fieldGroup>
  <ui:fieldGroup>
     <ui:field name="email"/>
  </ui:fieldGroup>
  <ui:actions>
    <ui:button type="submit">Save</ui:button>
  </ui:actions>
</ui:form>

Attributes

None. The body is used as the label content for the outer field tag.