2 Replies Latest reply on Jun 26, 2007 6:17 PM by slawek t

    How to reach validation messages with EL

    slawek t Novice


      To perform validation we can use , and tags in JSF but how to reach validation messages for appropriate form objects with EL (jboss-el), eg.:

      this is the one of the common ways:

      <h:inputText id="textId" value="#{text}" />
      <h:message for="textId" />

      I'd like to have something like this:
      <h:inputText id="textId" value="#{text}" />
      <h:graphicImage alt="#{validation_message_for_textId}" url="img/pic.gif" />

      Is it possible in any way?