Hybrid View
-
24 Sep 2012 1:08 PM #1
Integrating Bryntum Ext Scheduler With Cmd generated Ext app
Integrating Bryntum Ext Scheduler With Cmd generated Ext app
Using Cmd 3.0.0.141, I have successfully generated a workspace and an ext app in that workspace. The application builds correctly until I attempt to integrate the Bryntum Scheduler, where I encounter an error when I try to refresh or build:
"Failed to resolve dependency Sch.panel.SchedulerTree for file ExtCalendar.view.Tree"
My structure is:
workspace.senchabuild/common/ext/extCalendar/.sencha/app.jsonindex.htmlapp/model/view/store/controller/app.jssch-all-debug.js (the Bryntum Scheduler file)I've tried:
Adding a "js" path: ...{"path":"app/sch-all-debug.js"}... to app.json (orginally thought this was all I would have to do)
Adding <script src="app/sch-all-debug.js"> to index.html
Adding Ext.Loader.setConfig({ enabled:true, disableCaching : true }) to app.js
Adding Ext.Loader.setPath('Sch', 'js/Sch') to app.js
Adding Ext.require([ 'Sch.panel.SchedulerTree' ]) to app.js
Seems like I'm missing something rudimentary about the Sch namespace, and I'm not sure how to debug the issue....so, I'm doing a lot of trial and error to no avail.
Any advice?
-
26 Sep 2012 10:19 AM #2
Bryntum thread
Bryntum thread
I was able to get a bunch of help for getting the bryntum scheduler integrated with my Cmd generated app on a bryntum thread, but I still haven't resolved the build/refresh dependency issue.
Am I supposed to manually add the bryntum lib to bootstrap.js?
I've added a 'js' path to my app.json that points to the bryntum js file. What else do I need to do to resolve:
Failed to resolve dependency Sch.panel.SchedulerTree for file ExtCalendar.view.Tree
when I run $ sencha app build or $ sencha app refresh
-
2 Oct 2012 9:32 AM #3
related thread
Thank you for reporting this bug. We will make it our priority to review this report.



Reply With Quote