Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.1, EE-3.0.0.GA, 3.1.0.BETA1
-
Fix Version/s: 3.1, EE-3.0.0.GA_P01
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
The ace:fileEntry component does not respect or work well with other fields required validation on the form.
Test Scenario: A page has an h:inputText field with required=true, an ace:fileEntry with required=true and an h:commandButton to submit the form.
- When no input fields are filled in and the button is clicked only the fileEntry required message is shown.
- If a file is selected and the button is clicked, the input fields required message is shown but the file upload takes place, basically ignoring the input fields required validation.
Customers requirement is to show required validation messages for all components at once. Also the upload should not take place if there is required inputs on the form.
Test Scenario: A page has an h:inputText field with required=true, an ace:fileEntry with required=true and an h:commandButton to submit the form.
- When no input fields are filled in and the button is clicked only the fileEntry required message is shown.
- If a file is selected and the button is clicked, the input fields required message is shown but the file upload takes place, basically ignoring the input fields required validation.
Customers requirement is to show required validation messages for all components at once. Also the upload should not take place if there is required inputs on the form.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29857 | Sun Jul 08 22:11:04 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29856 | Sun Jul 08 22:10:02 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryPhaseListener.java
MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryMeta.java MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntry.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29855 | Sun Jul 08 21:47:04 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryPhaseListener.java
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntry.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryMeta.java |