<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
</div>
<blockquote
cite="mid:CAHRZm1vSjWyzpGSxs3AU3evD7F9S0qOAmBrYPGN-S=8ZruzhPQ@mail.gmail.com"
type="cite"><br>
<div>Actually that is where I am confused. I am already using
the OpenLayers.Handler.Polygon for the draw feature and I am not
sure how or where to include the <span
style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">OpenLayers.Control.SLDSelect
as it also needs the </span><font color="#222222" face="arial,
sans-serif">OpenLayers.Handler.Polygon, according to the
example.</font></div>
</blockquote>
You use SLDSelect instead of drawfeature.<br>
<br>
My code for using the SLD + WFS looks something like:<br>
<br>
sldCtrl = new
OpenLayers.Control.SLDSelect(OpenLayers.Handler.Polygon,<br>
{<br>
displayClass:
'olControlSLDSelectPolygon',<br>
layers:mylayer<br>
}); <br>
sldCtrl.events.register("selected", this,
function(e){<br>
// application specific code to clean up
popups etc, and populate propNames, plus fixup SRS in filter if
needed goes here.<br>
// propNames ONLY contains desired attributes
and does not include SHAPE<br>
wfsProtocol.read({ // wfsProtocol previous
create<br>
filter: e.filters[0],<br>
propertyNames: propNames, <br>
callback: processSpatialQuery, <br>
scope: strategy<br>
});<br>
<br>
<p><span style="font-family:'Arial';font-size:8pt; color:#000000;">Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.</span></p>
<p><span style="font-family:'Arial';font-size:8pt; color:#000000;"> </span></p></body>
</html>