Re: refresh body only from JSP

2004-11-27 Thread Aidas Semezys
Hi Peter, You can define definition i mentioned "another.definition" just like any other definition in tiles-defs.xml. Tiles framework will find it for you. Just add to your defs: ... ... ... in this example your.jsp is the JSP that you want to substitute your body.jsp with. Hope

Re: refresh body only from JSP

2004-11-27 Thread Peter O'Reilly
Aidas, How do I define that body definition in the tiles-def.xml? This is my tiles-def, Thanks, Peter Aidas Semezys <[EMAIL PROTECTED]> wrote: >Hi Peter, > >David is right. You nee

Re: refresh body only from JSP

2004-11-27 Thread Aidas Semezys
Hi Peter, David is right. You need frames if you want to reload just part of your page. And yes tiles framework assembles all components and returns the accumulated result. But you CAN write JSP, that changes just one tile component (for example body) of your page: <%@ page language="Java" conten

RE: refresh body only from JSP

2004-11-26 Thread David G. Friedman
Peter, I believe you are confusing frames, or possibly "inline" frames, with tiles. The tile definition assembles the components of a page and hands that completed page back to your client's browser. If your tiles defintion includes parts such as a header, footer, navigation bar, and main (i.e. "