Hi guys,
We're having some issues with the packages. Everything works great if we use ext-all.js, but for obvious reasons we are trying our best to use the minimum files necessary.
We have a Grid with a PagingToolbar in the headerPanel. The files in the /package dir that we are including are as follows (currently almost all of them just to try to get this thing to work)...
"/lib/ext-1.1/adapter/prototype/ext-prototype-adapter.js"
"/lib/ext-1.1/ext-core.js"
"/lib/ext-1.1/package/util.js"
"/lib/ext-1.1/package/date.js"
"/lib/ext-1.1/package/widget-core.js"
"/lib/ext-1.1/package/resizable.js"
"/lib/ext-1.1/package/button/button.js"
"/lib/ext-1.1/package/dragdrop/dragdrop.js"
"/lib/ext-1.1/package/splitbar.js"
"/lib/ext-1.1/package/layout/layout.js"
"/lib/ext-1.1/package/data/data.js"
"/lib/ext-1.1/package/menu/menus.js"
"/lib/ext-1.1/package/qtips/qtips.js"
"/lib/ext-1.1/package/dialog/dialogs.js"
"/lib/ext-1.1/package/tabs/tabs.js"
"/lib/ext-1.1/package/toolbar/toolbar.js"
"/lib/ext-1.1/package/grid/grid.js"
When I take out the toolbar.js include, I do _not_ get the (ever so ambiguous) error message "sp has no properties", and of course get it when I put it back (plus "PagingToolbar is not a constructor" when we try to create the instance, which obviously tells me I'm missing some dependency before loading that file - however, I have tried and tried to figure out what files I need from the package dir, to no avail.
Are the packages now up to date and correct? If so, could you please let me know what I need to include prior to toolbar.js to get it to load correctly? If not, any chance you can fix the .jsb for us so we can rebuild them?
Side question: Is it on the roadmap to add optional dynamic, encapsulated dependency loading to each package, so this pain is no more? (We have something like this in WebWidgetry... if you want to set up a GoToMeeting some time I'll be happy to show you what I mean and contribute some code to your stack)
Jack, can you do a re-release of Ext 1.1 that takes this into account? Looks like the file that's available for download doesn't take this omission into account.
The missing file could very well be build/widgets/MenuButton-min.js. It should be included after button.js. I have commited a new .jsb with the update. Please let me know if that fixes it.
FYI - that was indeed the missing file. Now to pare down some of the chaff on this page :)
Thanks, Jack and sorry it took so long to get it tested. Many birds to kill...
Hey, thanks Jack. Sorry, haven't had a chance yet to test this out yet... I'll be sure to let you know if that was the problem or not though (at least so anyone searching on this can see a resolution)... might not be until around or about Monday though.
We are planning on putting out 1.1.1 very soon.
[SOLVED] My HttpProxy Grid Data Access Breaks Going From 1.1rc1->1.1
[2.0 only?] MessageBox buttons not showing in IE 6.0
|