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
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Mark Collette
made changes -
Attachment | FileEntry and InputText required.xlsx [ 14673 ] |
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 |
Ken Fyten
made changes -
Affects | [Documentation (User Guide, Ref. Guide, etc.)] |
Ken Fyten
made changes -
Fix Version/s | 3.1 [ 10312 ] | |
Fix Version/s | EE-3.0.0.GA_P01 [ 10327 ] |
Ken Fyten
made changes -
Assignee Priority | P1 | |
Assignee | Mark Collette [ mark.collette ] |
Arran Mccullough
made changes -
Attachment | Case11331Example.zip [ 14533 ] | |
Attachment | Case11331Example.war [ 14534 ] |
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000MHZeZ] |
Arran Mccullough
created issue -
Added an immediateValidation property to fileEntry, to allow for specifying what phase to do validations in. This has a default value of true, and is separate from immediate, only for backwards compatibility. Although, since fileEntryListener is something that we want to always be invoked, unlike a valueChangeListener for a typical input component, there may be some utility in how we've separated out when validation occurs versus when the fileEntryListener is invoked.
icefaces3 trunk
Subversion 29855
Subversion 29857 (Removed debug)
icefaces3-maintenance branch
Subversion 29856