Hi all,<br>
my problem is:<br>
I have a map with two wms layers served by GeoServer, and would like<br>
to display in a pop-up some attributes of the second layer.<br>
I would also like to customize the pop-ups.<br>
I tried several ways but the one I work is:<br>#info = new OpenLayers.Control.<div id=":30" class="ii gt">#WMSGetFeatureInfo ((<br>#            url: &#39;<a href="http://10.0.0.161:8080/geoserver/wms" target="_blank">http://10.0.0.161:8080/geoserver/wms</a>&#39;,<br>
#           title: &#39;Identify features by clicking&#39;,<br>#            queryVisible: true,<br>
#            eventListeners: (<br>
#                getfeatureinfo: function (event) (<br>
#                    map.addPopup (new OpenLayers.Popup.FramedCloud (<br>
#                        &quot;Chicken&quot;<br>
#                        map.getLonLatFromPixel (event.xy)<br>
#                        null<br>
#                        event.text,<br>
#                        null<br>
#                        true<br>
#                    ));<br>
#                )<br>
#            )<br>
#        ));<br>
#        map.addControl (info);<br>
#        info.activate ();<br>
<br>
With this code, however, I see the pop-up with &quot;all&quot; attributes in a table.<br>
There is an alternative way, which doesn&#39;t uses GML, KML and other<br>
formats, but uses only wms or wfs?<br>
<br>
Another problem:<br>
I tried with wfs but even I can not see nothing on the map!<br>
I&#39;ve tried with this code:<br>
<br>
#var wfslayer = new OpenLayers.Layer.Vector(&quot;WFS&quot;, {<br>
 #   strategies: [new OpenLayers.Strategy.BBOX()],<br>
 #   protocol: new OpenLayers.Protocol.WFS({<br>
 #             url:  &quot;<a href="http://10.0.0.161:8080/geoserver/wfs" target="_blank">http://10.0.0.161:8080/geoserver/wfs</a>&quot;,<br>
 #             featureType: &quot;aeroporti&quot;,<br>
 #             featureNS: &quot;<a href="http://geoserver.org/" target="_blank">http://geoserver.org</a>&quot;,<br>
 #             srsName: &quot;EPSG:4326&quot;,<br>
 #             version: &quot;1.0.0&quot;<br>
 #             })<br>
#});<br>
<br>
<br>
thanks to all</div><br><br>-- <br>-beppe-<br><br>