Matthias Wessendorf wrote:
Sean,
I just played abit with what you posted here.
I tested this:
<definition name="layout.example" path="/template/template.jsp" > <put name="header" value="/common/header.jsp" /> <put name="menu" value="test" /> </definition>
<definition name="test" path="/template/t1.jsp" > <put name="foo" value="/foo.jsp" /> <put name="bar" value="/bar.jsp" /> </definition>
<definition name="/page1.tiles" extends="layout.example" > <put name="body" value="/page1.jsp" /> </definition>
this is working; tested foo|bar with and without JSF-Tags btw. in t1.jsp I only used <f:subview/> the only file, that contains <f:view/> is template.jsp
HTH, Matthias
Matthias:
Could you please put <h:commandButton> or <h:commandLink> with actionListener and action attributes in header.jsp (or menu.jsp) of the template layout and in page1.jsp of page1.tiles and see if the commands under the inserted page1.jsp properly picks up the action attribute.
Thanks. This is the minimum solution i need to get page1.tiles as a portal page. Any suggestion to make jsf UI working throughout page1.tiles?
BaTien DBGROUPS
-----Original Message-----
From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 4:12 PM
To: MyFaces Discussion
Subject: Question about JspTilesViewHandlerImpl
So far I've had some success using JspTilesViewHandlerImpl but I think I might be running into a problem. I'd like to use a series of "nested" tiles. See my sample tiles-defnitions.xml below ...
<definition name="simple.view" path="/jsp/layouts/simple-layout.jsp">
<put name="header" value="/jsp/header.jsp" />
<put name="status" value="/jsp/version.jsp" />
<put name="main" value="document.view" />
</definition>
<definition name="document.view" path="/jsp/layouts/document-layout.jsp">
<put name="summarySection" value="/jsp/sections/summary-section.jsp" />
<put name="detailSection" value="/jsp/sections/detail-section.jsp" />
</definition>
Basically, the "main" section of my one tile refers to another tile. I'm having problems getting this working. Should this be possible with JspTilesViewHandlerImpl? Does is matter if the pages contained in the secondary view contain faces tags or not?
Thanks, sean
.

