but say i have a component "userlist.jspf" on admin.jspf, which i want to use sometimes and from multiple places. i want to be able to insert it in my tiles config. or say i want to use admin.jspf in different configurations, sometimes with a userliser (for a super admin), sometimes without (for a normal admin).
i thought i put it like this:
no changes on page.jsp, but i like to insert
somewhere on admin.jspf.
does not work :-( <body_include> is unknown from within admin.jspf
i figured out that each <tiles:insert> creates a new ComponentContext, which is empty if i try to evaluate it from admin.jspf tried a lot with <tiles:importattribute>, but does not work either. :-(
what i'd like to achieve is clear: being able to control my page and all of its sub-components with one central definition. and evaluate it from all the way down the hierachy, not only from the first level (page.jsp).