I checked out the CVS head and saw your modifications.  Then I complied my 
project against the new seam jar and included it with my project I cannot get 
any messages to appear from either the annotations or using your modification 
as shown below.  Going back to the old jar solves the problem.

Not even with <h:messages/>


  | @In(create=true)
  | FacesMessages facesMessages;
  | 
  | ...
  | 
  | facesMessages.add("nameFirst", new FacesMessage("Test Gavin's new component 
messages"));
  | 

I have
 
  |         <h:inputText value="#{member.nameFirst}" id="nameFirst" />
  |         <h:message for="nameFirst"/>
  |   

 in my page.

1.  Am I using the method properly?
2.  If I do multiple validations and add a message for each one, how can I 
check the size of FacesMessages in order to decide if I should proceed or 
redirect back to form?

 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to