You may have to tell your WFS layer that you want to get the attributes from the WFS response. There's an "extractAttributes" option for the WFS layer.
http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/OpenLayers/Layer/WFS-js.html#OpenLayers.Layer.WFS.extractAttributes Hope this helps. Pierre 2008/12/2 莹莹 李 <[EMAIL PROTECTED]>: > hi,list > i have some trouble to add attribute in WFS layers.As you know,only > class OpenLayers.Feature.Vector have Properties attribute.but I get map > layers is WFS layers from geoserver.i do not know how to add attribute for > added point in layers. > > > ________________________________ > 好玩贺卡等你发,邮箱贺卡全新上线! > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users