[jboss-user] [JBoss Seam] - Re: Validation in Restful mode
gavin.king@jboss.com
do-not-reply at jboss.com
Mon May 28 14:12:11 EDT 2007
Currently Seam has no validation for page parameters, but I agree that it would be a very-nice-to-have, and easy to implement. So my question really is: exactly what should actually *happen* when page parameter validation fails?? It's not like we can redisplay the form with error messages ;-)
Options:
* set validation.succeeded to false (allowing you to skip the page action) and add the validation messages to the page?
* add the validation messages to the page and then redirect to some view-id defined in pages.xml?
* throw an exception that you can handle in pages.xml?
I can see good arguments for each one...
Please create an issue in JIRA for this, and let's kick off discussion in this thread - I really don't know what is the best option....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049111#4049111
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049111
More information about the jboss-user
mailing list