The solution was simply to take the protocol outside the formPanel and use "protocol.options.url = newUrl;", simple like that! -- View this message in context: http://osgeo-org.1560.n6.nabble.com/replacing-url-in-OpenLayers-Protocol-HTTP-tp5026602p5034366.html Sent from the OpenLayers Users mailing list archive at Nabble.com.