org.apache.tapestry5.corelib.base.AbstractField

Provides initialization of the clientId and elementName properties. In addition, adds the org.apache.tapestry5.corelib.mixins.RenderInformals, org.apache.tapestry5.corelib.mixins.RenderDisabled and org.apache.tapestry5.corelib.mixins.DiscardBody mixins.

[JavaDoc]

Component Parameters

NameTypeFlagsDefaultDefault PrefixDescription
clientIdStringNOT Allow Nullprop:componentResources.idliteralThe id used to generate a page-unique client-side identifier for the component. If a component renders multiple times, a suffix will be appended to the to id to ensure uniqueness. The uniqued value may be accessed via the clientId property.
disabledbooleanNOT Allow NullfalsepropIf true, then the field will render out with a disabled attribute (to turn off client-side behavior). Further, a disabled field ignores any value in the request when the form is submitted.
labelStringNOT Allow NullliteralThe user presentable label for the field. If not provided, a reasonable label is generated from the component's id, first by looking for a message key named "id-label" (substituting the component's actual id), then by converting the actual id to a presentable string (for example, "userId" to "User Id").

Informal parameters: supported


Back to index