0 Replies Latest reply on Jan 2, 2014 10:57 AM by Domen Cebulj

    WildFly CR1, PrettyFaces and file upload

    Domen Cebulj Newbie

      First of all, happy new year


      I have problem with file upload if I use PrimeFaces 4 & PrettyFaces (rewrite-servlet-2.0.9.Final.jar & rewrite-config-prettyfaces-2.0.9.Final.jar).


      Without PrettyFaces file upload with PF4 works great, but when I use (pretty-config.xml):


          <url-mapping id="upload">

              <pattern value="/upload" />

              <view-id value="/uploadTest.xhtml" />



      Neither /upload neither /uploadTest.xhtml don't work.



      <h:form enctype="multipart/form-data">

          <p:fileUpload fileUploadListener="#{test.fileUpload}" mode="advanced" />



      Here Pretty & PrimeFaces FileUpload is solution for Tomcat AS. Is this also possible in WildFly/UndertowIO?


      Also doesn't work with this:


          <filter-name>PrimeFaces FileUpload Filter</filter-name>




              <filter-name>PrimeFaces FileUpload Filter</filter-name>


          <servlet-name>Faces Servlet</servlet-name>




      Thanks for help.