Hi

We have a web form which does some very extensive backend communication requiring a lot of time. So usually after pressing 'submit', the UI is locked for 10-30 seconds. To avoid re-submission, we'd like to put some kind of ui-lock-page over the current page, stating 'Please wait' or something. So I'd need something to add to the onclick of the submit button (which is NOT an ajax button but a normal <input type=submit> button) which blocks the UI until the response is ready. I've tried the wicket-stuff veil thingy, but it doesn't work. Here's what I tried:
WebMarkupContainer submit = new WebMarkupContainer("submit");
submit.add(new Veil());
add(submit);

But even though I see some JS files added to the page, nothing happens when I click my button?

Is there something else that I can just add to a button?
Thanks a lot

Matt

--
[email protected]  +41 44 268 83 98
Ergon Informatik AG, Kleinstrasse 15, CH-8008 Zürich
http://www.ergon.ch
______________________________________________________________
e r g o n    smart people - smart software

Ergon ist im Final für den Fairnesspreis 2009 - Online-Abstimmung bis 6. Mai 2009 unter www.fairnesspreis.ch

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to