2 Replies Latest reply on Apr 12, 2012 12:07 PM by dpr78

    rich:fileUpload problem migrating from 3.3.3 to 4.2.x

    dpr78

      I'm currently trying to replicate our 3.3.3 fileUpload functionality in 4.2.0.

       

      In 3.3.3 we did something like this:

       

      <rich:fileUpload fileUploadListener="#{uploadBean.listener}">

         <a4j:support event="onerror" reRender="lted"/>

      </rich:fileUpload>

       

      where 'lted' is a simple panel that we use to display any error thrown by the uploadBean listener method.

       

      As far as I can tell there is no 'error' event exposed in 4.2. So the question would be - how do I capture exceptions on the client side that are thrown by the listener?

       

      In oher words, UIFileUpload does not support the 'error' event name.

       

      Thanks