ICEfaces
  1. ICEfaces
  2. ICE-8224

ace:fileEntry - does not respect the required validation for other form input fields

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29857 Sun Jul 08 22:11:04 MDT 2012 mark.collette ICE-8224 : ace:fileEntry - does not respect the required validation for other form input fields
        Files Changed
        Commit graph 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 ICE-8224 : ace:fileEntry - does not respect the required validation for other form input fields
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryPhaseListener.java
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryMeta.java
        Commit graph 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 ICE-8224 : ace:fileEntry - does not respect the required validation for other form input fields
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryPhaseListener.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntry.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryMeta.java

          People

          • Assignee:
            Mark Collette
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: