1. #1
    Sencha Premium Member
    Join Date
    Jun 2012
    Location
    Boston, MA
    Posts
    44
    Vote Rating
    3
    chrisfarrell is on a distinguished road

      0  

    Default 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
    .sencha
    build/
    common/
    ext/
    extCalendar/
    .sencha/
    app.json
    index.html
    app/
    model/
    view/
    store/
    controller/
    app.js
    sch-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?

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2012
    Location
    Boston, MA
    Posts
    44
    Vote Rating
    3
    chrisfarrell is on a distinguished road

      0  

    Default 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

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2012
    Location
    Boston, MA
    Posts
    44
    Vote Rating
    3
    chrisfarrell is on a distinguished road

      0  

    Default related thread

    related thread


    More info in this thread.

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar