Hi, construct don't have to bee in members, it stands in the some level like
members, not like main

 

SAKsystems

Inh. Mustafa Sak

Varrelmannstr. 16

30453 Hannover

Tel.   +49 511 / 165 969 40

Fax   +49 511 / 165 969 49

Mobil +49 163 / 312 6144

http://www.saksys.de

[email protected]

STEUER-Nr. 2613817458

 


-----Ursprüngliche Nachricht-----
Von: Simon White [mailto:[email protected]] 
Gesendet: Freitag, 8. Juli 2011 20:23
An: [email protected]
Betreff: [qooxdoo-devel] What am I missing?

Hi

I am new to QooxDoo and have been experimenting to learn more about this 
product.  I created the following files and the Window displays but is 
missing the the title, icon and statusbar not to mention the tabview. 
But I have been unable to see the cause of the problem.  No errors are 
shown in Firebug so I must be missing something simple.  Can someone 
tell me what I have done wrong?

MenuWnd.js
<pre>
qx.Class.define("kardpoll.MenuWnd",
{
        extend : qx.ui.window.Window,
        members:
        {
                construct : function()
                {
                        this.base(arguments,"Main
Menu","./resource/kardpoll/dcmain.png");
                        this.setShowStatusbar(true);
                        this.setStatus("This is the KardPoll main menu
please make a 
selection.");
                        this.setLayout(new qx.ui.layout.VBox(10));
                        this.create_pgfMenu();
                },
                create_pgfMenu : function()
                {
                        var pgfMenu = new qx.ui.tabview.TabView("left");
                        pgfMenu.setwidth(400);
                        pgfMenu.setheight(800);
                
                        var pgConfig = new 
qx.ui.tabview.Page("Config.","./resource/kardpoll/mnuforms.png");
                        pgfMenu.add(pgConfig);
                        var pgFavorites = new 
qx.ui.tabview.Page("Favorites","./resource/kardpoll/mnufavorites.png");
                        pgfMenu.add(pgFavorites);
                        var pgForms = new 
qx.ui.tabview.Page("Forms","./resource/kardpoll/mnuforms.png");
                        pgfMenu.add(pgForms);
                        var pgProcesses = new 
qx.ui.tabview.Page("Processes","./resource/kardpoll/mnuprocesses.png");
                        pgfMenu.add(pgProcesses);
                        var pgReports = new 
qx.ui.tabview.Page("Reports","./resource/kardpoll/mnureports.png");
                        pgfMenu.add(pgReports);
                        var pgUtilities = new 
qx.ui.tabview.Page("Utilities","./resource/kardpoll/mnuutilities.png");
                        pgfMenu.add(pgUtilities);
                        this.add(pgfMenu);
                
                }
        }
});

</pre>

Application.js
<pre>
/**
  * This is the main application class of your custom application "KardPoll"
  */
qx.Class.define("kardpoll.Application",
{
   extend : qx.application.Standalone,



   /*
 
****************************************************************************
*
      MEMBERS
 
****************************************************************************
*
   */

   members :
   {
     /**
      * This method contains the initial application code and gets called
      * during startup of the application
      *
      * @lint ignoreDeprecated(alert)
      */
     main : function()
     {
       // Call super class
       this.base(arguments);

       // Enable logging in debug variant
       if (qx.core.Environment.get("qx.debug"))
       {
         // support native logging capabilities, e.g. Firebug for Firefox
         qx.log.appender.Native;
         // support additional cross-browser console. Press F7 to toggle 
visibility
         qx.log.appender.Console;
       }

       /*
 
-------------------------------------------------------------------------
         Below is your actual application code...
 
-------------------------------------------------------------------------
       */
                var frmUPMenu = new kardpoll.MenuWnd();
                frmUPMenu.moveTo(10,10);
                frmUPMenu.open();
                

     }
   }
});

</pre>


----------------------------------------------------------------------------
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

<<attachment: Mustafa Sak ([email protected]).vcf>>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to