Ext JS - Learning Center

Tutorial talk:Extending Ext Class

From Learn About the Ext JavaScript Library

Revision as of 19:38, 18 July 2008 by CraigG (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How would one create private properties in Ext JS 1.1.1? The normal object pattern doesn't work with Ext.extend. --DotnetCarpenter 04:49, 8 May 2008 (EDT)


Can someone verify that this example works with ext-2.0-rc1 closer to today's date, 22 Nov. 2007? I get a nice German flag, but the drop down list is empty in both IE7 and FF2. I can get to the data by typing into the box, however, so it's there somewhere. I'm using the code at the bottom of the page, which should be the final version.

Corrected the missing <tpl>

I added the <tpl for="."> to the "final version" to fix an issue where the flag shows up as the current selection but no child members show up in the drop window.

I'm using Ext version 2.1 if that matters. The code didn't work for me in either Firefox or IE without that modification.