ICEfaces
  1. ICEfaces
  2. ICE-1600

<ice:inputFile/> does not respect the uploadDirectoryAbsolute context-param in web.xml and new "downloadFolder" attribute not documented

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6DR#5, 1.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      Tomcat 5.5.17 / Liferay 4.3.0 (pre-release)

      Description

      In my web.xml file, I have this:

          <context-param>
              <param-name>com.icesoft.faces.uploadDirectory</param-name>
              <param-value>C:\Uploads</param-value>
          </context-param>
          <context-param>
              <param-name>com.icesoft.faces.uploadDirectoryAbsolute</param-name>
              <param-value>true</param-value>
          </context-param>

      But my file upload was throwing an exception, because I realized that the UploadServlet() constructor was not checking for the com.icesoft.faces.uploadDirectoryAbsolute context param value.

      In addition, the icefaces_component.tld file does not document the new "downloadFolder" attribute of the <ice:inputFile/> component.

      uploadDirectoryAbsolute

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #13964 Thu May 24 09:38:37 MDT 2007 mark.collette ICE-1600 : <ice:inputFile/> does not respect the uploadDirectoryAbsolute context-param in web.xml and new "downloadFolder" attribute not documented
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/UploadServlet.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFile.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/FileUploadComponent.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputFile-props.xml

          People

          • Assignee:
            Unassigned
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: