PDA

View Full Version : ComponentArt and Ext.fly error in IE



mhaberman
29 Nov 2007, 2:36 PM
When i place any ComponentArt control into a div that an Ext.Panel is using as its content then i get the error 'Ext.fly(...)' is null or not an object. This only happens in IE however and not firefox. Anyone have experience with this?

Anyone succesfully used ComponentArt is conjunction with Ext?

mhaberman
3 Dec 2007, 3:59 PM
I saw in this post that another person moved their javascript below the form tag,
http://extjs.com/forum/showthread.php?t=4778&highlight=operation+aborted&page=2

eg
html stuff...
</form>
ext javascript stuff...
</body>

It worked...Anyone know why?

evant
3 Dec 2007, 4:00 PM
Not really sure, however the ComponentArt javascript is really poor, it's a shame they don't refactor it to be more unobstrusive.

mhaberman
7 Dec 2007, 12:09 PM
Its very odd. When the parent panel of the componentart control is a TabPanel then everything works fine.

Anyone have any other sugggestions? Ideally i would like to run the EXT code inside the form tag...

mhaberman
7 Dec 2007, 1:04 PM
When i replace Ext.OnReady with this loader, everything seems to be ok.

http://www.thefutureoftheweb.com/blog/2006/6/adddomloadevent

Might there be a bug with Ext.OnReady that doesn't work with IE7 correctly?