geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbaumhof <ralf.baum...@web.de>
Subject Disabling Faces Error Handling
Date Wed, 24 Sep 2008 08:54:33 GMT

Hello,

we are using MyFaces for building the web pages. If we display a list or
listbox (method with return type public List<SelectIem> getSomething())
there may happen an error within the ejb container. In this case faces shows
an own error page. At the bottom of the page is a link where the tailoring
of this default behaviour is described
(http://wiki.apache.org/myfaces/Handling_Server_Errors). Especially two
approaches are interesting. One describes how to write an own error handler,
the other describes how to use tomahawk for installing a customized error
handler. Unfortunately both approaches don't work. The error message is
always "java.lang.class not found error". In the case of the tomahawk
approach this is clear because the class
(org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler) which is
described in the tutorial
(http://issues.apache.org/jira/browse/TOMAHAWK-1297) does not exist in the
tomahawk jar file (tomahawk-1.1.6.jar). 

Any suggestions where one should place the self written error handler class.
Actually it is in WEB-INF/classes.

thanks for your help in advance
Ralf 
-- 
View this message in context: http://www.nabble.com/Disabling-Faces-Error-Handling-tp19644629s134p19644629.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message