This will do it ("rightPanel" is a "qx.ui.container.Stack" object):
pageCount : function()
{
return this.rightPanel.getChildren().length;
},
pageIndex : function()
{
var selected = this.rightPanel.getSelection()[0];
return this.rightPanel._indexOf(selected)+1;
},
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Index-of-Current-Stack-Item-HOW-tp7581090p7581091.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel