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

    Facesmessage - jpdl

    rnicob

      Hi,

      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");


      view:

      <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)
      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=117882


      Does somebody know how to solve this?

      Thanks

        • 1. Re: Facesmessage - jpdl
          curtney

          I am having the same problem (one of the above mention post is mines). Has anyone of the more experience Seam developers encounterd this problem before and if so how did you resolve this.

          Perhaps this is a bug??

          Thanks inadvance,

          Curtney