ENART.HZRN.COM
welcome to my space
X
Search:  
 HOME   1.1 Package dependencies - PagingToolbar not a constructor - sp has no properties
1.1 Package dependencies - PagingToolbar not a constructor - sp has no properties
Published by: smith 2009-07-03
Welcome to:enart.hzrn.com

  • 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

    You are looking at:enart.hzrn.com's 1.1 Package dependencies - PagingToolbar not a constructor - sp has no properties, click enart.hzrn.com to home
  • which girl would you rather date
  • which american apparel hoodie should i get
  • where can a girl with my body shop
  • what is so bad about pda
  • why does everyone think barbizon is a scam
  • what should i be for halloween this year
  • i 039 m not sure if i like him
  • what should i go as for halloween
  • a jammed ps3 help please
  • what protection do you have to use for
  • have any of you girls got your first pd at school
  • what sort of difficlties do 14 year old pregnant couples face
  • how do you get a std
  •  
  • all this crazy hs drama
  • are any other schools like this
  • what should i do
  • possibly pregnant
  • can u rate me 1 10 please pic im 16
  • female pirate outfits
  • is this normal to happen with your boyfriend
  • is it appropriate to where a purity ring if your pregnant from a rape
  • does internet work while on psn
  • where can i find the music to pachabel 039 s canon in d for electric guitar
  • i can 039 t get on my ps3 network because of 2 dns errors
  • crush or bf drama not shore
  • finish the phrase clickety here
  • colored contacts
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 enart.hzrn.com        Site made:CFZ