2010/5/21 Mario Nuñez Jimenez <[email protected]>:
> Hello list,
>
> I am using a gridPanel populated with a GeoExt.data.WMSCapabilitiesStore and
> it is already working, the store is configured with a WMS URL but I want to
> change the url taking it from a form and have the grid updated with the new
> WMS capabilities information but I dont know how to do it, may anyone help
> with this?

Try setting a new URL in the proxy used in the wms caps store:

store.proxy.setUrl(newUrl, true);
store.load();

>
>
>
> Now I am creating a new store and loading it in my gridPanel but I cant
> refresh or update it in order to view the capabilities data… my grid doesnt
> update with the new data.

Yes, I'm not sure you can change a grid's store.


Hope it helps,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to