Hello, <div>I've created a wfs layer object from OpenLayers.Layer.Vector,</div><div>however when i call its getFeatureBy method and proceed on to fetch an attribute, null</div><div>is returned, i.e</div><div><br></div>
<div>var feature = wfs_layer.getFeatureBy('CountyId', '12');</div><div>var name_ = <a href="http://feature.attributes.Name">feature.attributes.Name</a>;</div><div><br></div><div>apparently Name is infact an attribute field as observed from geoserver while 12 is a valid value.</div>
<div><br></div><div>have i made a mistake or getFeatureBy method doesnt work that way ?</div><div><br></div><div>Thanks.<br><div><br clear="all"><div><br></div>-- <br>Allan Oware <br>Upande LTD | <a href="http://www.upande.com" target="_blank">www.upande.com</a><br>
<br>
</div></div>