Back when I was programming in jsp I solved this by disabling the button after clicking it (because it would redirect after processing the data). Not sure how I'd do such a thing with Wicket.

Linda.


Matthias Keller wrote:
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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to