Re: Nested tiles question

2010-04-04 Thread Kusuma Haranath Atmakuri
Since the path is different for each of the layouts, that could be the reason why the resources are not included. You can verify by looking at the source code that the BaseLayout.jsp is not being used. You could try this: Hope this works out! From: Sub

Re: Nested tiles layouts

2006-08-02 Thread Antonio Petrelli
Antonio Petrelli ha scritto: Whoops, I actually meant: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Nested tiles layouts

2006-08-02 Thread Antonio Petrelli
Matt Kurjanowicz ha scritto: That is what I get - sorry I confused myself with my example. No problem, I thought really it was a Tiles bug :-) Ok if I understood you correctly, you wish to override an attribute that has been put inside another definition, right? In this case, you cannot do thi

Re: Nested tiles layouts

2006-08-02 Thread Matt Kurjanowicz
On 8/2/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote: : Library Home -- LIB DEFAULT -- Ciao Antonio That is what I get - sorry I confused myself with

Re: Nested tiles layouts

2006-08-02 Thread Antonio Petrelli
Matt Kurjanowicz ha scritto: Hi, I've seen a few threads similar to this, but nothing with my specific problem. Suppose I have a tiles definition file, with the following definitions: ... Now suppose that I have the following JSP pages: stdLayout.jsp: " /> I ca

RE: nested tiles

2004-12-01 Thread David G. Friedman
l Keese [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 12:43 AM To: Struts Users Mailing List Subject: Re: nested tiles FYI, I went ahead and added a wiki page for this. Apparently this is the first wiki page on general tile use (?) http://wiki.apache.org/struts/StrutsDocTiles

Re: nested tiles

2004-12-01 Thread Bill Keese
FYI, I went ahead and added a wiki page for this. Apparently this is the first wiki page on general tile use (?) http://wiki.apache.org/struts/StrutsDocTiles (if you see any mistakes please correct them. or if anyone has any other tips on tiles please add them.) Bill

Re: nested tiles

2004-12-01 Thread Stefan Clos
Yes it works. Here is my working configuration. Thank you very much. tiles-def.xml: --- layout.jsp -- Bill Keese

Re: nested tiles

2004-11-30 Thread Bill Keese
Yeah, I also wish there was more documentation on this. I think I found the flaw in your original design. In layout.jsp you want to take the "body" attribute defined in tiles-def.xml and pass it on to bodyFrame.jsp as "bodypage". So you need to use beanName, right? tiles-def.xml: -

Re: nested tiles

2004-11-30 Thread Stefan Clos
thanks Bill, your way to make nested tiles works fine. (After i changed "extends" to "template" in the second definition). It has the advantage that the jsp“s are smaller and easier to understand, but at the cost you need 2 definitions for each page. If you are only use one BodyFrame, you need

Re: nested tiles

2004-11-29 Thread Bill Keese
Interesting. I'm not sure why your code doesn't work. Maybe the value attribute in should be /WEB-INF/pgs/startpage.jsp. Anyway, I haven't done nested tiles in the same way as you do. This is how I do nested tiles. Maybe someone can comment on which way is better.