I have a form with a check Field on it.
The onDataChange of this field shows a form in Dialog.
That works fine when the popupform is called with modal=false. When modal is true, there is a problem.
So :
when checkbox is checked and you click the checkbox, the checkbox becomes uncecked and the form in dialog is shown
But when modal = true :
when checkbox is checked and you click the checkbox, the checkbox becomes uncecked, the form in dialog is shown AND the checkbox becomes checked again !!
Is this a known issue ?? ( happens in 4.1.5 and in 5.1 rc2)
In the documentation I see that in smartclient the code after the call to showFormIndialogue is not executed
until the form in dialogue is closed.
This is not the case : if I put an application.output after the line whith the call to showFormIndialogue
the output is displayed in the console output when the form in the dialogue is stil open.
I couldn’t reproduce this issue using Servoy rc2, Windows Vista, java 1.6.0 update 17; Are you on Mac ? What Java version ? Also the execution stops when showing a modal dialog in Smart Client (as stated in documentation) .
We see the issue on windows 7 and windows2003 on java 1.6_018 and in Servoy 5.1 rc2 and 4.1.5
We will do a test with java 1.6_017 and get back to you.
As far as stopping execution after form in dialogue you are correct.
This works as documented.
It seems to go wrong, but that was due to the fact that the ondatachange is executed twice.