Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The following page has been changed by CesarLesc:
http://wiki.apache.org/tapestry/Tapestry5HowToUseForms

The comment on the change is:
i18n

------------------------------------------------------------------------------
  
  All this has to be done because the Submit cannot add a context to the form 
(though ["Tapestry5SubmitContextComponent"] can) and the "selected" events must 
not return any objects (just void). The idea for this solution is from HLS (see 
[http://mail-archives.apache.org/mod_mbox/tapestry-users/200703.mbox/[EMAIL 
PROTECTED] HLS on mailing-list about multiple submits])
  
+ ==== Forms and Messages Resources (Internationalization) ====
+ You can customize the field's label and validation messages used in a form, 
providing the followings entries in the properties file for the page.
+ {{{
+ id-label=some label
+ }}}
+ where id is the id of some field (this does not override the label property 
of the field).
+ {{{
+ id-validator-message=validation message
+ }}}
+ where id is the id of some field and validator is the type of validator.
+ 
+ Examples
+ {{{
+   name-label=The Name
+   name-required-message=The Name is required.
+   age-min-message=The age must be greater or equal to %d
+ }}}
+ 
  ==== Forms and Names ====
  If you don't specify a name for the form, tapestry will generate a form whose 
name is the same as the id.
  {{{

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to