Re: [Geoserver-users] Accessing request parameters in Freemarker templates

2010-09-22 Thread Justin Deoliveira
Hi Rohan, In short no it is not possible to access the request object or request parameters from a template. Although it would be possible to hook them up it take a bit of coding. About your issue. How exactly are you doing the filtering? Are you using a filter on the wms request? -Justin On

Re: [Geoserver-users] Accessing request parameters in Freemarker templates

2010-09-22 Thread melanchthon76
I'm doing the filtering by passing styles to the server via the WMS request. I have a style with an else rule that only displays within a certain date range. I got the default style sheet by serializing the rule using the OpenLayers SLD.write() method, removing the filter and unnecessary

[Geoserver-users] Accessing request parameters in Freemarker templates

2010-09-21 Thread Rohan Parkes
I have an OpenLayers application that uses style rules to only show WMS data in a layer that matches certain criteria. However, it has an info tool that uses the OpenLayers WMSGetFeatureInfo control to get popup information about the layer. This uses the WMS GetFeatureInfo mode, and the popups