Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
2.0.5
-
None
-
None
-
Windows XP, Glassfish 2, Java 5.
Description
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.