Hi,

 Such question should be post in the struts-user mailing list :-).

Tiles is a framework that build pages by assembling fragment or "tiles" on the server side. When you request a page made of tiles, the server return the entire page, not a particular tile.
If you want only a particular area of your page to be updated, you need to use frames (interpreted on the client side). Tiles and frames can be mixed, but you need to manage the frame yourself. Tiles can't do it for you.


 Hope this help,

  Cedric

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



Regards and thanks,
Anant
----------------------------------------------------------------
Anant Das Agarwal
IBM Global Services India Pvt Ltd
X1-7, Block-EP/GP, Sector-V
Salt Lake Electronic Complex
Kolkata 700091
+91 33 2357 9110 x 3405




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



Reply via email to