[jboss-user] [JBoss Seam] - @RequestParameter issue

Sammy8306 do-not-reply at jboss.com
Tue May 1 07:10:14 EDT 2007


I'm trying to create a nice user experience for pages that require requestparameters. However, when a value passed in a parameter is not convertible to the type it is injected into (I'm using Longs), Seam throws an exception, redirecting me to the debug page. Can I catch this exception somehow in an @Create method? 
Ofcourse I could make all my RequestParams String and handle the conversion myself, but hey...

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

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



More information about the jboss-user mailing list