1 Reply Latest reply on Feb 5, 2011 4:21 PM by Mark Paluch

    Problem with rich:fileUpload and onuploadcomplete

    Raluca Jucan Newbie

      Hi everybody,

       

      I have already researched this issue and tried implementing it with <a4j:jsFunction> but still it doesn't work for me. Here is my code:

       

      <a4j:jsFunction name="uploadComplete" action="#{handler.refreshPage}"></a4j:jsFunction>

      <rich:fileUpload  ...

                                            onuploadcomplete="uploadComplete();" >

      </rich:fileUpload>

       

      If I call the function on onclick it works. I've also tried with <a4j:support /> but it doesn't work either.

      Ideas?

       

      Thanks.