Subject: Re: [TILES] Inserting a definition in an other definition ?
> > > > I think this is the right place to extends the definition. It's > working just like Java Classes, your 'content' definition inherits all > 'default' definition's attribute. Have you already tried something like this ?? Yes, but it's not what I want to do. I don't want the "content" definition extends the "default" one. In this case, the "content" layout will inherits the 'header' and the 'copyright' elements of the "default". In fact I just want to keep the posibility to compose my content layout with a customizable menu and body and then to insert this composed layout in my default layout just as an element. Thanks Lionel > > <tiles-definitions> > <definition name="default" path="/layouts/defaultLayout.jsp"> > <put name="header" value="/common/header.jsp" /> > <put name="content" value=".content" /> > <put name="copyright" value="/common/copyright.jsp" /> > </definition> > > <definition name="content" extends="default"> > <put name="menu" value="/common/menu.jsp" /> > <put name="body" value="/common/body.jsp" /> > </definition> > </tiles-definitions> > > Thomas > > > At 17:45 22/03/2003, you wrote: > >Is it possible to insert a definition in an other definition ? > > > ><tiles-definitions> > > <definition name="default" path="/layouts/defaultLayout.jsp"> > > <put name="header" value="/common/header.jsp" /> > > <put name="content" value=".content" /> > > <put name="copyright" value="/common/copyright.jsp" /> > > </definition> > ></tiles-definitions> > > > ><tiles-definitions> > > <definition name="content" path="/layouts/contentLayout.jsp"> > > <put name="menu" value="/common/menu.jsp" /> <put name="body" > > value="/common/body.jsp" /> > > </definition> > ></tiles-definitions>Is this possible? Is ther an other better solution > >?__________________________________________ > >Lionel Roux > >mail: [EMAIL PROTECTED] > >cell: +33 6 60 51 49 83 > >__________________________________________ > >This messages is certified virus free by NAV 2003 > > > --------------------------------------------------------------------- > 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]

