enable env parameter in getlegendgraphic
----------------------------------------

                 Key: GEOS-4158
                 URL: http://jira.codehaus.org/browse/GEOS-4158
             Project: GeoServer
          Issue Type: Improvement
          Components: WMS
    Affects Versions: 2.1-beta1
            Reporter: Hajo Kliemeck
            Assignee: Andrea Aime
            Priority: Minor


should be clear, just replace some code in GetLegendGraphicResponse and add the 
getter/setter on the request object

EnvFunction.setLocalValues(request.getEnv());
try {
    this.delegate = getDelegate(outputFormat);
    this.delegate.produceLegendGraphic(request);
} finally {
    EnvFunction.clearLocalValues();
}

...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to