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 joyce wrote:
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 string to a Integer.

Does tapestry throw an exception? Can I trap it and redirect to an
error page? Has the suggestion of easily implmenting custom
505/404/etc pages in Tapestry been implemented?

-Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to