I thought the veil covered the whole screen. If it's not, you could easily do that by adding a <div> with a WebMarkupContainer that covers all the content of your page.
On Wed, May 6, 2009 at 11:04 AM, nino martinez wael <nino.martinez.w...@gmail.com> wrote: > I think the veil are just over a certain component, like only the > button.. I think he are looking for a Either Modal or something more > than Veil, there was an article somewhere about it.. > > 2009/5/6 James Carman <jcar...@carmanconsulting.com>: >> 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org