This works for me without any special async handling: http://tinyurl.com/6b2potf
I think the dragon should test his code in playground before posting on the mailing list. Cheers, Fritz On Wed, 26 Jan 2011, Martin Wittemann wrote: > Hey, > I guess that because of the async rendering of the pages (and everything else > in qooxdoo). Either try to flush the queue manager or wrap your selection > call into a timeout. I guess that should work. > Regards, > Martin > > Am 25.01.2011 um 23:36 schrieb [email protected]: > >> Hello, >> >> i try this at the end of the code but the tab/page isnt selected:( >> >> >> objModule.setSelection([page]); >> >> >>> i create a tabview and add some pages, but i want that always the alst >>> added page is active7focused after this page is added >>> >>> >>> var page = new qx.ui.tabview.Page("Kasse", >>> "icon/16/apps/utilities-terminal.png"); >>> page.setLayout(new qx.ui.layout.Grow()); >>> page.setShowCloseButton(true); >>> var objModule = new makebiz.modules.kasse.Main; >>> page.add(objModule.getBaseLayout()); >>> >>> aw.system.Globals.tabMiddleLeft.add(page); >>> >>> >>> i try something like >>> >>> aw.system.Globals.tabMiddleLeft.setSelection(page); >>> >>> but that isnt the solution >>> >>> How can i focus it? >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>> Finally, a world-class log management solution at an even better price-free! >>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>> February 28th, so secure your free ArcSight Logger TODAY! >>> http://p.sf.net/sfu/arcsight-sfd2d >>> >>> >>> >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
