2 Replies Latest reply on Mar 20, 2007 3:31 PM by mugwump

    Overriding default jsf-messages in messages.properties

    mugwump

      Can I use the message.properties to override the jsf-default-messages?! I added

      javax.faces.component.UIInput.REQUIRED=Please enter a nice value for this field.


      to my messages.properties, but I''m still getting getting the default-message for a h:inputText with required="true".

      Is this supposed to be working (it works fine for the validator-messages, though. Adding a validator.assertFalse=Totally wrong assertion overwrites the default).

      Any hints what I am doing wrong?!

      Cheers
      stf