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

Antonio Petrelli reassigned TILES-240:
--------------------------------------

    Assignee: Antonio Petrelli

> Empty <put-list-attribute> declaration is of type Attribute rather than 
> ListAttribute 
> --------------------------------------------------------------------------------------
>
>                 Key: TILES-240
>                 URL: https://issues.apache.org/struts/browse/TILES-240
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-api, tiles-core
>    Affects Versions: 2.0.5
>         Environment: Windows XP, Glassfish 2, Java 5. 
>            Reporter: Erik Pieczkowski
>            Assignee: Antonio Petrelli
>
> A Tiles definition such as... 
>     <definition name="some.layout"
>         template="/WEB-INF/view/tiles/layouts/someLayout.jsp">
>         <put-list-attribute name="list" />
>     </definition>
> will return an Attribute instance when calling... 
> Attribute fieldListAttribute = attributeContext.getAttribute("list"); 
> whereas a tiles definition with such as... 
>     <definition name="some.layout" 
> template="/WEB-INF/view/tiles/layouts/someLayout.jsp">
>         <put-list-attribute name="list">
>            <add-attribute value="some.attribute" />
>         </put-list-attribute>
>     </definition>
> will return a ListAttribute instance when calling that same method. 
> These two separate scenarios seem like they should return the same object 
> instance. 

-- 
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