tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: [ANNOUNCE] InsertAttributeTag reports Attribute 'header' not found
Date Wed, 09 May 2007 14:32:00 GMT
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...

Antonio

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message