3 Replies Latest reply on Mar 18, 2011 11:25 AM by asmart

    rich:fileUpload 4.0.0CR1

    asmart

      Managed to get this tag working as intended.

       

      My question is around how to implement file uploading while including other form data.

       

      For example a form that lets a user enter their first/last name/email and a file, then validate that input isn't null before upload. Is there a recommended method to do this? Is there a way to trigger the upload after a form is validated/submitted from the action method bound to a command button?

       

      Thanks!

        • 1. rich:fileUpload 4.0.0CR1
          alex2011

          We need a simple html file upload control like the one offered by Seam 2.  It's not always appropriate to have a fancy flash uploader.  I think I saw on the Seam 3 Faces wiki that the project isn't going to implement interface controls.

          • 2. rich:fileUpload 4.0.0CR1
            ilya_shaikovsky

            Request for "simple" mode is already present in FU component requireements. But it's will be revised after first Final version. Plus there are possibility to minimize the FU markup via just CSS (hiding some parts and providing more simple info on events using event handlers.)

             

            P.S. using simple seam or tomahawk controls you can't perform uploads via ajax. And it's the main usecase for our component.

            • 3. rich:fileUpload 4.0.0CR1
              asmart

              Thanks for the feedback.