[jboss-user] [JBoss Seam] - Facesmessage - jpdl

rnicob do-not-reply at jboss.com
Wed Sep 5 06:32:17 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081243#4081243

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081243



More information about the jboss-user mailing list