3 Replies Latest reply on Feb 6, 2009 6:12 AM by andrei_exadel

    rerender on fileupload

    meetoblivion

      Just wondering, why doesn't rich:fileUpload support rerender? Also, how come it has no onuploadcomplete attribute, or something similar.

        • 1. Re: rerender on fileupload
          ilya_shaikovsky

          onuploadcomplete present on the component and used in order to update some zone after files uploaded. You could check demosite example.

          • 2. Re: rerender on fileupload
            mindgame

            Different behavior for event, 'onuploadcomplete' has been observed.

            If 'onuploadcomplete' is put within r:fileUpload as an attribute, it works as advertise, which is called after all files from the list are uploaded. If the file has exceeded the file size restriction, the event is not fired. Whereas, if 'onuploadcomplete' is incorporate within a4j:support (similar to the example in the demo site), the event is fire even the file size limit is exceeded.

            Thank you.

            • 3. Re: rerender on fileupload

              I checked your case on 3.3.0.GA. All works fine.
              'FileUploadListener' fires after all files processed. Also in case of size limit exceeded.