PDA

View Full Version : Ext JS 4.1.3: Multiple MVCs



tharahan-citi
13 Jun 2013, 11:49 AM
I have two different ext js mvc apps with two different package structure.

|---A
|--- controller
|---- model
| ---- store
|---- view
|---B
|--- controller
|---- model
|---- store
|---- view
|--pkgA.view.viewA
|-- viewB
a.js // app.js for A
a.jsp
b.js // app.js for B
b.jsp

B uses A. Therefore I defined and accessed in the b.js with full package name ( eg: pkgA.view.ViewA )
Everything works if I used ext-all-debug.js. But nothing loaded if I use ext-all.js. No error. very strange. As soon as I remove all A's refs in the app.js of B then ext-all.js works
Any ideas?

dawesi
13 Jun 2013, 7:51 PM
Can you please provide a demo app we can put in the examples folder of the api. Cheers.