<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6001.18294" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" leftMargin=0
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Arial size=2>Is this application on a server or are you testing
it locally?</FONT></DIV>
<DIV><FONT face=Arial size=2>If you are testing locally then I would think a
'local zone' 'active content' security setting in IE7 might be preventing the
XML file from ever being accessed.</FONT></DIV>
<DIV><FONT face=Arial size=2>If you are testing from a server then I am equally
lost, since it easily passes any 'same origin policy' restrictions.</FONT></DIV>
<DIV><FONT face=Arial size=2>My other guess would be that you may need to
explicitly include VML support in the page metatags or in
OpenLayers.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Using tools like Fiddler & Web Developer
Express will help you debug this in IE. You should uncheck "Disable Script
Debugging" in the Advanced Internet Options for IE. Then give us any error
message and the bit of offending code.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Matt Priour</FONT></DIV>
<DIV><FONT face=Arial size=2>Kestrel Computer Consulting</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=aidianholder@gmail.com
href="mailto:aidianholder@gmail.com">Aidian Holder</A> </DIV>
<DIV><B>Sent:</B> Friday, September 04, 2009 3:41 PM</DIV>
<DIV><B>To:</B> <A title=users@geoext.org
href="mailto:users@geoext.org">users@geoext.org</A> </DIV>
<DIV><B>Subject:</B> [Users] Internet Explorer issues</DIV></DIV></DIV>
<DIV><BR></DIV>Hi all,<BR>I've got a problem with internet explorer I'm hoping
someone can help me with.<BR>I've got a linked grid panel-feature store-vector
layor set up, similar to one of the examples on the geo-ext site, for displaying
data from a GML file. It works fine in Firefox, but is blank in internet
explorer 7.<BR>The code is below, first the obvious parts, then the whole page
worth.<BR>Any insight would be welcome; I'm pulling my hair out trying to figure
this out.<BR><BR>Thanks,<BR>Aidian Holder<BR><BR><B><BR>Here in the obviously
relevant code, the full page code is below that:</B><BR>var fireLines = new
OpenLayers.Layer.Vector("Fire
Lines");<BR>
map.addLayer(fireLines);<BR><BR>var store = new
GeoExt.data.FeatureStore({<BR>
layer:
fireLines,<BR>
proxy: new
GeoExt.data.ProtocolProxy({<BR>
protocol: new
OpenLayers.Protocol.HTTP({<BR>
url:
"gml/perimeters.xml",<BR>
format: new
OpenLayers.Format.GML()<BR>
})<BR>
}),<BR>
fields:
[<BR>
{name: 'FIRE_NAME', type:
'string'},<BR>
{name: 'ACRES', type:
'string'},<BR>
{name: 'LOAD_DATE', type:
'string'}<BR>
],<BR>
autoLoad: true<BR>
});<BR>
<BR>
<BR> var detailsPanel = new
Ext.grid.GridPanel({<BR>
title: "Active
Fires",<BR>
region:
"west",<BR>
border:
true,<BR>
store:
store,<BR>
columns: [{header: 'Name', dataIndex:
'FIRE_NAME'},<BR>
{header: 'Acreage', dataIndex:
'ACRES'},<BR>
{header: 'Updated', dataIndex:
'LOAD_DATE'}],<BR>
width:
300,<BR>
height:
600,<BR> sm:
new
GeoExt.grid.FeatureSelectionModel()<BR>
});<BR><BR><BR><B>Full Page code:</B><BR><!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01 Transitional//EN"><BR><html
lang="en"><BR><head><BR> <title><!-- Insert
your title here --></title><BR> <style
type="text/css"><BR>
<BR> .zoomin
{<BR> background-image:
url(<A
href="http://69.62.213.170/geoext/img/icon_zoomin.png">http://69.62.213.170/geoext/img/icon_zoomin.png</A>)
!important;<BR>
height:20px
!important;<BR> width:20px
!important;<BR>
}<BR> .zoomout
{<BR> background-image:
url(<A
href="http://69.62.213.170/geoext/img/icon_zoomout.png">http://69.62.213.170/geoext/img/icon_zoomout.png</A>)
!important;<BR>
height:20px
!important;<BR> width:20px
!important;<BR>
}<BR> .zoomfull
{<BR>
background-image:url(<A
href="http://69.62.213.170/geoext/img/icon_zoomfull.png">http://69.62.213.170/geoext/img/icon_zoomfull.png</A>)
!important;<BR>
height:20px
!important;<BR> width:20px
!important;<BR>
}<BR> .pan
{<BR>
background-image:url(<A
href="http://69.62.213.170/geoext/img/icon_pan.png">http://69.62.213.170/geoext/img/icon_pan.png</A>)
!important;<BR>
height:20px
!important;<BR> width:20px
!important;<BR>
}<BR> .info
{<BR>
background-image:url(<A
href="http://69.62.213.170/geoext/img/info.png">http://69.62.213.170/geoext/img/info.png</A>)
!important;<BR>
height:20px
!important;<BR>
width:20px
!important;<BR>
<BR>
}<BR> .back
{<BR>
background-image:url(<A
href="http://69.62.213.170/geoext/img/resultset_previous.png">http://69.62.213.170/geoext/img/resultset_previous.png</A>)
!important;<BR>
height:20px
!important;<BR>
width:20px
!important;<BR>
<BR>
}<BR> .next
{<BR>
background-image:url(<A
href="http://69.62.213.170/geoext/img/resultset_next.png">http://69.62.213.170/geoext/img/resultset_next.png</A>)
!important;<BR>
height:20px
!important;<BR>
width:20px
!important;<BR>
<BR>
}<BR></style><BR><BR><script src="OpenLayers.js"
type="text/javascript"></script><BR><script src="<A
href="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAswMtbwtotJmv90ak01iBixQU8MLjHkCOgUOFxqy3Ydl6JRQ1exRBk-QjQ5UGpjClJkRmte_it9YuCA">http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAswMtbwtotJmv90ak01iBixQU8MLjHkCOgUOFxqy3Ydl6JRQ1exRBk-QjQ5UGpjClJkRmte_it9YuCA</A>"
type="text/javascript"></script><BR><script
src="ext-2.3.0/adapter/ext/ext-base.js"
type="text/javascript"></script><BR><script
src="ext-2.3.0/ext-all.js"
type="text/javascript"></script><BR><link rel="stylesheet"
type="text/css"
href="ext-2.3.0/resources/css/ext-all.css"></link><BR><script
src="GeoExt/GeoExt/lib/GeoExt.js"
type="text/javascript"></script><BR><script
type="text/javascript"><BR><BR>Ext.onReady(function ()
{<BR> var options =
{<BR>
projection: new
OpenLayers.Projection("EPSG:900913"),<BR>
units:
"m",<BR>
maxResolution:
156543.0339,<BR>
resolutions: [156543.03390000001, 78271.516950000005, 39135.758475000002,
19567.879237500001, 9783.9396187500006, 4891.9698093750003, 2445.9849046875001,
1222.9924523437501, 611.49622617187504, 305.74811308593752, 152.87405654296876,
76.43702827148438, 38.21851413574219, 19.109257067871095, 9.5546285339355475,
4.7773142669677737, 2.3886571334838869, 1.1943285667419434, 0.59716428337097172,
0.29858214168548586],<BR>
maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508,
20037508.34)<BR>
};<BR> <BR> var map
= new OpenLayers.Map('map', options);<BR><BR>
<BR> var gphy = new
OpenLayers.Layer.Google(<BR> "Physical
Relief",<BR> {type: G_PHYSICAL_MAP,
sphericalMercator: true, isBaseLayer:
true}<BR>
);<BR> gphy.displayInLayerSwitcher =
true;<BR>
map.addLayer(gphy);<BR> var gstreets =
new OpenLayers.Layer.Google(<BR> "Google
Streets",<BR> {sphericalMercator:
true}<BR> );<BR>
gstreets.displayInLayerSwitcher =
true;<BR>
map.addLayer(gstreets);<BR> var gsat =
new OpenLayers.Layer.Google(<BR>
"Satellite",<BR> {type: G_SATELLITE_MAP,
sphericalMercator: true}<BR>
);<BR> gsat.displayInLayerSwitcher =
true;<BR>
map.addLayer(gsat);<BR>
<BR> var fireLines = new
OpenLayers.Layer.Vector("Fire
Lines");<BR>
map.addLayer(fireLines);<BR>
<BR> var modis24 = new OpenLayers.Layer.GML("Modis
24",<BR>
"gml/modis24.xml",<BR>
{style: {'externalGraphic': 'fire_icon.svg.png', 'pointRadius': '6',
'graphicOpacity': '1'}, visibility:
true});<BR>
map.addLayer(modis24);<BR>
<BR> var modis48 = new
OpenLayers.Layer.GML("Modis
48",<BR>
"gml/modis48.xml",<BR>
{style: {'externalGraphic': 'fire_icon.svg.png', 'pointRadius': '6',
'graphicOpacity': '0.6'}});<BR>
map.addLayer(modis48);<BR>
<BR> var modis7 = new
OpenLayers.Layer.GML("Modis
7d",<BR>
"gml/modis7d.xml",<BR>
{style: {'externalGraphic': 'fire_icon.svg.png', 'pointRadius': '6',
'graphicOpacity': '0.3'}});<BR>
map.addLayer(modis7);<BR><BR> var
sacto = new OpenLayers.LonLat(-13523315.47936,
4661053.54715);<BR> map.setCenter(sacto,
6);<BR>
<BR> var toolbarItems =
[]<BR> var createToolbar = function()
{<BR> var
action;<BR><BR>
var createSeparator = function()
{<BR>
toolbarItems.push("
");<BR>
toolbarItems.push("-");<BR>
toolbarItems.push("
");<BR>
};
<BR><BR>
action = new
GeoExt.Action({<BR>
control: new
OpenLayers.Control.ZoomToMaxExtent(),<BR>
map:
map,<BR>
iconCls:
'zoomfull',<BR>
toggleGroup:
'map',<BR>
tooltip: 'Zoom to full
extent'<BR>
});<BR><BR>
toolbarItems.push(action);<BR><BR>
createSeparator();<BR><BR>
action = new
GeoExt.Action({<BR>
control: new
OpenLayers.Control.ZoomBox(),<BR>
tooltip: 'Zoom in: click in the map or use the left mouse button and drag to
create a
rectangle',<BR>
map:
map,<BR>
iconCls:
'zoomin',<BR>
toggleGroup:
'map'<BR>
});<BR><BR>
toolbarItems.push(action);<BR><BR>
action = new
GeoExt.Action({<BR>
control: new
OpenLayers.Control.ZoomBox({<BR>
out:
true<BR>
}),<BR>
tooltip: 'Zoom out: click in the map or use the left mouse button and drag to
create a
rectangle',<BR>
map:
map,<BR>
iconCls:
'zoomout',<BR>
toggleGroup:
'map'<BR>
});<BR><BR>
toolbarItems.push(action);<BR><BR>
action = new
GeoExt.Action({<BR>
control: new
OpenLayers.Control.DragPan({<BR>
isDefault:
true<BR>
}),<BR>
tooltip: 'Pan map: keep the left mouse button pressed and drag the
map',<BR>
map:
map,<BR>
iconCls:
'pan',<BR>
toggleGroup:
'map'<BR>
});<BR><BR>
toolbarItems.push(action);<BR><BR>
createSeparator();<BR><BR>
ctrl = new
OpenLayers.Control.NavigationHistory();<BR>
map.addControl(ctrl);<BR><BR>
action = new
GeoExt.Action({<BR>
tooltip: "Previous
view",<BR>
control:
ctrl.previous,<BR>
iconCls:
'back',<BR>
disabled:
true<BR>
});<BR>
toolbarItems.push(action);<BR><BR>
action = new
GeoExt.Action({<BR>
tooltip: "Next
view",<BR>
control:
ctrl.next,<BR>
iconCls:
'next',<BR>
disabled:
true<BR>
});<BR>
toolbarItems.push(action);<BR>
<BR>
createSeparator();
<BR>
};<BR>
<BR>
createToolbar();<BR>
<BR> var store = new
GeoExt.data.FeatureStore({<BR>
layer:
fireLines,<BR>
proxy: new
GeoExt.data.ProtocolProxy({<BR>
protocol: new
OpenLayers.Protocol.HTTP({<BR>
url:
"gml/perimeters.xml",<BR>
format: new
OpenLayers.Format.GML()<BR>
})<BR>
}),<BR>
fields:
[<BR>
{name: 'FIRE_NAME', type:
'string'},<BR>
{name: 'ACRES', type:
'string'},<BR>
{name: 'LOAD_DATE', type:
'string'}<BR>
],<BR>
autoLoad: true<BR>
});<BR>
<BR>
<BR> var detailsPanel = new
Ext.grid.GridPanel({<BR>
title: "Active
Fires",<BR>
region:
"west",<BR>
border:
true,<BR>
store:
store,<BR>
columns: [{header: 'Name', dataIndex:
'FIRE_NAME'},<BR>
{header: 'Acreage', dataIndex:
'ACRES'},<BR>
{header: 'Updated', dataIndex:
'LOAD_DATE'}],<BR>
width:
300,<BR>
height:
600,<BR> sm:
new
GeoExt.grid.FeatureSelectionModel()<BR>
});<BR><BR> var mapPanel = new
GeoExt.MapPanel({<BR>
height:
600,<BR>
width:
524,<BR>
border:
true,<BR>
region:
'center',<BR>
map: map,<BR>
center: new
OpenLayers.LonLat(-13523315.47936,4661053.54715),<BR>
zoom: 6,<BR>
tbar: toolbarItems<BR>
});<BR> var treeConfig =
[<BR>
{<BR>
"nodeType":
"gx_baselayercontainer"<BR>
},<BR>
{<BR>
"nodeType":
"gx_overlaylayercontainer",<BR>
"loader":
{<BR>
"baseAttrs":
{<BR>
"radioGroup":
"foo"<BR>
}<BR>
}<BR>
},<BR>
{<BR>
"nodeType":
"gx_layer",<BR>
"layer": "Fire
Lines"<BR>
}<BR>
]<BR> var tree = new
Ext.tree.TreePanel({<BR>
border:
true,<BR>
region:
'east',<BR>
title:
"Layers",<BR>
width:
200,<BR>
height:
600,<BR>
split:
true,<BR>
autoScroll:
true,<BR>
loader: new
Ext.tree.TreeLoader({<BR>
applyLoader:
false<BR>
}),<BR> root:
{<BR>
nodeType:
"async",<BR>
children:
treeConfig<BR>
},<BR>
rootVisible:
false,<BR>
lines: false<BR>
});<BR> <BR> var mainView = new
Ext.Panel({<BR> layout:
'border',<BR> renderTo:
'view',<BR> height:
400,<BR> width:
1024,<BR> items: [detailsPanel,
mapPanel, tree]<BR>
})<BR>});<BR></script><BR></head><BR><body><BR>
<div id="view"></div><BR> <BR>
<BR></body><BR></html><BR clear=all>Aidian Holder<BR><BR>It is not
necessary to remind you that the fact that your voice is amplified to the degree
where it reaches from one end of the country to the other does not confer upon
you greater wisdom or understanding than you possessed when your voice reached
only from one end of the bar to the other.<BR>-Edward R. Murrow<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Users mailing
list<BR>Users@geoext.org<BR>http://www.geoext.org/cgi-bin/mailman/listinfo/users<BR></BODY></HTML>