Tomahawk tag library 1.2.
Tag subform
A SubForm which will allow for partial validation
and model update.
A subform to an existing form. Inputs in this form will only be
validated and updated, if a t:commandButton or t:commandLink
has been clicked with an actionFor attribute which references
the client-id of this subform. Optionally, the validation will
trigger if a commandButton or commandLink embedded in this
subform has been clicked, except if this command is a
t:commandButton or t:commandLink with an actionFor attribute
which doesn't reference the client-id of this subform.
Components will be validated and updated only if
either a child-component of this form caused
the submit of the form, or an extended commandLink
or commandButton with the actionFor attribute set
to the client-id of this component was used.
You can have several comma-separated entries in
the actionFor-attribute - with this it's possible to
validate and update more than one subForm at once.
| Tag Information |
| Tag Class | org.apache.myfaces.custom.subform.SubFormTag |
| TagExtraInfo Class | None |
| Body Content | JSP |
| Display Name | None |
| Attributes |
| Name | Required | Request-time | Type | Description |
| preserveSubmittedValues | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean)
| true|false - set to false if you submit other subforms and would like to
have your subform reflecting any model update. Default: true |
| id | false | true | java.lang.String | Get a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer
component. The id is not necessarily unique across all components in the current view. |
| rendered | false | false | javax.el.ValueExpression
(must evaluate to boolean)
| A boolean value that indicates whether this component should be rendered.
Default value: true. |
| binding | false | false | javax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
| Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression. |
| Variables |
No Variables Defined. |
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.