1 Reply Latest reply on Jul 3, 2013 1:27 PM by kenfinni

    p:fileDownload is not supported in portlet bridge

    delphinus818

      I tried to use PrimeFaces <p:fileDownload and got the following error.  Is there any plan to support this?

       

      Caused by: java.lang.UnsupportedOperationException

             at javax.faces.context.ExternalContext.setResponseHeader(ExternalContext.java:1557) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]

             at org.jboss.portletbridge.context.ActionRequestExternalContextImpl.setResponseHeader(ActionRequestExternalContextImpl.java:281) [portletbridge-impl-3.2.1.Final.jar:3.2.1.Final]

             at org.primefaces.component.filedownload.FileDownloadActionListener.processAction(FileDownloadActionListener.java:63) [primefaces-3.4.2.jar:]

             at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]

             at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:775) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]

             at javax.faces.component.UICommand.broadcast(UICommand.java:300) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]

             at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]

             at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]

             at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) [jsf-impl-2.1.18-jbossorg-1.jar:]

             at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.18-jbossorg-1.jar:]