Constructor
new Fieldset(name)
Constructs a new Fieldset instance
Parameters:
Name | Type | Description |
---|---|---|
name |
String | The name of the fieldset |
- Source:
Returns:
A newly created Fieldset instance
Members
components
Contains a map of all component objects of this fieldset
- Source:
Methods
addComponent(component)
Adds a component to this jala.Form.Component.Fieldset instance
Parameters:
Name | Type | Description |
---|---|---|
component |
jala.Form.Component.Input |
- Source:
containsFileUpload()
Returns true if this instance of jala.Form.Component.Fieldset
contains at least one component doing a file upload.
- Source:
- See:
getLegend()
Returns the legend of the fieldset.
- Source:
Returns:
legend
listComponents()
Returns an array containing the components
of this jala.Form.Component.Fieldset instance.
- Source:
Returns:
The components of this jala.Form instance.
render()
Renders all components within the fieldset.
- Source:
save(tracker, destObj)
Saves all components within the fieldset.
Parameters:
Name | Type | Description |
---|---|---|
tracker |
jala.Form.Tracker | |
destObj |
Object |
- Source:
setLegend(newLegend)
Sets the legend text.
Parameters:
Name | Type | Description |
---|---|---|
newLegend |
String | legend to use when printing the fieldset. |
- Source:
validate(tracker)
Validates all components within the fieldset.
Parameters:
Name | Type | Description |
---|---|---|
tracker |
jala.Form.Tracker |
- Source: