Re: layout hierarchies

2005-04-28 Thread brenmcguire
Hi I was afraid that would be the answer :-( I really wanted to avoid having files with page fragments that weren't well formed like that... I'll have to dig into the Tiles code and see how ameanable the rendering model is to being 'masaged' into supporting what I want it to do :-) I was a

Re: layout hierarchies

2005-04-28 Thread Laurie Harper
[EMAIL PROTECTED] wrote: I was a beginner too, so don't be so cruel with yourself ;-) By the way, Heh :-) if you want to make something complicated, remember that you can put ANY URL in your put element. For example, I put an Action's URL, so that it loads some data. This Action forwards to a JSP

Re: layout hierarchies

2005-04-27 Thread brenmcguire
Errr No... Let's start from the beginning. 1. Don't give to Tiles definitions names starting with /. 2. You can put a Tiles definitions inside another tiles definition. For example: definition name=section.one path=/layout/testLayout1.jsp put name=top value=/tiles/somewhat1.jsp / put

Re: layout hierarchies

2005-04-27 Thread Laurie Harper
I was afraid that would be the answer :-( I really wanted to avoid having files with page fragments that weren't well formed like that... I'll have to dig into the Tiles code and see how ameanable the rendering model is to being 'masaged' into supporting what I want it to do :-) What's wrong

layout hierarchies

2005-04-26 Thread Laurie Harper
Hi, how do I create layout tile hierarchies so that one layout extends another and contributes additional content to it? What I'd like to have is a base layout which contains markup common to every page, and then 'child' layouts that extned the base layout and add section-specific additional