Hi Fernando, You are right! This is a bug.
When -useGui option is used, the DevelopmentRunner sets its own session listener on the UISession and ignores the session listener set on it. At present there is no workaround for this. I have opened an issue https://www.canoo.com/jira/browse/UBA-6935. It will be fixed in a future release. Thanks and regards, Janak -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Olcoz Chiva, Fernando Sent: Monday, June 05, 2006 7:35 PM To: [email protected] Subject: [ULC-developer] DevelopmentRunner ignores setSessionStateListener if -useGui Hi, I am a total newcomer to ULC (actually in the evaluation stage) so please forgive my ignorance. It seems DevelopmentRunner (ULC 6.1) is ignoring the static method setSessionStateListener when the -useGui flag is used. Thus, the following code has a different behaviour with and without -useGui: DevelopmentRunner.setApplicationClass(DevelopmentApplication.class); DevelopmentRunner.setSessionStateListener(new MySessionStateListener()); DevelopmentRunner.main(args); Is this how setSessionStateListener is supposed to be used? Thanks, Fernando ___________________________________________ Este correo ha sido enviado por la Compania CEPSA Si ha recibido este correo electronico por error, le informamos que puede contener informacion confidencial y que esta prohibido su uso. Le rogamos lo comunique a su remitente y lo elimine. Gracias por su colaboracion. If you receive this e-mail by error, please note that it may contain confidential information, therefore, the use of this information is strictly forbidden. Please inform the sender of the error and delete the information received. Thank you for your collaboration. _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
