Re: [qooxdoo-devel] QxTabView with tabs on the bottom, works but with an error
Brought to you by:
ecker,
martinwittemann
From: Sebastian W. <in...@se...> - 2006-03-30 12:12:31
|
thank you for this report. Is fixed in SVN. Sebastian Jim Hunter schrieb: > Here is a simple example that shows the tabs on teh bottom and the error > in the log. > > Thanks, > Jim > > ======================================== > > > <html> > <head> > <link type="text/css" rel="stylesheet" href="../demolayout.css"/> > <script type="text/javascript" src="../../script/qooxdoo.js"></script> > </head> > <body> > <script type="text/javascript" src="../demolayout.js"></script> > > <script type="text/javascript"> > window.application.main = function() { > mainWin = this.getClientWindow().getClientDocument(); > var tabMain = new QxTabView; > with (tabMain) > { > setHeight(100); > setWidth(200); > setTop(0); > setLeft(0); > setPlaceBarOnTop(false); > } > var tb1 = new QxTabViewButton("Tab #1"); > tabMain.getBar().add(tb1); > var tp1 = new QxTabViewPage(tb1); > tabMain.getPane().add(tp1); > var tb2 = new QxTabViewButton("Tab #2"); > tabMain.getBar().add(tb2); > var tp2 = new QxTabViewPage(tb2); > tabMain.getPane().add(tp2); > var tb3 = new QxTabViewButton("Tab #3"); > tabMain.getBar().add(tb3); > var tp3 = new QxTabViewPage(tb3); > tabMain.getPane().add(tp3); > > mainWin.add(tabMain); > } > </script> > <div id="demoDebug"></div> > </body> > </html> > > > > > On 3/28/06, *Sebastian Werner* <in...@se... > <mailto:in...@se...>> wrote: > > Hi Jim, > > thank you for your report. Could you be so nice a write a little example > (as small as possible) which shows the problem? (Should be usable from > our demo folder) Thanks. > > Sebastian > > > Jim schrieb: > > This may be simple to the rest but I couldn't find an answer for > it in > > the archives. I have a QxTabView on my page and while setting it > up, I > > wanted to set the tabs to be on the bottom. So I used > > setPlaceBarOnTop(false) and in fact the tabs are on the bottom but in > > the debug window I get an error: 001734:Failed to execute > > "_modifyPlaceBarOnTop()":Modification of property "placeBarOnTop" > failed > > with exception('undefined' is null or not an object). I could > understand > > getting this error and having the method fail, but the method worked. > > Now it is entirely possible that I have used the wrong syntax and > > passing in something other then 'false' will work better but I > could not > > find the answer to it. Anyone have a suggestion? > > > > Thanks, > > Jim > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642> > _______________________________________________ > Qooxdoo-devel mailing list > Qoo...@li... > <mailto:Qoo...@li...> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > <https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel> > > |