Cool,
it's working now. Thanks Jason! :)
-----Mensagem original-----
De: Jason Carreira [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 28 de outubro de 2003 14:56
Para: [EMAIL PROTECTED]
Assunto: RE: [OS-webwork] new UI tags not getting i18nized?
De: Jason Carreira [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 28 de outubro de 2003 14:56
Para: [EMAIL PROTECTED]
Assunto: RE: [OS-webwork] new UI tags not getting i18nized?
That's
because getText is not called automatically anymore... It's like WW1.x now. If
you want the getText, you can use:
#tag(TextField
"label=text('cadastro.userName')" "name=text('cadastro.userName')")
You
can also implement your own templates to always do getText() for
you...
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 11:53 AM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] new UI tags not getting i18nized?
Howdy folks!
After I finished migrating to the new velocity UI tags, I found out that my labels are not being looked up in the properties files anymore:
#tag(TextField "label='cadastro.userName'" "name='cadastro.userName'")
#tag(Password "label='cadastro.senha'" "name='cadastro.usuario.senha'")
#tag(Password "label='cadastro.confirmeSenha'" "name='confirmeSenha'")
#tag(Submit "value='continuar'")