title: dynamic styling and filtering of a geoserver wms using openlayers.layer.wms.post with legend
body: <p>I have defined a WMS.Post layer in a map as suggested <a href="http://underdark.wordpress.com/2010/06/10/dynamic-styling-and-filtering-of-a-geoserver-wms-using-openlayers-layer-wms-post/" rel="nofollow">here</a> for dynamic styling porposes because I have a parametric filter dependent from the feature of the WMS layer I asked for.
  The problem is that I need to setup a legend inside a LegendPanel GeoExt object. I see that when the legend panel asks for the legend to geoserver the service is called with a GET method and when the given sld style is too long the call fails. How can I force the panel to use a POST method?</p>
  
  <p>This is how my legendPanel is defined:</p>
  
  <pre><code>var legendPanel = new GeoExt.LegendPanel({
      title: "Legenda",
      bodyStyle: "padding:5px",
      labelCls: "mylabel",
      split: true,
      map: map,
      region: "center",
      autoScroll: true
  });
  </code></pre>
  
  <p>Thank you for any help</p>
  
  <p>M.</p>