Greatings,
 
i'm getting this console message: 
[Exception... "'Failed to add event listener for type 'execute' to the target 
'qx.ui.form.Button[2m]': Invalid callback function: Expected value to be typeof 
function but found undefined!' when calling method: 
[nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c 
(NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
 
my source looks like this:
 
 makeLoginWin : function()
 {
  var win = new qx.ui.window.Window("Login", 
"icon/16/apps/office-calendar.png");
  this.root.add(win);
  win.form = new qx.ui.container.Composite(new qx.ui.layout.Grid(3,2));
  win.form.bntLoginSubmit = new qx.ui.form.Button("Login");
  win.form.bntLoginSubmit.addListener("execute", this.openKmpWin(),this);
  win.form.add(win.form.bntLoginSubmit, {row: 2, column: 1});
  win.add(win.form);
  return win;
 },
 
 openKmpWin : function()
 {
  alert("DEBUG");
  
 },

I can't figure it out.
 
regards 
Mustafa Sak
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to