Tiles are not frames! The runtime part of Tiles composes pages according
to your Tiles definition. That means that if you define an extended tile
definition, is just like defining another page! (obviously I am talking
about tile definitions of pages, not sub-tiles).
It is a normal behaviour.
If you don't like it, try using frames, there is the "html:frame" tag that
may help you.
Ciao
Antonio Petrelli

Anant D Agarwal wrote:

>Hi,
>I am using tiles in my project .I am using classic layout
>
>my" tiles-defs.xml " which i made have one definition tag like this
>
><definition name="site.mainLayout"
>path="/layouts/classicLayout.jsp">
><put name="title" value="Tiles Blank Site" />
><put name="header" value="/tiles/common/header.jsp" />
><put name="menu" value="/tiles/common/menu.jsp" />
><put name="footer" value="/tiles/common/footer.jsp" />
><put name="body" value="/tiles/body.jsp" />
></definition>
>
>now I am extending this definition tag with another definition
>
><definition name="site.homeLayout"
>extends="site.mainLayout"">
>
><put name="body" value="/tiles/homebody.jsp" />
></definition>
>
>Now when  in my first definition i have one menu.jsp on clicking on that
>menu i call extended definition.
>Now problem it refresh the entire page instead of body page.
>
>I want only body content should refresh rest header,footer and menu
should
>
>
>remain like this just like when we use frames.
>
>kindlly suggest what should i do.
>
>
>regards & thanks
>Anant
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to