You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2008/02/16 17:14:39 UTC

[jira] Assigned: (TILES-240) Empty declaration is of type Attribute rather than ListAttribute

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