2 Replies Latest reply on Mar 28, 2006 9:12 AM by epbernard

    Dynamic Messages

    dahm

      Hi,

      this may sound exotic, but I remember I could do this with Struts Actions
      ... :-)

      Image I've got a validator tag set an attribute, say @Length
      How would I output the concrete value just being validated, i.e. I'd like to have
      some output in the browser like

      length must be between 5 and 10. Your input was "3"

      I remember that you could have placeholder values
      in messages like
      validator.message=Value for {0} must be a value between {min} and {max}

      How can I specify such placeholders and even more important how
      can i fill them in?

      Cheer
      Markus