3 Replies Latest reply on Nov 10, 2010 2:32 PM by Ilya Shaikovsky

    How to count the files queued before sent files

    Inocêncio Oliveira Newbie

      Hi.

       

      I´m trying to capture the event when "onadd" triggers, I have to know all files queued before sent one-by-one. I tried different maners but doesn´t work.

       

      Using a4j:support event as: "onadd", "onupload", no results...

       

      "<a4j:support event="onupload" action="#{myBean.addFilesCounter}"/>"

       

      I put that "a4j" inside rich:fileUpload. I had tried "jsFunction" as well but the same result.

       

      Some tips will be very helpful, thanks for advance!