Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 3.2
-
Fix Version/s: 3.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:JBoss 7.1.1 Final
MyFaces 2.1.9
-
Assignee Priority:P2
-
Workaround Description:
Description
It is unable to upload any file with the FileEntryComponent: The required validator message is shown.
<ace:fileEntry id="inputFileName"
fileEntryListener="#{applicationController.uploadFile}"
relativePath="/upload/" required="true" useOriginalFilename="true"
useSessionSubdir="true" />
<h:commandButton type="submit" id="commandButtonUpload"
styleClass="iceCmdBtn __ontoBouton"
value="Upload" />
<ice:message id="inputFileMessage" for="inputFileName"
style="display:block;" escape="false" />
I can see in Firefug that the file content is not send in the querry.
<ace:fileEntry id="inputFileName"
fileEntryListener="#{applicationController.uploadFile}"
relativePath="/upload/" required="true" useOriginalFilename="true"
useSessionSubdir="true" />
<h:commandButton type="submit" id="commandButtonUpload"
styleClass="iceCmdBtn __ontoBouton"
value="Upload" />
<ice:message id="inputFileMessage" for="inputFileName"
style="display:block;" escape="false" />
I can see in Firefug that the file content is not send in the querry.
Joined a winmerge screenshot showing differences between two generated pages with mojarra (on the left) and myfaces (on the right)
Uploading files work fine with mojarra but not with myfaces...