Hi all.<br><br>Thanks for feedback!<br><br>I've made the suggested change by creating the map in the onload="init()" 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: 'undefined' 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"><<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>></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>
> On Monday, February 15, 2010, Andreas Hocevar <<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>> wrote:<br>
><br>
>> On 2010-02-14 12:50, Herman Badenhorst wrote:<br>
>><br>
>>> Hi all.<br>
>>><br>
>>> My map works fine in mozilla firefox 3.5.7, but with IE8 am am getting<br>
>>> the following error.<br>
>>><br>
>>> Message: Unspecified error.<br>
>>> Line: 85<br>
>>> Char: 9<br>
>>> Code: 0<br>
>>> URI:<br>
>>> <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>
>>><br>
>> You are creating your map too early. Execute your createMap method in a<br>
>> document.onload handler (instead of Ext.onReady), and things will be fine.<br>
>><br>
> Andreas, would you consider this a bug in Ext.onReady?<br>
><br>
<br>
</div>Not necessarily, because the documentation of Ext.onReady says<br>
<br>
"Fires when the document is ready (before onload and before images are<br>
loaded)"<br>
<br>
*before onload*. Microsoft'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>
> Thanks,<br>
<div class="im">><br>
><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>