| org.apache.tapestry.Field
All known Subclasses: org.apache.tapestry.corelib.base.AbstractField, org.apache.tapestry.corelib.components.Radio,
Method Summary | |
String | getElementName() Returns the value used as the name attribute of the rendered element. | String | getLabel() Returns a user presentable (localized) label for the field, which may be used inside
<label> elements on the client, and inside client or server-side validation error
messages. | boolean | isDisabled() Returns true if the field is disabled; A disabled field will render a disabled attribute so
that it is non-responsive on the client (at least, until its disabled status is changed on
the client using JavaScript). |
getElementName | String getElementName()(Code) | | Returns the value used as the name attribute of the rendered element. This value will be
unique within an enclosing form, even if the same component renders multiple times.
|
getLabel | String getLabel()(Code) | | Returns a user presentable (localized) label for the field, which may be used inside
<label> elements on the client, and inside client or server-side validation error
messages.
the label |
isDisabled | boolean isDisabled()(Code) | | Returns true if the field is disabled; A disabled field will render a disabled attribute so
that it is non-responsive on the client (at least, until its disabled status is changed on
the client using JavaScript). A disabled field will ignore any value passed up in a form
submit request. Care must be taken if the disabled status of a field can change between the
time the field is rendered and the time the enclosing form is submitted.
|
|
|