Sorry for disturbing again but I've just made a lapsus-calami and I have to correct myself.<div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; ">OpenLayers.Layer.WMS.Post was sending POST (not OpenLayers.Layer.WMS)</span></div>
<div><font class="Apple-style-span" face="Verdana, Arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="Verdana, Arial, sans-serif">Regards!</font></div><div><font class="Apple-style-span" face="Verdana, Arial, sans-serif"><br>
</font></div><div><br><div class="gmail_quote">On Sun, Jun 5, 2011 at 10:48 PM, Sasha Milenkovic <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=6443167&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
That's it!<div>With OL 2.11-rc1, the code works as expected. It sends POST request depending on the request string length.</div><div><div><br></div><div>Previously, I was using OL 2.10 and this problem was confusing me. (On the other hand, <span style="font-family:Verdana, Arial, sans-serif;font-size:13px">OpenLayers.Layer.WMS was sending POST, as expected ?!<span style="font-family:arial;font-size:small">)</span></span></div>
<div><br></div><div>Hopefully, this problem belongs to history, now.</div><div><br></div><div>Thank You very much!</div><div><br></div><div>Regards!</div><div><br><div class="gmail_quote"><div class="im">On Sat, Jun 4, 2011 at 3:44 PM, Andreas Hocevar-2 [via OSGeo.org] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=6443167&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div>
        Maybe it's just that your OpenLayers version is too old and POST
<br>requests are not yet supported. Try upgrading to 2.11-rc1.
<br><br>Andreas.
<br><br></div></div><div class="im"><div><div></div><div>On Tue, May 31, 2011 at 11:04 AM, sasamil <<a href="http://user/SendEmail.jtp?type=node&node=6439189&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:
</div></div></div><div><div class="im"><div><div></div><div><div class='shrinkable-quote'><br>> This is my code (ms4w-mapserver):
<br>>
<br>> wmsLayer = new OpenLayers.Layer.WMS("Layer WMS",
<br>> "<a href="http://mywmsserver.php?SERVICE=WMS&" rel="nofollow" link="external" target="_blank">http://mywmsserver.php?SERVICE=WMS&</a>",
<br>> {layers: "abcd", transparent: true},
<br>> {isBaseLayer: false, visibility: false,
<br>> tileOptions: {maxGetUrlLength: 2048}});
<br>> map.addLayer(wmsLayer);
<br>>
<br>> It does work but it sends GET request ?!
<br>>
<br>> When I change maxGetUrlLength to be whatever... (for example -
<br>> maxGetUrlLength: 8) everything is the same... It works but there is no POST
<br>> request. GET request is being sent, anyway?!
<br>>
<br>> Can somebody help? That what I really need is sending a POST request.
<br>>
<br>>
<br>> --
<br>> View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6421937.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6421937.html</a></div>
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
<br>> _______________________________________________
<br>> Users mailing list
<br></div></div></div>> <a href="http://user/SendEmail.jtp?type=node&node=6439189&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><div class="im"><div>> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>>
</div></div></div><br><br><div><div class="im"><br>--
<br>Andreas Hocevar
<br>OpenGeo - <a href="http://opengeo.org/" rel="nofollow" link="external" target="_blank">http://opengeo.org/</a><br>Expert service straight from the developers.
<br></div>_______________________________________________
<br>Users mailing list
<br></div><a href="http://user/SendEmail.jtp?type=node&node=6439189&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><div class="im"><div><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
        
        <br>
        <br>
        </div></div><div class="im"><hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6439189.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6439189.html</a>
        </div>
        </div><div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                
                To unsubscribe from Apply thematic in WMS layer using too long sld, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.
        </div></blockquote></div><br><br clear="all"><br>-- <br>Macte animo!<br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Macte animo!<br>
</div>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6443167.html">Re: Apply thematic in WMS layer using too long sld</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>