[
https://issues.apache.org/jira/browse/TOMAHAWK-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607842#action_12607842
]
Leonardo Uribe commented on TOMAHAWK-922:
-----------------------------------------
I have committed on core12 the changes suggested for JspTilesTwoViewHandlerImpl.
The problem with this handler is the changes done in ViewHandler interface
between 1.1 and 1.2.
This code unfortunately does not work with jsf ri 1.2, because not everything
could be delegated (renderTilesView).
I have tested myfaces-example-tiles example inside tomahawk examples module,
using the following command
mvn -Djsf=12 -Dtomahawk=12 clean jetty:run
and the proposed solution works well.
This works with myfaces 1.2.4-SNAPSHOT (latest code) and tomahawk12
1.1.7-SNAPSHOT (latest code)
suggestions, patches, updates and everything you want to contribute are welcome!
> JSF-1.2: JspTilesViewHandlerImpl
> --------------------------------
>
> Key: TOMAHAWK-922
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-922
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Tiles
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: MyFaces Tomahawk SVN HEAD + JSF-1.2_03 (Reference
> implementation) + JDK-1.5.0_11 + Tomcat-6.0.10
> Reporter: Jesper Pedersen
>
> The JspTilesViewHandlerImpl doesn't work under JSF-1.2 (RI) as it doesn't
> deliver any output.
> Steps:
> 1) Get myfaces-example-tiles-1.1.5-SNAPSHOT.war
> 2) Replace MyFaces-Core with JSF-1.2 (RI) in WEB-INF/lib
> 3) Deploy on Tomcat-6.0.10
> 4) Go to http://localhost:8080/myfaces-example-tiles-1.1.5-SNAPSHOT/
> Generated HTML:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <head>
> <meta http-equiv="Content-Type" content="text/html;CHARSET=iso-8859-1" />
> <title>Myfaces - Tiles</title>
> <link rel="stylesheet" type="text/css" href="css/tiles.css" />
> </head>
> </html>
> Basically I'm unable to use Tomahawk under JSF-1.2 currently, so any pointers
> on how to fix this issue or to provide more information would be great.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.