<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Ok, sorry guys I had a typo,error at my code.</div>
<div>I can now confirm that my wfs layer is loaded but my attributestore is all time empty at IE. </div>
<div> <br>var styleMap = new OpenLayers.StyleMap({<br> strokeColor: "red",<br> strokeWidth: 5,<br> strokeOpacity: 0.5,<br> fillOpacity: 0.4<br> });<br><br> var wfs2 = new OpenLayers.Layer.Vector("WFS_layer", <br> { styleMap: styleMap,<br> strategies: [new OpenLayers.Strategy.Fixed()],//if I use Strategy.BBOX() I get an exception with version 1.1.0<br>
protocol: new OpenLayers.Protocol.WFS({<br><span> url: "<a target="_blank" href="http://myserver:81/geoserver/wfs?service=wfs">http://myserver:81/geoserver/wfs?service=wfs</a>", </span><br><span> featureNS: "<a target="_blank" href="http://geonetwork-opensource.org">http://geonetwork-opensource.org</a>", </span><br> featureType: "myalyer", <br> geometryName: "SHAPE", <br> srsName: "EPSG:4326",<br>
version: "1.1.0" <br> <br> }),<br> //isBaseLayer: false, visibility: true,transparent: true,<br> projection: new OpenLayers.Projection("EPSG:4326")<br> });<br></div>
<div> <br><br></div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">var attributeStore = new GeoExt.data.FeatureStore({<br> fields: [{name: 'BNAME', type: 'string'}],<br> proxy: new GeoExt.data.ProtocolProxy({<br><br> protocol: new OpenLayers.Protocol.WFS({<br> url: "/geoserver/wfs?service=wfs", <br><span> featureNS: "<a target="_blank" href="http://geonetwork-opensource.org">http://geonetwork-opensource.org</a>",</span><br> featureType: "Waldbiotope", <br>
geometryName: "SHAPE", <br> srsName: "EPSG:4326",//"urn:x-ogc:def:crs:EPSG:6.11.2:4326",//"EPSG:4326",//"EPSG:900913",//"EPSG:31467",<br> version: "1.1.0",<br> extractAttributes: true<br> })<br> <br> })<br> , autoLoad: true<br> });<br><br>Thanks.<br><br>Sarah<br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2">
<hr size="1">
</font><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>Update:</div>
<div>my first post was only for Firefox: With IE8 I get my attributeStore but no WFS layer (a error report referencing OpenLayers/Format/XML.js line 128: object does not support this attribute or method. (line 128 is: var index = text.indexOf('<'); ) ).</div>
<div> </div>
<div>Is this issue a browser one or a coding problem?</div>
<div> </div>
<div>Any thoughts about that?<br></div>
<div>Thanks.</div>
<div>best regards</div>
<div>Sarah</div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2">
<hr size="1">
<br></font><br>
<div style="font-family: times new roman,new york,times,serif; color: rgb(0, 0, 0); font-size: 12pt;">
<div>Hi list,</div>
<div> </div>
<div>I´ve noticed a strange behaviour with my wfs layer at my map:</div>
<div>my code is at Geoserver www directory (Geoserver 1.7.x comes with Geonetwork and is at webapps directory of my tomcat, so I have to authentificate at tomcat). After I had authentificated my wfs layer and attributestore came up, but if i refresh my map they don`t come up (only some irregular times either of them) but I get a 200 response at firebug.</div>
<div> </div>
<div>If you need some code or something else let me know.</div>
<div> </div>
<div>Anybody has an idea?</div>
<div> </div>
<div>Thanks.</div>
<div>best regards</div>
<div>Sarah</div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br><span><a target="_blank" href="http://mail.yahoo.com">http://mail.yahoo.com</a> </span></div></div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br><span><a target="_blank" href="http://mail.yahoo.com">http://mail.yahoo.com</a> </span></div></div></div>
</div><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br>http://mail.yahoo.com </body></html>