Hi, and thank you for your answer.
This comma was only a copy/paste mistake, it is not present in my real file.
I just noticed that if I execute a console.log(params) at the beginning of
server side function getCoords, I get this :
{
"code_company": "8501",
"data_company": ["Object object"]
}
my array doesn't seem to be parsed. maybe I can't pass arrays as parameters
in Protocol.HTTP() ?
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Error-when-parsing-array-with-OpenLayers-and-Protocol-HTTP-tp5157904p5157907.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users