You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2006/10/27 13:22:03 UTC
[jira] Resolved: (SB-55) Split into specialized tags
[ http://issues.apache.org/struts/browse/SB-55?page=all ]
Antonio Petrelli resolved SB-55.
--------------------------------
Fix Version/s: 2.0
Resolution: Fixed
InsertTag has been splitted into three tags:
InsertDefinitionTag, to insert definitions;
InsertTemplateTag, to insert templates;
AttributeTag, to insert (I should say "define") attributes.
There was no need to create a <tiles:insertString> tag, since there are better tag libraries to put strings.
Modified tiles-core.tld accordingly and added a FAQ entry for the change.
> Split <tiles:insert> into specialized tags
> ------------------------------------------
>
> Key: SB-55
> URL: http://issues.apache.org/struts/browse/SB-55
> Project: Sandbox
> Issue Type: Improvement
> Components: Tiles
> Affects Versions: 2.0
> Environment: N/A (design issue)
> Reporter: Antonio Petrelli
> Assigned To: Antonio Petrelli
> Fix For: 2.0
>
>
> The <tiles:insert> tag can lead to confusion because it can insert different things: pages, strings, definitions and attribute.
> There is a particular confusion for the attribute, since some people could place it as they place definitions and pages, not remembering that attributes need to be filled.
> <tiles:insert> could be split into:
> <tiles:insertDefinition>
> <tiles:insertTemplate>
> <tiles:insertString> (not sure about it).
> <tiles:attribute>: it has a different name pattern because attributes need to be "defined" and not "inserted".
> Relevant thread:
> http://www.mail-archive.com/dev%40struts.apache.org/msg24891.html
> And the message:
> http://www.mail-archive.com/user%40shale.apache.org/msg00663.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira