This is just CSS hacking, I guess an iframe insertion is what is necessary which is the usual hack for this type of stuff. Nothing more.
Martijn On Fri, Dec 5, 2008 at 4:02 PM, jWeekend <[EMAIL PROTECTED]> wrote: > > Martijn, > > That's nice and it would be ideal to do it with CSS; that is what I too > wanted to do when I first thought about a "modal busy indicator". But, IE6 > is, surprise surprise, the problem - the drop-downs still show through. Do > you know of a way to fix that? ModalWindow window seems to just put > something a bit more robust over them to keep them quiet. > > Regards - Cemal > http://www.jWeekend.co.uk http://jWeekend.co.uk > > > Martijn Dashorst wrote: >> >> Why not make a div the ajax indicator, and let your page implement >> ajaxindicatoraware? >> >> >> <html> >> <head> >> <title>Wicket Quickstart Archetype Homepage</title> >> </head> >> <body> >> # Show veil >> <div id="veil" >> style="display:none;position:absolute;top:0;left:0;z-index=99999;background-color:black;width:100%;height:100%;color:white"><h1>Can't >> touch this</h1></div> >> </body> >> </html> >> >> package com.mycompany; >> >> import org.apache.wicket.PageParameters; >> import org.apache.wicket.markup.html.basic.Label; >> import org.apache.wicket.markup.html.WebPage; >> import org.apache.wicket.ajax.*; >> import org.apache.wicket.ajax.markup.html.*; >> >> public class HomePage extends WebPage implements IAjaxIndicatorAware { >> public HomePage(final PageParameters parameters) { >> add(new AjaxLink("link") { >> public void onClick(AjaxRequestTarget t) { >> try { Thread.sleep(5000); } catch(Exception e) >> {} >> } >> }); >> } >> public String getAjaxIndicatorMarkupId() { >> return "veil"; >> } >> } >> >> >> Martijn >> >> On Fri, Dec 5, 2008 at 3:22 PM, jWeekend <[EMAIL PROTECTED]> >> wrote: >>> >>> Cristi, >>> >>> Right, but it's non-trivial to use the veil for this - you'll need to >>> http://javathoughts.capesugarbird.com/2008/03/ajax-button-with-overlay-div-and-wait.html >>> do some work to get it to do just what you need. Also, iirc, veil does >>> not >>> address the IE6 problem with drop-downs being still clickable. >>> >>> It would be nice to be able to easily use a ModalWindow (configured to >>> exclude its close decoration) for this purpose. Again this would involve >>> some work to get the prepended javascript right. Closing it would be easy >>> enough tough, so you're half way there! >>> >>> Regard - Cemal >>> http://www.jWeekend.co.uk http://jWeekend.co.uk >>> >>> >>> >>> Cristi Manole wrote: >>>> >>>> [but if you need to _make sure_ the user doesn't click anything while >>>> the >>>> request is processing use the viel] >>>> >>>> On Fri, Dec 5, 2008 at 10:27 AM, jWeekend >>>> <[EMAIL PROTECTED]>wrote: >>>> >>>>> >>>>> Anton, >>>>> >>>>> See IndicatingAjaxLink (and other, similarly named components) and >>>>> IndicatingAjaxButton. >>>>> >>>>> Regards - Cemal >>>>> http://www.jWeekend.co.uk http://jWeekend.co.uk >>>>> >>>>> >>>>> Anton Veretennikov wrote: >>>>> > >>>>> > Hello Wicket users, >>>>> > >>>>> > I would like to know how to show some hourglass in a "Wicket way" >>>>> > during Ajax so user will not click something else. >>>>> > How to do this? >>>>> > >>>>> > Thank you >>>>> > >>>>> > --------------------------------------------------------------------- >>>>> > To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> > For additional commands, e-mail: [EMAIL PROTECTED] >>>>> > >>>>> > >>>>> > >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/%22Hourglass%22-during-Ajax-tp20853368p20853733.html >>>>> Sent from the Wicket - User mailing list archive at Nabble.com. >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/%22Hourglass%22-during-Ajax-tp20853368p20854748.html >>> Sent from the Wicket - User mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> >> -- >> Become a Wicket expert, learn from the best: http://wicketinaction.com >> Apache Wicket 1.3.4 is released >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- > View this message in context: > http://www.nabble.com/%22Hourglass%22-during-Ajax-tp20853368p20855644.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
