PDA

View Full Version : variable declaration



chandan.behura
11 Oct 2012, 6:16 AM
Hi,
how to use a variable inside the same controller and in different controller also without using at top of the controller .js file.I mean i should not use any variable above the class(Ext.define) in extjs.

mitchellsimoens
15 Oct 2012, 5:30 AM
With your other thread, it appears you may need a utility class singleton to hold onto your "variables"

chandan.behura
16 Oct 2012, 10:56 AM
yes u r correct.