tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Chisholm" <dchish...@onenetwork.com>
Subject RE: [ANNOUNCE] InsertAttributeTag reports Attribute 'header' not found
Date Wed, 09 May 2007 15:21:25 GMT

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

-- David

-----Original Message-----
From: Antonio Petrelli [mailto:antonio.petrelli@gmail.com] 
Sent: Wednesday, May 09, 2007 9:32 AM
To: users@tiles.apache.org
Subject: Re: [ANNOUNCE] InsertAttributeTag reports Attribute 'header' not

2007/5/9, Marcus Oenicke <m.oenicke@it4u-berlin.biz>:
> 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...


View raw message