Hello GeoServer List,

I just recently resolved the issue of changing my layers style through
OpenLayers using:

myLayer.mergeNewParams({sld
:'file:///usr/local/geoserver-2.0.2/data_dir/styles/myLayerSLD.sld', styles:
null});

and that works great if I am using WMS layers which are not cached by
GeoWebCache.

But if my layers are cached, using the above does not work.  I have also
tried using

myLayer.redraw(true);

Which is an OpenLayers library method that I believe is called automatically
with the call to mergeNewParams, so I knew it wouldn't work.

So now I am assuming that I have to set-up something in my GeoWebCache to
accept dynamic SLD.  Any ideas or hints?

I truly appreciate your help.  Thank you,

elshae
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to