[ http://issues.apache.org/jira/browse/MYFACES-418?page=all ]
     
Matthias Weßendorf resolved MYFACES-418:
----------------------------------------

    Resolution: Fixed

thx for reporting it

> Tiles does not work with javax.faces.STATE_SAVING_METHOD=server.
> ----------------------------------------------------------------
>
>          Key: MYFACES-418
>          URL: http://issues.apache.org/jira/browse/MYFACES-418
>      Project: MyFaces
>         Type: Bug
>   Components: General
>     Versions: 1.0.9m9
>  Environment: Tested with Tomcat 5.5 under Gentoo linux and Windows XP Home
>     Reporter: Carsten Fregin
>     Assignee: Thomas Spiegl

>
> Problem: When I set the javax.faces.STATE_SAVING_METHOD in the web.xml to 
> server and try out the tiles-example,  I get a 
> java.lang.IllegalStateException: Cannot create a session after the response 
> has been commited.
> Analysis: The problem happens only while calling a tiles page directly. So, 
> calling response.sendRedirect("page1.jsf");  or entering the url 
> (/myfaces-tiles-example/page1.jsp) results in the error. 
> If you create a jsf page without tiles support, you are able to jump to a 
> tiles page by navigation-rule. Proof:
> try to call  /myfaces-tiles-example/non-tile.jsf directly in your browser and 
> press the back button.
> Workaround: use javax.faces.STATE_SAVING_METHOD=client (generates much 
> bandwidth) or create an index.jsp with a commandLink to your tiles page.

-- 
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

Reply via email to