[OpenLayers-Users] Problems w/ sqlview and passing commas

Charles Galpin cgalpin at lhsw.com
Tue Sep 13 09:34:56 EDT 2011


On Sep 13, 2011, at 9:19 AM, Tito, Joseph wrote:

> Charles,
>  
> Were you passing the viewparams like I am through javascript? Would you be able to show me your javascript code and the sqlview you created? Maybe I’m missing something small?

My javascript boils down to 

var viewparams = 'ids:1\\,2\\,3';
store.load({ 
	...
	params: {
		...
		viewparams: viewparams
	}
});	

Where my store is a GeoExt.data.FeatureStore with a OpenLayers.Layer.Vector layer

hth
charles


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110913/994cca6b/attachment.html


More information about the Users mailing list