This is a great example: http://javathoughts.capesugarbird.com/2008/03/ajax-button-with-overlay-div-and-wait.html
Works good with trinidad Toby > -----Ursprüngliche Nachricht----- > Von: yogeen honnavar [mailto:[email protected]] > Gesendet: Freitag, 3. September 2010 06:12 > An: MyFaces Discussion > Betreff: Re: double click problem in JSF > > hi antonio, > > can u pls send across some sample code or point me to appropriate > resources regarding your solution. > > regards > -yogeen > > --- On Fri, 3/9/10, António Rodrigues <[email protected]> > wrote: > > > From: António Rodrigues <[email protected]> > > Subject: Re: double click problem in JSF > > To: "MyFaces Discussion" <[email protected]> > > Date: Friday, 3 September, 2010, 1:22 AM > > We got this problem in our company. > > Impatient users love to double click. > > Therefore we added a banner to our pages with a warning > > "work in progress". > > So it stops impatient users. > > > > Actually is just a div with some transparency. When user > > clicks a command > > link the div is shown over the page and users are not able > > to click again, > > although they still see the button. The div disappears as > > soon as the server > > returns the response. > > > > You find plenty of examples in the web. > > > > Regards > > António > > > > > > > > On 30 August 2010 05:45, yogeen honnavar <[email protected]> > > wrote: > > > > > Dear users, > > > > > > We are using myfaces-1.1.5 with tomcat. We have a > > problem, when a user > > > double clicks on a h:commandlink 2 submissions are > > sent to the server and > > > hence the application reports an error. Can anybody > > suggest a solution to > > > the double click problem. > > > > > > regards > > > -yogeen > > > > > > > > > > > >

