2010/8/3 Motley, Jeffery <[email protected]>:
> When I do this the putListAttribute in the jsp file gets used but the
> one on the xml file is not in the list. (It seems to be replaced.) So
> only hello2.js is used. Is there any way to include hello.js from the
> xml file and add the hello2.js from the jsp? That way both are included,
> the generic hello.js  from the xml plus the more specific hello2.js for
> the jsp.

Yes:
http://tiles.apache.org/framework/tutorial/advanced/list-attributes.html#List_attribute_inheritance
IOW, put inherit="true" in <tiles:putListAttribute>

HTH
Antonio

Reply via email to