1 Reply Latest reply on Sep 5, 2007 12:15 PM by Curtney Jacobs

    Facesmessage - jpdl

    rnicob Newbie


      While having a pageflow managed with jpdl, adding a message to a specific control doesn't work.

      in the bean:

      facesMessages.addToControl("email","Email already exists");


      <h:outputLabel for="email" value="Email"/>
      <h:inputText id="email" value="#{ent_emailaddress.emailAddress}"/>
      <h:message for="email"/>

      - if a validator fails (@Pattern for example), the message is correctly displayed
      - it works if I manage the workflow with the pages.xml
      - the message is displayed with <h:messages />

      I'm using SEAM 1.2.1 with JBOSS 4.0.5

      I saw 2 posts unanswered for the same problem:
      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=110376 (last post of this topic)

      Does somebody know how to solve this?