Hi, to all
i try to use the code that are in the Developers Guide to disable and re-enable commands in a OOoBean into a JavaBean. The first time that i open the javabean the commands are disable correctly. Than when i close, they are re-enable correctly. Then the second time that i open the javabean the commands are always disable correctly but when i close for the second time OO crash during the enable method. I have found that the problem is during the commit of the changes....
....
XChangesBatch xFlush =(XChangesBatch)UnoRuntime.queryInterface( XChangesBatch.class, xAccess);
xFlush.commitChanges();
....
It crash before the xFlus.commitChanges();

Someone can help me??


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dott. Cristian Fonti
mailto: [EMAIL PROTECTED]
c/o Sistemi Informativi - Resp. Web Area
SCM Group S.p.a. http://www.scmgroup.com
via Emilia, 77 - 47900 Rimini (RN), Italy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to