Dear All,<br>1) How can I set extractAttributes to true in WFS GetFeature Example to get access to feature attributes?<br>I tried with OpenLayers.Protocol.WFS but without success.<br>2) Is it a right way to access attributes?:<br>
control.events.register("featureselected", this, function(e) {<br> select.addFeatures([e.feature]);<br> var feats = e.layer.features; // This is the Layer.Vector<br> for(item in feats) {<br>
atts = item.attributes;<br> alert(atts.first);<br> }<br> OR<br> for(i = 0; i < feats.length; i++) {<br> alert(feats[i].attributes.first);<br> }<br>
});<br><br>WFS GetFeature Example I am customizing is on:<br><a href="http://hboard.iwk.uni-karlsruhe.de:8080/QuickStartWicket-1.0-SNAPSHOT/qswicket/?wicket:bookmarkablePage=:wicketqs.GetFeatureWfs">http://hboard.iwk.uni-karlsruhe.de:8080/QuickStartWicket-1.0-SNAPSHOT/qswicket/?wicket:bookmarkablePage=:wicketqs.GetFeatureWfs</a><br>
<br>Any help would be highly appreciated<br>Alex<br>