Tutorial talk:Ext Menu Widget (Legacy)

This version of our Learning Center is unmaintained.
This article may be out-of-date or contain incorrect information.
Please visit the new Sencha Learning Center for up-to-date material.

Go to the new Sencha Learning Center

From Sencha - Learn

Jump to: navigation, search

There is a small bug in the tutorial file ExtMenu.html that may cause some confusion.

  • PROBLEM: ExtMenu.html does not behave as described in the tutorial, Ext widgets do not initialize.
  • DIAGNOSIS: On or about line 10 of ExtMenu.html there is a script tag that sources "ExtStart.js". ExtStart.js doesn't exist in this tutorial. Presumably this code was pasted from the Intro tutorial and the author forgot to change this line.
  • SOLUTION: Change the script reference to "ExtMenu.js".

createDelegate don't work with IE

I follow up this tutorial and use the last example to pass a parameter to a javascript function like the one showed, but when i test my function with Internet Explorer 6 it does not work and shows me an alert window with following error: Invalid argument at line... but when i test it with FireFox 2 it works fine, any ideas???

Well, i'm so sorry for this, an extra "," cause this problem i simply removing this and every thing works fine.

Can an admin delete this please.

the creation of toolbar NO LONGER valid for extjs version 2.0

  • in 2.0, you should not create the toolbar with a parameter of "container" and add menu directly with a menu config option. The better way is to create an empty toolbar and add elements to it using toolbar.addXXX(), as in the examples folder menus.js code.
This page was last modified on 4 January 2008, at 01:50. This page has been accessed 5,001 times.