Please ignore my last message. I was still using the old delegate format for my 
callback.

I do have another question though. How do I get a reference to the window that 
called my callback? Specifically I need the id of the window. The old method I 
could do:

canClose: function(win) {                
    _argumentString = win.getId(); 


Thanks,
Phillip


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Cave, Phillip 
Sent: Thu 3/8/2007 12:24 PM
To: [email protected]
Subject: [Javawin] CloseCallback error
 
I'm getting the following error when closing a window while using the 
setCloseCallback method. 

this.options.closeCallback is not a function

I'm creating my window like so:

var win = new Window(region, {className: "alphacube", title: "", width:450, 
height:500, resizable: false, draggable: false, url: cpUrl, showEffectOptions: 
{duration:.1}, hideEffectOptions: {duration:0}});
win.setDestroyOnClose();
win.setCloseCallback(RefreshContentRegionViaAjax);   

Any ideas?


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Gordon Werner
Sent: Tue 2/27/2007 12:34 PM
To: [email protected]
Subject: [Javawin] Overlay on non-dialog window?
 
Is it possible to have an overlay like on the dialog windows, when  
opening a normal window?

thanks

G


Gordon K. Werner
Chief Architect
BOWE Company, Incorporated
v 206.448.6655  f 206.448.6699







_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to