[ 
https://issues.apache.org/struts/browse/TILES-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Petrelli closed TILES-65.
---------------------------------


> Split <tiles:insert> into specialized tags
> ------------------------------------------
>
>                 Key: TILES-65
>                 URL: https://issues.apache.org/struts/browse/TILES-65
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-core
>    Affects Versions: 2.0.0
>         Environment: N/A (design issue)
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0.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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to