This is the same situation I recently encountered - new TLD syntax combined with old DTD. If you use the new DTD, then the configuration parsing will ignore elements like put-attribute. Also unless you have debug logging enabled, you will not receive any messages that the parsing skipped those elements.
-- David -----Original Message----- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 9:32 AM To: [email protected] Subject: Re: [ANNOUNCE] InsertAttributeTag reports Attribute 'header' not found 2007/5/9, Marcus Oenicke <[EMAIL PROTECTED]>: > > > Ah, it seems I found the solution. > > The tutorial for the Tiles 2 Plugin shows an example with a wrong > (probably > outdated) uri for the dtd. > > It should NOT be: %@ taglib uri="http://struts.apache.org/tags-tiles" > prefix="tiles" %>, > BUT: %@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" > %> > > So the JSPs use Tiles 2 syntax, while within tiles-defs.xml the older > syntax, e.g. <put name="..." /> needs to be employed. > > Is that correct, Antonio? I think so, the problem is that Tiles 2.0.3 (the latest alpha) uses VERY different DTD and TLD, so when you need to upgrade, you will need to change all of your code... Antonio
