Cedric Dumoulin wrote:
Greeting Cedric:
It has been a long time to see you again on the list. I wonder if you have some time to make tiles work better with faces. Here is what I have tried faces and tiles without struts (so no plug-in):
1) If i load TileServlet as instructed, the log said tile factory has been successully loaded, but somehow the definition factory is not loaded. Hence tiles definitions defined in tiles.xml are not available. This was done with Faces latest RI.
2) I try tiles with myfaces, i got the same issue about definition factory. However, if i define tile definition in a page, it works in myfaces but not in RI.
I hope you or someone else can give a definitive instruction.
BaTien DBGROUPS
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]
.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
