3 Replies Latest reply on Sep 24, 2008 4:15 AM by Ingo Jobling

    Parameter replacement in Hibernate Validator messages

    Ingo Jobling Master

      Is it possible to include the label associated with the input in resource bundle messages?

      For example, for a JSF validation, {0} is replaced by the value of the label corresponding to the input

      javax.faces.component.UIInput.REQUIRED={0} : Value is required

      However, this does not seem to work for Hibernator Validator messages.  EL expressions can be used, but is there an  EL expression that corresponds to the value of the label for the input?

      I have searched this forum and the Seam Jira, and found JBSEAM-1262, which seems to be for a similar requirement.

      Any help or suggestions for a workaround would be greatly appreciated!