1 Reply Latest reply on Mar 30, 2012 2:51 AM by Pavel Zelenka

    h:commandButton and status

    Pavel Zelenka Newbie



      in my JSF application (JSF 1.2, RichFaces 3.3.3) I need to generate a XLS file when user clicks a h:commandButton. I'd like to show some information that the file is being generated. So I used a4j:status with a4j:support. Unfortunatelly it doesn't work. The status text is shown for a while but the time for generating file is much longer.


      Any help appreciated.






      <h:commandButton value="Export" action="#{exportBean.export}">
        <a4j:support event="onclick" status="expstatus" />
      <a4j:status id="expstatus" startText="Preparing file ..." stopText=""/>