If the operation executes longer than the timeout of the resend mechanism (default: 9s), it will fail to update the browser if the Web server is Glassfish v1.0.
See also Bug 1839256.
Test codes (B30-1839256.zul):
<window title="Test of long operation">
Clicks the Test button and you shall see alert after 10 seconds (Bug 1839256).
<separator/>
Moreover, all following clicks are ignored before alert is shown (Feature 1859533).
<separator/>
<button label="Test">
<attribute name="onClick">
org.zkoss.lang.Threads.sleep(10000);
alert("Everything goes fine");
</attribute>
</button>
</window>
Logged In: YES
user_id=91099
Originator: YES
Fixed since 3/5
Logged In: YES
user_id=386673
Originator: NO
This bug also happened in Glassfish V2.
I have tested it in both V1 and V2.
It was gone.
/Dennis