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/03/03 21:41:07 UTC

[jira] Resolved: (TILES-221) Add ability to import tile attributes into a java.util.Map

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

Antonio Petrelli resolved TILES-221.
------------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 2.1.x)

Currently the <tiles:importAttribute> with no attributes imports all attributes as page-scoped beans.
There is no need for an extra map.

> Add ability to import tile attributes into a java.util.Map
> ----------------------------------------------------------
>
>                 Key: TILES-221
>                 URL: https://issues.apache.org/struts/browse/TILES-221
>             Project: Tiles
>          Issue Type: New Feature
>          Components: tiles-core, tiles-jsp (jsp support)
>    Affects Versions: 2.0.4
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Graham Carlyle
>            Priority: Minor
>
> It would be useful to be able to access a tiles attributes via a java.util.Map
> object. 
> This would make it more obvious where the tile attributes (rather than an
> ordinary page scope attribute) are being used in the tile. 
> When used with JSTL it would make tile attribute access more consistent with the
> other JSTL scoped attributes (pageScope, requestScope, sessionScope,
> applicationScope, param etc.)
> This could be achieved by adding an optional "id" attribute to the
> importAttribute tag which, when no "name" attribute is specified, would
> introduce an appropriately scoped java.util.Map of the tile attributes.
> For example:
> <importAttribute id="args"/>
> <c:out value="${args.message}"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.