[ 
https://issues.apache.org/struts/browse/SHALE-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42350
 ] 

Gregg Leichtman commented on SHALE-302:
---------------------------------------

As per developer request, I have attached my modified version of Steven Oglesby 
JSF 1.1 TilesViewHandler. This modifed version works with JSF 1.2 and, at a 
minimum, Tiles 2.0.4. This code is Sun RI specific. It will not work with 
MyFaces in its current form, but it does work with the Shale 1.1.0 snapshot 
from 20070923, Trinidad 1.2.1 and Tomahawk 1.1.6.

                             -=> Gregg <=-

> TilesViewHandler does not work for JSF 1.2
> ------------------------------------------
>
>                 Key: SHALE-302
>                 URL: https://issues.apache.org/struts/browse/SHALE-302
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.0.3
>            Reporter: Steven Oglesby
>             Fix For: TBD
>
>
> The TilesViewHandler does not handle the JSF 1.2 spec. It does not fulfil the 
> requirements of wrapping and buffering the response. This has been introduced 
> in the JSF 1.2 spec in order to solve the JSF / JSP content interweaving 
> problems.
> I have managed to implement a work-around solution. However, it is probably 
> not compatible with JSF 1.1!
> My (rather inelegant) solution is to have copied the renderView method 
> implementation (and all the subsequent methods it calls) from the 
> ViewHandlerImpl class of the Sun RI of JSF 1.2. I have then made the 
> necessary changes so that the executePageToBuildView method dispatches to the 
> tile rather than the original viewId that was asked for.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to