Re: onActivate UnknownValueException

2013-05-06 Thread Andreas Fink
Hi Jens. I think it depends on what you want to do after finding out that you cannot coerce the parameter. If you want to redirect to another page the logic should still be in the page class or maybe a T5-RequestFilter where you can move that logic/redirection code to. If you want to rewrite

onActivate UnknownValueException

2013-05-04 Thread Jens Breitenstein
Hi All! I use an enum as activation context parameter. Unfortunately in case the enum changes or more likely the user has a typo in the url Tapestry is unable to coerce the url param to enum and fails by throwing an exception (fair enough). Instead of using onActivate parameters I switched