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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to