1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    56
    Vote Rating
    -1
    squalo is an unknown quantity at this point

      0  

    Default ReferenceError inAbstractCalendar

    ReferenceError inAbstractCalendar


    Since Extensible is now part of ExtJs4.2 (what's really amazing), I want to port my Extensible app to ExtJS 4.2.
    But unfortunately, I got this Error:
    Dt: [Exception: ReferenceError: Dt is not defined]

    in file examples\calendar\src\AbstractCalendar.js:

    PHP Code:
        setViewBounds: function(startDate) {
           var 
    start startDate || this.startDate,
                
    offset start.getDay() - this.startDay,
                
    Dt Ext.calendar.util.Date;
            switch (
    this.weekCount) {
              case 
    0:
             case 
    1:
                
    this.viewStart this.dayCount startDt.add(start, {days: -offsetclearTimetrue});
               
    this.viewEnd Dt.add(this.viewStart, {daysthis.dayCount || 7});
    .... 
    in Dt.add

    Bug?

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,512
    Vote Rating
    176
    dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of

      0  

    Default


    Extensible created our calendar demo and ux but is still its own business and its products are still for sale - they offer more features than what is included in our calendar ux.

    http://ext.ensible.com/products/calendar/
    Don Griffin
    Engineering Manager - Frameworks (Ext JS / Sencha Touch)

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,545
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    The AbstractCalendar class is still there in our examples. It's a basic version of the Extensible Calendar.

    How did you get that error so I can try to reproduce it.

  4. #4
    Sencha User
    Join Date
    Dec 2010
    Posts
    56
    Vote Rating
    -1
    squalo is an unknown quantity at this point

      0  

    Default


    Hi Animal

    this is a little bit difficult to post it all here. But at the moment I use an ExtJS4.1.1 panel application and one or more Extensible1.5.1 derived calendars inside (dynamically, depending on certain values of my database).
    And it works fine.
    (I must confess, that i did not see that Extensible calendar was just integrated in Extjs4.1.1)

    What I'm wondering about the error above is, that Ext.calendar.util.date is a singelton and Dt only a reference var to it.
    Ext.calendar.util.date is present there. So why could it be, that 'Dt' is not defined?
    Perhaps I must include "Ext.calendar.util.date" now in the requires list of my extended calendarPanel?

  5. #5
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,545
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    The AbstractCalendar class is missing requires definition! I'll fix it here.

  6. #6
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    4
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      1  

    Default


    The calendar example is still the same old example that's been in Ext since 3.3(?) and then ported to 4.0. Nothing has changed, and Extensible is still totally separate. I'd be interested in hearing why you feel compelled to port your app from the Extensible calendar back to the Ext example code base? That's likely to be a bit challenging, and not sure what it will buy you.

  7. #7
    Sencha User
    Join Date
    Dec 2010
    Posts
    56
    Vote Rating
    -1
    squalo is an unknown quantity at this point

      0  

    Default


    Sorry. Maybe i was a little bit weired.
    I thought using "only" ExtJs , I could manage better a deployment version of my app.

    too much work these days