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.
QA has tested trunk and ICEfaces 3.2 fileEntry in showcase built with MyFaces, and all scenarios work. There might be some application configuration issue that this jira creator is experiencing. I would recommend supplying a complete tomcat7 war.