[OpenLayers-Users] Re: need a little help with this ( user input &
wfsprotocol.read )
Albert
alnooori at hotmail.com
Sat Mar 17 03:14:53 EDT 2012
*i tried this functionality for search and it works fine.
but I want to show error message if user insert a wrong test (not included
in id column records)
is this ok ? *
function processTheQuery(request) {
*if (request.data == null)
alert(' please insert again');*
if (request.data && request.data.bbox) {
var b = request.data.bbox;
sExt = new OpenLayers.Bounds(b[0],b[1],b[2],b[3]);
}else {
var fts = request.features;
if (fts.length>0) {
sExt = fts[0].geometry.getBounds().clone();
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/need-a-little-help-with-this-user-input-wfsprotocol-read-tp4468479p4627355.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list