Jetspeed 2
  1. Jetspeed 2
  2. JS2-1108

Admin portlet to edit properties of a page or folder by leveraging Portal Site Manager portlet

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1
    • Component/s: Admin Portlets
    • Labels:
      None

      Description

      It would be good if the portal site manager portlet has option(s) to display the property editing pane for a page or a folder based on preferences or parameters.
      This can be used for the page navigator portlet.

        Issue Links

          Activity

          Hide
          Woonsan Ko added a comment -

          Fixed. (but not used in the default package because page navigator has its own popup menu instead of this.)

          Anyway, PortalSiteManager has been improved to allow special preferences to change its display.
          For example, a fragment can be defined with preferences like this:

          <fragment id="js-sp-nodeeditor.2" type="portlet" name="j2-admin::PortalSiteManager">
          <preference name="component.visibility.siteTree">
          <value>false</value>
          </preference>
          <preference name="component.visibility.treeForm">
          <value>false</value>
          </preference>
          </fragment>

          If component.visibility.siteTree is false, then the left tree component is to hide.
          Also, if component.visibility.treeForm is false, then the treeForm component is to hide.

          Additionally, the PortalSiteManager accepts two parameters: _jssmnodetype and _jssmnodepath.
          _jssmnodetype could be one of page, folder or link.
          So, if the page url contains the two parameters, then the PortalSiteManager will display the target node initially.
          An example url of a page which contains PortalSiteManager portlet could be like this:

          /system/nodeeditor.psml?_jssmnodetype=page&_jssmnodepath=/default-page.psml

          Kind regards,

          Woonsan

          Show
          Woonsan Ko added a comment - Fixed. (but not used in the default package because page navigator has its own popup menu instead of this.) Anyway, PortalSiteManager has been improved to allow special preferences to change its display. For example, a fragment can be defined with preferences like this: <fragment id="js-sp-nodeeditor.2" type="portlet" name="j2-admin::PortalSiteManager"> <preference name="component.visibility.siteTree"> <value>false</value> </preference> <preference name="component.visibility.treeForm"> <value>false</value> </preference> </fragment> If component.visibility.siteTree is false, then the left tree component is to hide. Also, if component.visibility.treeForm is false, then the treeForm component is to hide. Additionally, the PortalSiteManager accepts two parameters: _jssmnodetype and _jssmnodepath . _jssmnodetype could be one of page, folder or link. So, if the page url contains the two parameters, then the PortalSiteManager will display the target node initially. An example url of a page which contains PortalSiteManager portlet could be like this: /system/nodeeditor.psml?_jssmnodetype=page&_jssmnodepath=/default-page.psml Kind regards, Woonsan

            People

            • Assignee:
              Woonsan Ko
              Reporter:
              Woonsan Ko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development