just figured out: firebug shows that extractAttributes is already true.<br>But why there is no attributes? Do I need to add them extra or they added with:<br>control.events.register(&quot;featureselected&quot;, this, function(e) {<br>
    select.addFeatures([e.feature]);<br>}<br><br><div class="gmail_quote">2010/4/8 Alex Zeit <span dir="ltr">&lt;<a href="mailto:zeitalex@googlemail.com">zeitalex@googlemail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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(&quot;featureselected&quot;, 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 &lt; 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" target="_blank">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><font color="#888888">Alex<br>
</font></blockquote></div><br>