[jboss-user] [JBoss Seam] - Re: FetaureRequst disabling the buttons after a user presses

tony.herstell@gmail.com do-not-reply at jboss.com
Tue Sep 4 21:00:58 EDT 2007


"norman.richards at jboss.com" wrote : I think you'd need a new commandButton subclass.  Maybe s:button could do that, but I think it is something that is more likely to be done by a component library like ajax4jsf/richfaces.

Humm... tying it to Ajax is a big overhead. I am trying to avoid Ajax (ICEfaces/Ajax4JSF/RichFaces etc.) and add that as a veneer after the projects are done; if required!

I have achieved this functionality before by using a bit of javascript that fires on a button press that finds, and disables, all buttons on the page (by using getElementById or similar).

On a page initial/reload it sets them all available again...

:/


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081145#4081145

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081145



More information about the jboss-user mailing list