You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by id...@apache.org on 2008/10/01 16:21:44 UTC
svn commit: r700783 - /myfaces/tobago/trunk/src/site/apt/guide.apt
Author: idus
Date: Wed Oct 1 07:21:43 2008
New Revision: 700783
URL: http://svn.apache.org/viewvc?rev=700783&view=rev
Log:
more infos for the in tag
Modified:
myfaces/tobago/trunk/src/site/apt/guide.apt
Modified: myfaces/tobago/trunk/src/site/apt/guide.apt
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/guide.apt?rev=700783&r1=700782&r2=700783&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/apt/guide.apt (original)
+++ myfaces/tobago/trunk/src/site/apt/guide.apt Wed Oct 1 07:21:43 2008
@@ -181,9 +181,17 @@
The <<<value>>> attribute refers the content of the control. If a value binding is used, this content can be written
back into a bean property.
- The <<<label>>> attribute generates the textual description for the control. If you
- utilize a value binding to a resource bundle declared by a <<<\<tc:loadBundle\>>>> tag, you automatically get
- localization for the text labels.
+ The <<<label>>> attribute generates the textual description for the control. The theme decides how the label is
+ actually rendered, for example it assigns a default width. This width can be overwritten with the <<<labelWidth>>>
+ attribute. If you utilize a value binding to a resource bundle declared by a <<<\<tc:loadBundle\>>>> tag, you
+ automatically get localization for the text labels. An underscore in the label transforms the following
+ character into an access key. The theme normally underlines the access key to make this circumstance visible to
+ the user. The access key can be used to quickly focus the related input control by pressing <<<Alt>>> in combination
+ with the access key.
+
+ If the control is marked as <<<required>>> the respective validation takes place. Additionally, the theme tries to
+ visualize this fact. Speyside renders a small check mark icon inside the field, which vanishes if the field
+ contains any data.
For more information about the possible attributes of an input tag see the TLD documentation for
{{{http://myfaces.apache.org/tobago/tobago-core/tlddoc/tc/in.html}<<<\<tc:in\>>>>}} and