myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1494) FacesServlet.service() have _lifecycle.execute(facesContext) and _lifecycle.render(facesContext) in the same try & catch block which is not relevant
Date Thu, 16 Nov 2006 09:21:38 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-1494?page=comments#action_12450322 ] 
            
Matthias We├čendorf commented on MYFACES-1494:
---------------------------------------------

I think this is the expected scenario. Calling exe() and render() in once.
Do you know what the RI does ?

> FacesServlet.service() have 	_lifecycle.execute(facesContext) and _lifecycle.render(facesContext)
in the same try & catch block which is not relevant
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1494
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1494
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 1.1.4
>         Environment: All plateform
>            Reporter: David Lapetina
>            Priority: Trivial
>
> In the service() method of FacesServlet you have the following code :
>         try {
> 			_lifecycle.execute(facesContext);
> 			_lifecycle.render(facesContext);
> 	} catch (Throwable e)  {
>              ...
> So, if an exception occurs in the execute step it is impossible to do the render step
and the consequence is a blank page which is not very user-friendly

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message