Thanks Andreas, I&#39;ve just tried your suggestion and it didn&#39;t work. I&#39;m now taking a look at the gml returned by mapserver to see if I need to specify more parameters.<br>On the other hand, I was looking at the highlight feature code in <a href="http://trac.openlayers.org/wiki/Highlighting">http://trac.openlayers.org/wiki/Highlighting</a>, and I wonder if there is a way to control the highlighting with mouse clicks instead of filters.<br>

Any suggestions on this?<br>Regards,<br>Pablo <br><br><div class="gmail_quote">On Wed, Nov 25, 2009 at 1:31 AM, Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
can you please try the following and report back if it works:<div class="im"><br>
<br>
pablo lopez wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
            control = new OpenLayers.Control.GetFeature({<br>
                protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer),<br>
</blockquote>
<br></div>
Instead, use<br>
<br>
               protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer, {<br>
                   featurePrefix: &quot;feature&quot;<br>
               }),<br>
<br>
That&#39;s the only idea I have.<br>
<br>
Regards,<br>
Andreas.<br><font color="#888888">
<br>
-- <br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
</font></blockquote></div><br>