[jboss-user] [JBoss Seam] - display an error message on form validation
JeJe47
do-not-reply at jboss.com
Mon Aug 20 05:52:30 EDT 2007
Hi,
Usually I use this to display my messages:
| <f:facet name="afterInvalidField">
| <s:div styleClass="errors">
| <s:message />
| </s:div>
| </f:facet>
|
but now I don't want to display the messages after each fields but in a place designed to this in my website (on the top of the site). This place is always rendered and the code is included in an other xhtml file (to avoid to duplicate the code in each forms).
I've tried to use the <s:message /> tag in my other xhtml file but no messages appears.
So my question is : Can I use the <s:validateAll /> tag in one xhtml file and display error messages in an other xhtml file (included in the website with the <ui:include src="file.xhtml" /> tag)?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075734#4075734
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075734
More information about the jboss-user
mailing list