Re: [myfaces core] Redirect to a JSF page when Throwable exception or error occur

2008-07-08 Thread Martin Marinschek
Hi Mario, I wonder why people always want a full running JSF environment for each and every page. If there is an exception it might be due to a problem in JSF itself which might make it impossible to show any error page at all. Not that you can not handle such situations (revert to default

Re: [myfaces core] Redirect to a JSF page when Throwable exception or error occur

2008-07-07 Thread Martin Marinschek
Hi Leonardo, - the error-handling (also making it possible to handle multiple errors) needs to remain in MyFaces core - the new feature with the navigation can be one of the error-handlers that can be configured, and can surely reside in the sandbox... @Seam: I doubt that Seam can do proper

Re: [myfaces core] Redirect to a JSF page when Throwable exception or error occur

2008-07-07 Thread Martin Marinschek
Hi Mario, One possible enhancement to the error handling feature of myfaces could be the capability of redirect to a jsf page. Any concrete use-case for this, or just yet another cool-we-can-make-it thingy? ;-) the use-case is that people want the same type of functionality they have in

Re: [myfaces core] Redirect to a JSF page when Throwable exception or error occur

2008-07-07 Thread Mario Ivankovits
Hi! the use-case is that people want the same type of functionality they have in their web.xml (specifying an error-page per exception) in the JSF-world as well. Just doing it in the web.xml is not sufficient, as then the faces-context is already closed and not available anymore, so important

Re: [myfaces core] Redirect to a JSF page when Throwable exception or error occur

2008-07-06 Thread Stephen Friedrich
I agree that this is useful, but should _not_ be in core. It's nothing new, however, the Seam framework has a nice, robust implementation of a very similar feature: http://docs.jboss.com/seam/2.1.0.A1/reference/en/html/events.html#d0e4418 If you choose to copy that effort, please make sure that

Re: [myfaces core] Redirect to a JSF page when Throwable exception or error occur

2008-07-05 Thread Scott O'Bryan
Can we do this outside of core. I'm not a big fan of extending functionality of the core beyond the spec. For one, I suspect we'll have issues with the bridge. Asside from that what if JSF 2.1 defines a competingmechanism to handle this? At most this extension belogs in the extensions

Re: [myfaces core] Redirect to a JSF page when Throwable exception or error occur

2008-07-05 Thread Mario Ivankovits
Hi! One possible enhancement to the error handling feature of myfaces could be the capability of redirect to a jsf page. Any concrete use-case for this, or just yet another cool-we-can-make-it thingy? ;-) Seriously, what's wrong with the error page capabilities of the webapp container?

Re: [myfaces core] Redirect to a JSF page when Throwable exception or error occur

2008-07-05 Thread Leonardo Uribe
On Sat, Jul 5, 2008 at 5:35 AM, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! One possible enhancement to the error handling feature of myfaces could be the capability of redirect to a jsf page. Any concrete use-case for this, or just yet another cool-we-can-make-it thingy? ;-) The idea

[myfaces core] Redirect to a JSF page when Throwable exception or error occur

2008-07-04 Thread Leonardo Uribe
Hi I want to see what people think about a possible enhancement of error handling feature of myfaces, thanks to a suggestion of Martin. For this purpose, I create a issue on jira ( MYFACES-1889). The summary of this feature is this: One possible enhancement to the error handling feature of