[prev in list] [next in list] [prev in thread] [next in thread]
List: myfaces-dev
Subject: [jira] Commented: (TOMAHAWK-922) JSF-1.2: JspTilesViewHandlerImpl
From: "Hal Deadman (JIRA)" <dev () myfaces ! apache ! org>
Date: 2008-03-30 21:10:24
Message-ID: 1199367174.1206911424374.JavaMail.jira () brutus
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/TOMAHAWK-922?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583489#action_12583489 ]
Hal Deadman commented on TOMAHAWK-922:
--------------------------------------
Regarding the comment above: "There is a tiles-example checked in to the MyFaces \
sources which show this is working. ". That example uses Myfaces 1.1, if you try the \
example with Myfaces 1.2 then it won't work.
Tiles 2.0.5 and the JspTilesTwoViewHandler don't work with MyFaces 1.2.2 because the \
f:view and f:subview tags expect the request to be wrapped in a ViewResponseWrapper. \
If the request isn't an instance of ViewResponseWrapper then those tags silently \
render none of their body content. Christian's version posted above,seems to work \
although I am still working through other upgrade issues and haven't used it much \
yet.
The JSF->Tiles story is fairly confusing at this time. From what I gather, there are \
three streams of tiles: struts-tiles, stand-alone shale tiles, and tiles 2.x. Shale \
still list tiles support as a feature on their website but the shale-tiles code seems \
to have moved into the sandbox because it was holding up a future release and I don't \
think it works with Tiles 2.x and probably doesn't work with Myfaces 1.2 either. I \
don't think the Myfaces site says anywhere that Tomahawk's tiles2 support doesn't \
work with Myfaces 1.2. Combine the tiles confusion with two versions of JSF (1.1&1.2) \
from two different implementations (RI and Myfaces) and trying to figure out what \
works where is tricky.
> 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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic