Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: Admin Portlets
    • Labels:
      None

      Description

      The File Portlet was long overdue for a rehaul. Now that full Portlet API 2.0 support is in place, we can make use of 2.0 features in the implementation. Slimmed down the impl to support the most important cases from users over time such as language support, configurable storing of content in webapp or file system, and file server pipeline. The file server pipeline has been decoupled from jetspeed so that a standard portlet request attribute passed on from the portal can be used to locate a file. This is useful for file server pipelines (like in Jetspeed) but is not limited to Jetspeed portal or coupled to Jetspeed in any way.

        Activity

        Hide
        David Sean Taylor added a comment -

        Init Parameters:

        • useLanguage : boolean, should this portlet use a language fallback algorithm, defaults to false
        • useFilesystem : boolean, should we look in the file system or in a webapp relative path, defaults to false
        • folder : string, base location of the folder to start searching in, applies to webapp and filesystem mounts
        • portalParam : string, the portal parameter passed in containing the name of the file (or path) to serve up
        • Preferences:
        • file : string, the name of the file to serve up
        • Portal provided render attributes:
        • file : string, the name of the file to serve up. overriding the preference
        Show
        David Sean Taylor added a comment - Init Parameters: useLanguage : boolean, should this portlet use a language fallback algorithm, defaults to false useFilesystem : boolean, should we look in the file system or in a webapp relative path, defaults to false folder : string, base location of the folder to start searching in, applies to webapp and filesystem mounts portalParam : string, the portal parameter passed in containing the name of the file (or path) to serve up Preferences: file : string, the name of the file to serve up Portal provided render attributes: file : string, the name of the file to serve up. overriding the preference

          People

          • Assignee:
            David Sean Taylor
            Reporter:
            David Sean Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development