Etienne, 
We did add extensions to the UlcFrame, UlcDialog et al so that we did get 
informed of a close under all situations. If you are interested, please let me 
know.

Greg Hutchinson 

Principal Developer / Développeur principal

Information Technology / Technologie de l'information 
Farm Credit Canada / Financement agricole Canada 
1800 Hamilton Street, P.O. Box 4320 
1800, rue Hamilton, C.P. 4320 
Regina Saskatchewan S4P 4L3 
Tel/Tél. : (306) 780-3990 Cel/Cél.: (306) 539-9060 Fax/Télec. : (306) 780-5655  

E-mail/Courriel : [EMAIL PROTECTED]

Agriculture. It's all we do.  L'agriculture... notre raison d'être. 

This message may contain information that is privileged, protected, 
confidential or subject to copyright. Using, disclosing, copying or 
distributing such information by anyone other than the intended recipient is 
strictly prohibited. If you've received this message in error, please delete it 
and notify me immediately.
Le présent courriel contient des renseignements de nature privilégiée, 
protégée, confidentielle ou assujettie à des droits d'auteur. Toute 
utilisation, communication, reproduction ou distribution de l'information 
contenue dans ce courriel par toute personne autre que le destinataire visé est 
strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez le 
supprimer et m'en informer immédiatement.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Etienne Studer
Sent: Monday, October 23, 2006 9:25 AM
To: [email protected]
Subject: RE: [ULC-developer] DISPOSE_ON_CLOSE

Hi Rolf

Thanks for the clarification!
Everything is clear now.

Regards, Etienne

 

-----Original Message-----
From: Rolf Pfenninger [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 23, 2006 6:14 AM
To: [email protected]; Etienne Studer
Subject: RE: [ULC-developer] DISPOSE_ON_CLOSE

Hi Etienne

As you already guessed, ULCDialog.setDefaultCloseOperation() only
applies to situations where the user closes the dialog using the x
(close) icon. (The same is true for the corresponding Swing API).

Moreover, please note that ULCDialog.dispose() can only be used to
dispose a ULCDialog (and hence the client side dialog) through an API.
This server-side method will NOT be called as a callback method when the
user clicks the close icon and the default close operation is set to
DISPOSE_ON_CLOSE.

Cheers
Rolf

**************************************
Rolf Pfenninger
Canoo Engineering AG
Kirschgartenstrasse 7
CH-4051 Basel
Tel +41 61 228 9444
Fax +41 61 228 9449
mailto:[EMAIL PROTECTED]
http://www.canoo.com

ULC - Rich Clients for J2EE
http://www.canoo.com/ulc
************************************** 
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Etienne Studer
Sent: Freitag, 20. Oktober 2006 19:16
To: [email protected]
Subject: [ULC-developer] DISPOSE_ON_CLOSE


Hi

Why do we set
ULCDialog.setDefaultCloseOperation(ULCCarinaDialog.DISPOSE_ON_CLOSE);

if
ULCDialog.dispose()
does not get called once the dialog is hidden through
ULCDialog.setVisible(false)?

Or is the default close operation only dealing with the user closing the
dialog using the X (close) icon?

Thanks for any clarification.

Etienne
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer


_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to