Hi Nino, You can use the IndicatingAjaxLink, but I do not use it because I had developped my own WaitingAjaxLink before I discovered this one ;-)
AFAIK, IndicatingAjaxLink add a progress indicator at the right of the corresponding control. My WaitingAjaxLink as a script before that make a transparent div laying over the form visible so that the user can't click on anything. It also changes the pointer image to something showing that clicking is forbidden. (You migh use an animated gif for this). Of course, another script is run after link execution to make the div invisible and restore the pointer. Probably not the best solution since I desgined it knowing really not much about wicket, but it does the job. By the way, disabling everything during Ajax call is making those calls synchronous, which is a little strange with Ajax. (Shouldn't it then be called Sjax ;-) ) Pierre-Yves Nino Wael a écrit : > Hi > > > > We have a form where we would like to disable the complete form onsubmit > so that the user cant change any of his selected values and we would > like to display a progress meter(it does not have to show the actual > progress just a gif like the AJAX examples). I have been thinking of the > AJAX examples but I guess that since we somehow would like to stall the > browser it’s not really a good solution, we would have to add all for > components again just disabled and then on the end of the ajax call add > them all again enabled? > > > > Whats your 2 centavos on this? > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
