ICEfaces
  1. ICEfaces
  2. ICE-5954

Seam + just-ice.jar + inputFile not working

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.8.2-EE-GA
    • Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02
    • Component/s: Framework, ICE-Components
    • Labels:
      None
    • Environment:
      Seam + just-ice.jar

      Description

      When using Seam Mail and Seam PDF with ICEfaces, you have to use just-ice.jar instead of icefaces.jar, and also use the view handler delegation. In this scenario, the ice:inputFile component is not working. It will render out, but when you do an upload it disappears. No error is shown in any log, it just silently fails, and returns to result to the browser. Seam + icefaces.jar, in the Seam component-showcase does demonstrate a functioning inputFile component, so it's specific to just-ice.jar.

        Activity

        Mark Collette created issue -
        Hide
        Mark Collette added a comment -

        In an icefaces.jar environment, it includes a Seam components.xml file for disabling Seam's multipart filter, which enabled ice:inputFile to function, and disables Seam's file upload component. It looks like just-ice.jar does not have this file, and that's the cause of the problem. Judy put the disabling markup into her application's components.xml, and it started working again. So, the necessary fix is to have just-ice.jar to include the same components.xml file that icefaces.jar does.

        Show
        Mark Collette added a comment - In an icefaces.jar environment, it includes a Seam components.xml file for disabling Seam's multipart filter, which enabled ice:inputFile to function, and disables Seam's file upload component. It looks like just-ice.jar does not have this file, and that's the cause of the problem. Judy put the disabling markup into her application's components.xml, and it started working again. So, the necessary fix is to have just-ice.jar to include the same components.xml file that icefaces.jar does.
        Mark Collette made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8.2-EE-GA_P02 [ 10226 ]
        Fix Version/s 1.8.3 [ 10211 ]
        Affects Version/s 1.8.2-EE-GA [ 10216 ]
        Affects Version/s 1.8.2 [ 10190 ]
        Affects Version/s 1.8.2a [ 10229 ]
        Assignee Mark Collette [ mark.collette ]
        Hide
        Judy Guglielmin added a comment -

        workaround for until this jira is resolved is to include the following line (once you define namespace for "web") in components.xml:-

        <web:multipart-filter disabled="true"/>

        Show
        Judy Guglielmin added a comment - workaround for until this jira is resolved is to include the following line (once you define namespace for "web") in components.xml:- <web:multipart-filter disabled="true"/>
        Hide
        Judy Guglielmin added a comment -

        attached sample application to test with (use maven to build with >mvn clean package)
        best to use jboss AS (as it has all the requirements for seam-tx mgmt, etc).

        Show
        Judy Guglielmin added a comment - attached sample application to test with (use maven to build with >mvn clean package) best to use jboss AS (as it has all the requirements for seam-tx mgmt, etc).
        Judy Guglielmin made changes -
        Attachment justIceInputFile.zip [ 12472 ]
        Hide
        Mark Collette added a comment -

        The attached file includes the work-around.

        Show
        Mark Collette added a comment - The attached file includes the work-around.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22069 Fri Jul 30 16:37:11 MDT 2010 mark.collette ICE-5954 : Seam + just-ice.jar + inputFile not working
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/build.xml
        Hide
        Mark Collette added a comment -

        Fixed for just-ice.jar

        Subversion 22069
        icefaces\core\build.xml

        Show
        Mark Collette added a comment - Fixed for just-ice.jar Subversion 22069 icefaces\core\build.xml
        Mark Collette made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Tyler Johnson made changes -
        Salesforce Case [5007000000C4OJe]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: