6 Replies Latest reply on Jul 31, 2009 3:33 PM by Israel Fonseca

    Hibernate Validator {0}

    Israel Fonseca Apprentice

      I'm trying to use the {0} in my bundles, to put the parameter on my components with the label attribute, but it's not working.


      Bundle:


      validator.notEmpty={0} : não pode ser nulo ou vazio 



      Component:


      <h:inputText id="nomeEstado" styleClass="input medium_field" value="#{manterEstado.estado.nome}" label="Nome"/>
      



      The message show is:



      {0} : não pode ser nulo ou vazio

      What am I missing?


      I'm using JBoss 4.2.3, and the Hibernate Validator is the default one that come with the server.