You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Antonio Petrelli <ap...@apache.org> on 2006/10/27 13:32:51 UTC

[tiles2] Changes in tag libraries

Hi
As you may have seen, I replace <tiles:insert> tag with three 
specialized tags:
<tiles:insertDefinition>, <tiles:insertTemplate>, <tiles:attribute>.
I hope you don't hate me for the change :-)
I thought that an eventual <tiles:insertString> is useless, since there 
are better tags to put strings. Notice that you can still "insert" (or 
better "define") attributes of string type, by using <tiles:attribute>.
I applied the changes also to the test webapp, so you can see if the 
code is clearer (or not :-) ). I added also a FAQ entry describing the 
change.

Ciao
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org