Hi All, 

I am facing with a strange issue that the Ajax postcall handler (registered 
with Wicket.Ajax.registerPostCallHandler) is only called for the first time 
when browser is closed and opened again, and subsequent calls does not trigger 
the handler. To reproduce this, please copy the attached test page into your 
wicket environment, and mount it to an url, for example 
"http://localhost:8080/test";, then follow below steps:
1. Close ALL instances of your browser. (This step is very important to 
reproduce the issue)
2. Open your browser, and input the url "http://localhost:8080/test"; into the 
address bar DIRECTLY, the test page will display with a number, and a link. 
3. Click on the link, the number will be increased in an ajax way, and you will 
see an alert message saying "ajax". This means the post call handler has been 
executed. 
4. Click on the link again, the number will still be increased, which means the 
ajax call has been executed; however, the alert message won't appear now. 

Please remember that don't refresh the page during the process; otherwise, the 
issue will not able to be reproduced .

Can somebody shed some light on this?

Thanks for your help in advance. 
Robin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to