Hello all,

Thanks for the great tool and all the effort!!

I have a much more complex tabset already built, but when it loads, none
of the tabs are active. I have tried several permutations around the focus
and active settings without luck.  So I thought I would create a basic
tabview and do further testing.

I am having a problem and I am sure it is something obvious. Below is my
code, when it is loaded into the browswer, it gives me a grey screen.

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="de">
  <head>
    <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-15" />
    <title></title>

        <script>
                var QxSettings =
                {
                        imageCorePath : "../qooxdoo/images",
                        imageIconPath : "../qooxdoo/themes/icons",
                        imageWidgetPath : "../qooxdoo/themes/widgets"
                };
        </script>
    <script type="text/javascript"
src="../qooxdoo/script/qooxdoo.js"></script>
  </head>
  <body>
   <script type="text/javascript">
    window.application.main = function() {

        var d = this.getClientWindow().getClientDocument();

        var ctab = new QxTabview;
        ctab.set({left: 20, top: 0});

        var ct1_1 = new QxTabViewButton("Page1");
        var ct1_2 = new QxTabViewButton("Page2");

        ct1_1.setChecked(true);

        ctab.getBar().add(ct1_1,ct1_2);

        var p1 = new QxTabViewPage(ct1_1);
        var p2 = new QxTabViewPage(ct1_2);

        ctab.getPane().add(p1,p2);

        var a1 = new QxAtom("Test1");
        p1.add(a1);

        d.add(ctab);

        };
        </script>
  </body>
</html>

All I am trying to do is figure out the minimum elements required for a
base tabset to be rendered and how to specify a specific tab to be active
when the page loads.







-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to