Details
-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.3
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:icefaces 3.3 from trunk
Description
There is a small problem with Icefaces 1.8 to 3.3 migration.
Attributes failOnEmptyFile and onChange are unsupported so people can't block submit button if file is not selected.
Also fileEntryListener is not called if file is not selected so any kind of message can't be displayed.
Attributes failOnEmptyFile and onChange are unsupported so people can't block submit button if file is not selected.
Also fileEntryListener is not called if file is not selected so any kind of message can't be displayed.
Another one problem.Similar to
ICE-8224.Put additional ice:commandButton to ace:fileEntry/Validation page.
If you 'select file' then 'send a file' and click on ice:commanButton then you see message "You must select a file to upload" .. why, file is selected and uploaded already?
The reason is in FileEntryPhaseListener.afterPhase this remove last results with FileEntry.removeResults method but this is not necessary I suppose.
Workaround is add to form partialSubmit="true" but in this case users must prepare additional validation code because entryListener also is not called.