org.apache.tapestry5.corelib.components.Label.xdoc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tapestry-core Show documentation
Show all versions of tapestry-core Show documentation
Central module for Tapestry, containing interfaces to the Java
Servlet API and all core services and components.
This demonstrates that the Label can come before
or after the form control element component (the TextField and Checkbox components).
When a Label has a body, that takes precendence over the field's label, though the field's
label is what's used in any error messages.
The Label component is very important for user accessibility. A user will be able to click
on the label to move the cursor into the corresponding field.
The Label component supports informal parameters; this can be very useful
for adding the
accesskey
attribute supported by most browsers.