Get the latest cvs-head-version of myfaces. The JspTilesViewHandlerImpl renderView changed as follows.
Only pages defined in the tiles-config will be rendered using tiles-support. All other pages are getting renderd as well (ignoring tiles).


Curently you are not really
able to have a tiles definition with a '.' character in the name of
the definition and still have it work with this class.  The class ...

cann you please add a Jira tracker at http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10600

regards, thomas




Matthias Wessendorf wrote:

Sean,

there exists an work around. Define a tiles-definition for *every* jsf page you want to render.

HTH,
Matthias



-----Original Message-----
From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 4:16 PM
To: MyFaces Development
Subject: Another Enhancement: JspTilesViewHandlerImpl



If you're using this class, there seems to be a significant limitation. That is that every page that is mapped to your faces servlet (ie. those with *.faces) must be inside a tile definition. It is impossible to call the faces page directly without embedding it in a tile.


If you're using tiles to begin with, its true that a good 90-95% of your pages will be in a tiles definition. There are instances, however, when I access a page directly without a layout. Its impossible to do this if the page you want uses faces, b/c JspTilesViewHandlerImpl expects the initial HTTP request to map to a tiles def.

sean











Reply via email to