ok got it, but not sure, if I have still access to the window, to close it. We
will see ;)
controllLogin:function(){
if(this.logged == true){
var ref = this;
this.loader2=new net.ContentLoader( this.reqURL,
function(){ref.displayContent(this.req);});
}
else{
var ref= this;
Dialog.confirm($('login').innerHTML,
{windowParameters:{className:"alphacube", width:400},
okLabel: "login",
cancelLabel:"cancel",function(){ref.doSomething();}});
}
},
doSomething: function(){
// now do stuff.
// send request for Login
}
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com