Hi again guys, 

its possible to pass "viewparams" to WFS (via post payload) like this 
example... im try a lots of ways buy no-one works =(

var testLayer = new OpenLayers.Layer.Vector("Test", {
  strategies: [new OpenLayers.Strategy.BBOX()],
  protocol: new OpenLayers.Protocol.WFS({
    version: "1.0.0",
    url: "/geoserver/wfs",
    featurePrefix: "test",
    featureType: "test",
    featureNS: "http://www.foo.com/foo";,
    geometryName: "Point", 
    viewparams: "foo:var;"
  })
});


thks !

--
Ariel Falduto
afald...@gmail.com





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to