Hi all.<br><br>Thanks for feedback!<br><br>I&#39;ve made the suggested change by creating the map in the onload=&quot;init()&quot; event of the body, but now I am getting this error:<br><br><span style="color: rgb(255, 0, 0);"></span><span style="color: rgb(255, 0, 0);">Message: &#39;undefined&#39; is null or not an object</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Line: 12041</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Char: 17</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Code: 0</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">URI: <a href="http://cdewocat.unibe.ch/wocatQM_2/mapfish/client/mfbase/ext/ext-all-debug.js">http://cdewocat.unibe.ch/wocatQM_2/mapfish/client/mfbase/ext/ext-all-debug.js</a></span><br>
<br>Regards,<br>Herman<br><br><div class="gmail_quote">On Mon, Feb 15, 2010 at 10:17 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;">
<div class="im">On 2010-02-15 09:07, Eric Lemoine wrote:<br>
&gt; On Monday, February 15, 2010, Andreas Hocevar &lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; On 2010-02-14 12:50, Herman Badenhorst wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi all.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; My map works fine in mozilla firefox 3.5.7, but with IE8 am am getting<br>
&gt;&gt;&gt; the following error.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Message: Unspecified error.<br>
&gt;&gt;&gt; Line: 85<br>
&gt;&gt;&gt; Char: 9<br>
&gt;&gt;&gt; Code: 0<br>
&gt;&gt;&gt; URI:<br>
&gt;&gt;&gt; <a href="http://cdewocat.unibe.ch/wocatQM_2/mapfish/client/mfbase/openlayers/lib/OpenLayers/Renderer/VML.js" target="_blank">http://cdewocat.unibe.ch/wocatQM_2/mapfish/client/mfbase/openlayers/lib/OpenLayers/Renderer/VML.js</a><br>

&gt;&gt;&gt;<br>
&gt;&gt; You are creating your map too early. Execute your createMap method in a<br>
&gt;&gt; document.onload handler (instead of Ext.onReady), and things will be fine.<br>
&gt;&gt;<br>
&gt; Andreas, would you consider this a bug in Ext.onReady?<br>
&gt;<br>
<br>
</div>Not necessarily, because the documentation of Ext.onReady says<br>
<br>
&quot;Fires when the document is ready (before onload and before images are<br>
loaded)&quot;<br>
<br>
*before onload*. Microsoft&#39;s documentation does not say when<br>
document.namespaces is ready, but all our OpenLayers examples  use an<br>
init function, which is bound to document.onload, because we know that<br>
document.namespaces is available at the time document.onload is fired.<br>
<br>
Regards,<br>
Andreas.<br>
<br>
&gt; Thanks,<br>
<div class="im">&gt;<br>
&gt;<br>
<br>
<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>
_______________________________________________<br>
</div><div><div></div><div class="h5">Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br>
</div></div></blockquote></div><br>