DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34849>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34849 ------- Additional Comments From [EMAIL PROTECTED] 2005-05-28 06:50 ------- (In reply to comment #17) > The PageContext (via JspContext) defines returing type for > getAttributeNamesInScope() as Enumeration Yes, sorry I missed that - but I'm now wondering whats the point of creating this mock PageContext? I can see the advantage of searching scopes, but not in setting and removing attributes. Could the pageContext var not just be a Map implementation that includes the scope searching? On the EnumeratedMap issue - Commons Chain provides a set of Map decorators (see http://tinyurl.com/csn6j) for the objects your're using with EnumeratedMap: ServletApplicationScopeMap ServletHeaderMap ServletHeaderValuesMap ServletParamMap ServletParamValuesMap ServletRequestScopeMap ServletSessionScopeMap ServletInitParamMap You can't use these directly, as they're private to Commons Chain, but they're already created in the WebContext - so all you would need to do is get hold of that (or create a new one) and call the appropriate methods to retrieve the Maps. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]