ICEfaces
  1. ICEfaces
  2. ICE-9966

Showcase fileEntry Validation demo fails with Myfaces 2.2.2 libs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: 4.0
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Icefaces 4 trunk, Myfaces 2.2.2, All browsers, Tomcat 7 r40726
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Application should isolate the ace:fileEntry component into it's own form to avoid this issue with MyFaces 2.2.2.

      Description

      When using the slider to change file size a console error appears and the file size is not updated:
      Console error:
      clientError: The form with the id example-form has an input file element, but is not a multipart form
      http://localhost:8080/showcase/javax.faces.resource/jsf.js.jsf?ln=javax.faces&v=4_0_0_140407
      Line 1

      Steps to reproduce:
      Build showcase in Icefaces 4 with Myfaces 2.2.2 libs.
      Navigate to ace:fileEntry > Validation.
      Move the slider to the right to increase file size.
      Console error will appear and the file size will not be updated.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41183 Tue May 20 13:38:42 MDT 2014 mircea.toma ICE-9966 Avoid unsupported operation exception when accessing the view map on application startup by invoking EnvUtils.isFocusManaged during render phase.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41182 Tue May 20 12:09:53 MDT 2014 mircea.toma ICE-9966 Use separate form for the slider, Myfaces requires a multipart encoded form for a file input entry.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/validation.xhtml

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: