you could use the jquery blockui plugin..

http://malsup.com/jquery/block/#demos



James Carman wrote:
There is a "veil" component in wicketstuff-minis, I believe.  That might help.

On Wed, May 6, 2009 at 10:30 AM, Linda van der Pal
<lvd...@heritageagenturen.nl> wrote:
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to