You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/01/17 16:31:08 UTC

DO NOT REPLY [Bug 16207] New: - Add ability to import tile attributes into a java.util.Map

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16207>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16207

Add ability to import tile attributes into a java.util.Map

           Summary: Add ability to import tile attributes into a
                    java.util.Map
           Product: Struts
           Version: 1.1 Beta 3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Tiles framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: gc@accucard.com


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}"/>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>