2009/7/6 Roshni Basu <[email protected]>: > > I have a jsp, Template1.jsp in which I'm trying to use the new tiles2 tag > for the following pice of code, > <tiles:put name="formButtonsTop" beanName="formButtonsTop" > beanScope="tile"/> > The modified piece of code is > <tiles:putAttribute name="formButtonsTop" value="${formButtonsTop}"/>
I think I got it. You want to "transfer" an attribute from a template page to an inner page. This is easier to do with anonymous nested definitions: http://tiles.apache.org/framework/tutorial/advanced/nesting-extending.html#Anonymous_nested_definitions or with cascaded attributes: http://tiles.apache.org/framework/tutorial/advanced/nesting-extending.html#Cascaded_attributes However this means that you have to migrate your XML files. Another way is to import the attribute (through the use of <tiles:importAttribute>) and re-put it again. HTH Antonio
