Em Wed, 22 Oct 2008 06:54:33 -0300, Stephane Decleire <[EMAIL PROTECTED]> escreveu:

But with the following piece of code, the result is the hardcoded
"Firstname" string. Localization of the string did not occured ...
<t:label for="firstname">Firstname</t:label><input t:type="TextField"
t:id="firstname" ... />

This is how the Label component works: if you provide a body, it uses that body and doesn't use the internationalized label. I don't think this is a good idea because it breaks the component's previewability.

Tapestry CRUD has a Label component that works like you (and me) expect: http://www.arsmachina.com.br/maven/tapestry-crud/ref/br/com/arsmachina/tapestrycrud/components/ImprovedLabel.html.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to