Why does extJS give me "Ext.Panel is not a constructor" error in Firebug? -


i working through this extjs tutorial type in code firebug, press ctrl-enter , renders you, worked simple example got error:

instructions:

alt text

what happens:

alt text

what else need example work states in demo?

you need have ext-all.js (and maybe ext-base.js?) loaded in page you're testing work. example isn't working because panel file cannot located. doesn't exist because haven't added it.

test ext.panel code in firebug @ api site: http://dev.sencha.com/deploy/dev/docs/

you'll see desired behavior occurs because page has of proper js files loaded. time see message "... not constructor" should indication js file containing object has not been loaded page.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -