Re: Customized error pages, handling of bad values passed to OnActivate()

2009-04-09 Thread Peter Stavrinides
ERROR And it works almost all containers. Cheers, Peter - Original Message - From: "Carl Crowder" To: "Tapestry users" Sent: Friday, 10 April, 2009 00:28:57 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Customized error pages, handling of bad values p

Re: Customized error pages, handling of bad values passed to OnActivate()

2009-04-09 Thread Carl Crowder
When tapestry throws an excpetion it gets handled by the exception report page - http://wiki.apache.org/tapestry/Tapestry5ExceptionPage You can override that. For other generic errors such as 404, check out http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryForCustomErrorPages daniel

Customized error pages, handling of bad values passed to OnActivate()

2009-04-09 Thread daniel joyce
Lets say a user bookmarks a path like view/123 This is supposed to allow them to go a tapestry page that will display info on Project 123. ViewProject.java has a onActivate(Integer projectNum) What happens if the user types in view/hshqwueh ? I know Tapestry will balk on trying to convert that