[
https://issues.apache.org/struts/browse/STR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Benedict updated STR-1129:
-------------------------------
Fix Version/s: (was: Future)
Assignee: (was: Struts Developers)
Summary: Add ability to import tile attributes into a java.util.Map
(was: [tiles] Add ability to import tile attributes into a java.util.Map)
> Add ability to import tile attributes into a java.util.Map
> ----------------------------------------------------------
>
> Key: STR-1129
> URL: https://issues.apache.org/struts/browse/STR-1129
> Project: Struts 1
> Issue Type: Improvement
> Components: Tiles
> Affects Versions: Nightly Build
> 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.