Obviously it depends on whether you will ever need to do l10n.
The validation examples don't do it to keep the code shorter.

Otherwise of course it makes sense every string is localizable.
Whether you do it globally or per page/component is up to you.

Cheers,
Nick.


Robert A. Decker wrote:
I'm just starting out in Tapestry (WO developer since 3.51) Does everyone automatically create a .properties file for their pages/components and put their validation, messages, etc in there? Or is it more selective?

The tutorial gave some great examples of using the properties file for validation, messages, etc, but then looking at some of the other examples it looks like the validation is usually put right into the html... (for example, here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html)


R

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



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

Reply via email to