Imagine a tiles setup as the following: <definition name=".layout" path="/layout.jsp"> <put name="body" value="/body.jsp" /> <put name="menu" value="/menu.jsp" /> </definition> <definition name=".help" extends=".layout"> <put name="body" value="/help.jsp" /> </definition>
Is it possible from the menu.jsp or the layout.jsp pages to access the definition name for the tile being composed (".layout" and ".help" for the example above)?
The reason for this would be to use the definition name as a sort of page id used for things such as linking and setting of page titles. We are currently doing this by using a property for each page, as in <put name="pageID" value=".help"/> but would like to skip this and use the definition name directly.
Thanks, Fredrik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]