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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...