Programming Tutorials

Comment on Tutorial - Action listeners in JSF By Charles



Comment Added by : gardek

Comment Added at : 2009-09-02 14:40:37

Comment on Tutorial : Action listeners in JSF By Charles
Hi, I have the following element:

<h:commandButton id="exportPDFButton" actionListener="#{exportPDF.exportPDF}">

This button goes to the server and calls the exportPDF function. This exportPDF function takes a few seconds to be done, so I want to desable the button during that time. How can I achieve that? is there a way to know when the response is send? please, any suggestion will be welcome


View Tutorial