PDA

View Full Version : error in ie9 (firefox works fine), with mvc controller.getview()



maneljn
17 Jun 2012, 11:51 PM
i try this



var lanzador = Ext.globalApp.getBundle(registro.data.apl_bundle).getView('programa.lanzador').create();


This is an mvc controller (Ext.globalApp.getBundle(registro.data.apl_bundle))
In IE9 the getView returns null, but in firefox it works fine.
I cannot understand why.

The only solution i found, but not funny (emulate ie8)


<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >

maneljn
17 Jun 2012, 11:53 PM
Sorry, i tried it with Extjs 4.1 and 4.1.1 RC2 and does the same problem

scottmartin
25 Jun 2012, 2:06 PM
Where is this coming from?

Ext.globalApp.getBundle(..)

Scott

maneljn
25 Jun 2012, 11:12 PM
from Mandro MVC multi-app aproach

http://www.sencha.com/forum/showthread.php?175784-Multi-instance-mvc-application

scottmartin
26 Jun 2012, 6:25 AM
I am not familiar with his code. I would suggest contact the author to see if he has any suggestions about his library. It could be a change in our latest API causing a hiccup in his code.

Scott.