I am working in an ADF application which is deployed on a Glassfish server. I use jdeveloper 22.214.171.124.0.
I have problems with two components : the af:inputFile and the af:exportCollectionActionListener.
Cause of af:inputFile I had to change the usesUpload property to true.
[code]<af:form id="f1" usesUpload="true">[/code]
In Glassfish, if usesUpload property is true, the af:inputFile component have a strange behavior where the web browser ask user to refresh the page.
The other problem is about export excel functionality.
<af:commandImageLink text="" id="cil4" icon="/adf/images/excel.png">
<af:exportCollectionActionListener type="excelHTML" exportedId="t2"/>
In Glassfish, clicking on the export excel button raise a nullPointerException. This nullpointerException does not occur if the usesUpload property is set to false.
Knowing that there is no problem in weblogic, how can I use af:inputFile and af:exportCollectionActionListener components in an application which must be deployed on Glassfish? Is there a solution? or is it an ADF Essential's limitation?
used the same code for the export to excel on 126.96.36.199 of adf-essentials deployed to Oracle GlassFish Server 188.8.131.52 (build 5)
|<af:menu text="My Options" id="m2">|
|<af:commandMenuItem text="Export to Excel"|
Found no issues. Will give the inputfile a shot and let you know what I find.
Thanks for answer!
Is your excel export in a form where "usesUpload" property is set to true? By default it is false and there is no issue. But to have inputFile working (well they don't work too but it's another problem) I understand that this parameter must be to true, and after switching this parameter to true, excel export does not work for me.