Title: (oops...) 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'")

In my com/opensymphony/xwork/ActionSupport.properties file, I've got:

cadastro.userName=Nome do Usuário
cadastro.senha=Senha
cadastro.confirmeSenha=Confirme sua senha

If I switch to a WebWork JAR from a few days ago, it works, so now I don't know what's wrong. Maybe the components should call $stack.findValue("getText('$parameters.label')") instead of just using $!parameters.label?

Cheers,
-cv

Reply via email to