Hi Patrick, I think a jira issue for this would be a good idea.
Regards Scott HotWax Media http://www.hotwaxmedia.com On 25/11/2009, at 9:12 AM, Patrick Antivackis wrote:
Hello,I discover that in the parameters map available in the context, get or postparameters can override session and application attributes. The way to create the parameters map isthe following in UtilHttp.getCombinedMap :combinedMap.putAll(getServletContextMap(request, namesToSkip)); //bottom level application attributescombinedMap.putAll(getSessionMap(request, namesToSkip)); //session overrides applicationcombinedMap.putAll(getParameterMap(request)); //parameters override sessioncombinedMap.putAll(getAttributeMap(request)); //attributes trump them allI understand that session can override application attributes, but I dontunderstand why Parameters can override them. For example if you try the following : https://localhost:8443/webtools/control/main?mainDecoratorLocation=component://ecommerce/widget/CommonScreens.xmlYou will be surprised. This also mean, that whatever configuration you areputting in the web.xml, can be overriden by get or post parameters. Do I miss something, or should I filled a JIRA ? Thank you
smime.p7s
Description: S/MIME cryptographic signature
