You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Zakaria khabot <z....@ced.mfie.gov.ma> on 2004/04/21 11:03:01 UTC

Tiles

Hi all,
I am using Tiles in my Main page :
<tiles:insert page="AcceuilTemplate.jsp">

<tiles:put name="head" value="templates/Head.jsp" />

<tiles:put name="entete" value="templates/entete.jsp" />

<tiles:put name="foot" value="templates/Foot.jsp" />

<tiles:put name="navi" value="templates/Navi.jsp" />

<tiles:put name="content" value="SaisiPB.jsp" />

</tiles:insert>

The page "Navi.jsp" contains the following code :

<layout:menuItem key="menu1">


<layout:menuItem key="menu1.submenu1" link="/PROJECT/MainAction.do" />

<layout:menuItem key="menu1.submenu2" link="/PROJECT/UpdatePBAction.do" />

<layout:menuItem key="menu1.submenu3" link="/PROJECT/html/entete.html" /> 


</layout:menuItem>

PB : When I click to the link the forwarded page is displayed lonly in the window

What I want is to display the page in the "content" of tiles, and the 'Foot', 'Navi' must be displayed.

Thanks....