13 Replies Latest reply on Jun 15, 2018 6:58 AM by vicent Ros

    Allowflash is not working, Wildfly 9x

    vicent Ros Newbie

      Hello,

      I am using
      Wirefly 9x on my proyect. I use richfaces and am trying to enable multiple upload enabling flash but error ocurres when I do that. I tried to debug but the listener is not even called. When I disable flash I can upload files but not multiple.

      The XML code is

       

      <ui:composition
      xmlns="http://www.w3.org/1999/xhtml"

      xmlns:ui="http://java.sun.com/jsf/facelets"

      xmlns:h="http://java.sun.com/jsf/html"

      xmlns:f="http://java.sun.com/jsf/core"

      xmlns:rich="http://richfaces.org/rich"

      xmlns:a4j="http://richfaces.org/a4j"

      xmlns:c="http://java.sun.com/jstl/core" template="template.xhtml">

       

      And:

       

       

      <rich:fileUpload style="width:500px;

       

      height:225px;"

       

      fileUploadListener="#{fileUpload.listener}" id="upload"

      listHeight="225" listWidth="500" addControlLabel="Examinar"

      uploadControlLabel="Cargar" clearControlLabel="" acceptedTypes="zip" allowFlash="true"

       

      maxFilesQuantity="20" onerror="Richfaces.showModalPanel('pnl');"

      onfileuploadcomplete="checkError();">


      <a4j:support event="onclear" reRender="upload"/>

       

      </rich:fileUpload>

       

       

       

       

      The libraries I am using are:

       

       

       

      Thanks a lot.