...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<@s.form action="updateAddress">
<@s.textfield label="Postal Code" name="postalCode" value="%{postalCode}"/>
...
</@s.form>
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<@s.form action="updateAddress">
<@s.textfield label="Postal Code" name="postalCode"/>
...
</@s.form>
|
...
Forms | The default ID is the action name. For example, "updateAddress". |
---|---|
Controls | The default ID is the form's name concatenated with the tag name. For example, "updateAddress_postalCode". |
Form labelposition propagation
When labelposition
attribute was defined for <s:form>
tag it will be propagated to all form elements, but if form element defines its own labelposition
it will take precedence over <s:form>
's attribute. Since 2.3.17.
Required Attribute
The required
attribute on many UI tags defaults to true only if you have client-side validation enabled, and a validator is associated with that particular field.
...