Hi Roman,

no, i thought that i just have to do this once and for source and once for build to ditribute it. I tried it know with "generate source" and with "generate source-all" but this gives the same result.

Regards,
Tom

Am 16.01.2009 um 23:01 schrieb Roman Schmid:

Hi Tom

At first sight, your code seems to be fine.
Did you re-build your source using generate.py ?

Cheers - Roman

Thomas Schober wrote:
Hi,

i created a class, which is inherited from a form.Window. The class
definition is defined that way:

*/
qx.Class.define("firstapp.ui.LoginBox",
{
 extend : qx.ui.window.Window,



 /*

*****************************************************************************
    MEMBERS

*****************************************************************************
 */
 construct : function(name,icon)
 {
   this.base(arguments,name,icon);
   this.set
   ({
       modal         : true,
       showMinimize  : false,
       showMaximize  : false,
       allowMaximize : false
   });



   this.addContent();
 },



 members :
 {
   /**
* This method contains the initial application code and gets called
    * during startup of the application
    */
    addContent : function()
    {
       var windowLayout = new qx.ui.layout.VBox(10);
       this.setLayout(windowLayout);
       this.setMinWidth(300);
       var container = new qx.ui.container.Composite(box);
       container.setPadding(20);
       var loginField = new qx.ui.form.TextField("Enter Login").set(
{height : 5, width : 260});
       var passField = new qx.ui.form.TextField("Enter Passw").set(
{height : 5, width : 260});
       container.add(loginField);
       container.add(passField);
       this.add(container);
    }
 }
});

Now in the Main funtion i try to instantiate the class like this :

*/
     var loginWindow = new firstapp.ui.LoginBox("LoginWindow",null);


Every time i start the application i get an Error like : Undefined value
in this line. Does anybody know what is wrong here ?

Thank you
Tom


------------------------------------------------------------------------

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword


------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to