This content has been marked as final.
Show 3 replies
-
1. Re: FetaureRequst disabling the buttons after a user presses
norman.richards Sep 4, 2007 4:44 PM (in response to tony.herstell1)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.
-
2. Re: FetaureRequst disabling the buttons after a user presses
tony.herstell1 Sep 4, 2007 9:00 PM (in response to tony.herstell1)"norman.richards@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...
:/ -
3. Re: FetaureRequst disabling the buttons after a user presses
christian.bauer Sep 4, 2007 10:11 PM (in response to tony.herstell1)jQuery(".mySubmitButtonsHaveThisStyleClass").disabled = true;