Hi, i've tried to get the current selected page in the focusin-/focusout-event on a TabView.
Here is the code: qx.Class.define("mase.demo.TabView", { extend : qx.ui.tabview.TabView, construct : function() { this.base(arguments); this.set({ focusable : true }); this.addListener("focusin", this.__focusin, this); this.addListener("focusout", this.__focusout, this); }, members : { __focusin : function(e) { var p = this.getSelected()[0]; console.log(p); }, __focusout : function(e) { var p = this.getSelected()[0]; console.log(p); } } }); But i got the following error in the firebug console: this.getSelected is not a function Any ideas? Thanks Mario -- View this message in context: http://old.nabble.com/TabView---getSelected-is-not-a-function-tp27221563p27221563.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel