-
12 Dec 2012 6:55 AM #1
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:
in Dt.addPHP 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 < 7 ? start: Dt.add(start, {days: -offset, clearTime: true});
this.viewEnd = Dt.add(this.viewStart, {days: this.dayCount || 7});
....
Bug?
-
12 Dec 2012 11:24 PM #2
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
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
-
13 Dec 2012 1:48 AM #3
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.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
13 Dec 2012 2:09 AM #4
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?
-
13 Dec 2012 4:41 AM #5
The AbstractCalendar class is missing requires definition! I'll fix it here.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
14 Dec 2012 12:39 PM #6
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.
-
15 Dec 2012 1:31 AM #7
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


Reply With Quote