Hi,
There is no way to retrieve the current definition name. The actual solution is to add an attribute identifying the definition. Hope this help, Cedric Christian Oldiges wrote: > Hi! > > Is it possible to retrieve the tiles definition name within a JSP that > is part of the currently processed definition? > > Example: > > <definition name="rootLayout" path="/layouts/rootLayout.jsp"> > <put name="menu" value="/tiles/menu.jsp" /> > <put name="content" value="/tiles/content/empty.jsp" /> > <put name="rightBar" value="/tiles/newsbar.jsp" /> > </definition> > > <definition name="site.page1" extends="rootLayout" > > <put name="title" value="blabla" /> > <put name="content" value="/tiles/content/page1.jsp" /> > </definition> > > <definition name="site.page2" extends="rootLayout" > > <put name="title" value="blabla" /> > <put name="content" value="/tiles/content/page2.jsp" /> > </definition> > > Now within "/tiles/menu.jsp" I want to find out which tiles definition > is active. "site.page1" or "site.page2" > > TIA, > Christian > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>