ICEfaces
  1. ICEfaces
  2. ICE-3857

OutputResource: Display correct URL when attachment="false"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8DR#2, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      When using the outputResource component to display pdfs, if attachement="true" the filename will be appended to the URL when the user selects save. If attachment="false", the filename is not included in the generated URL.

      i.e:

      http://localhost/testApp/Web/block/resource/LTE4NTk2MjU0MzQ=/filename.pdf

      instead of just

      http://localhost/testApp/Web/block/resource/LTE4NTk2MjU0MzQ=/

       

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18090 Thu Dec 18 15:45:51 MST 2008 yip.ng ICE-3857
        Changed to encode URL file name of resource and make the resource registry pattern matching still work with the encoded URL.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18008 Tue Dec 09 14:20:36 MST 2008 yip.ng ICE-3857
        Added file name to generated URL.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: