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

        Neil Griffin created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.6DR#5 [ 10071 ]
        Assignee Priority P1
        Assignee Mark Collette [ mark.collette ]
        Neil Griffin made changes -
        Attachment UploadServlet.java [ 10407 ]
        Mark Collette made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Mark Collette made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.6 [ 10031 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Assignee Mark Collette [ mark.collette ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: