Jetspeed 2
  1. Jetspeed 2
  2. JS2-1138

Page Layout/Portal Site components should support requests and rendering of *.tpsml, *.fpsml, and *.dpsml documents

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.1
    • Labels:
      None
    • Environment:
      General base Jetspeed page pipelines.

      Description

      In addition to general ability to treat PSML *.tpsml, *.fpsml, and *.dpsml documents as pages, test cases need to be written for the Page Layout component and the Portal Site tests extended.

        Activity

        Hide
        Randy Watler added a comment -

        Initial support committed for 2.2.1. Enhancements may be required for subsequent releases, but that will be done under new JIRA issues.

        Show
        Randy Watler added a comment - Initial support committed for 2.2.1. Enhancements may be required for subsequent releases, but that will be done under new JIRA issues.
        Hide
        Randy Watler added a comment -

        Initial SVN commits:
        j2: 929033
        j2-admin: 929032

        Notes:
        --------------------------------------------------------------

        Urls like the following can now be used to view various template documents:

        http://localhost:8080/jetspeed/ui/definition.fpsml
        http://localhost:8080/jetspeed/ui/template.tpsml
        http://localhost:8080/jetspeed/ui/default-content.dpsml

        Missing fragment references and page templates currently generate empty portlets with errors like this when rendered:

        Failed to create rendering job

        This is due to the PAGE and REFERENCE portlet types not being recognized and portlet names left null. This still needs to be cleaned up.

        None of these features have been tested in the "/portal" pipeline: it is unlikely that these types will be editable in that portal configuration.

        The following important APIs have been added and/or modified:

        PageLayoutComponent:
        -----------------------------------------------------------------------------
        ContentFragment addFragmentReference(ContentFragment contentFragment, String id, int row, int column);
        ContentFragment addFragmentReference(ContentFragment contentFragment, String id);
        ContentFragment addFragmentReference(ContentPage contentPage, String id);
        void newSiblingDynamicPage(ContentPage contentPage, String pageName, String contentType, String layoutName, String pageTitle, String pageShortTitle);
        void newSiblingPageTemplate(ContentPage contentPage, String templateName, String layoutName, String templateTitle, String templateShortTitle);
        void newSiblingFragmentDefinition(ContentPage contentPage, String definitionName, String defId, String portletName, String definitionTitle, String definitionShortTitle);
        void updateContent(ContentPage contentPage, String contentType, Boolean inheritable);
        void updateRefId(ContentFragment contentFragment, String refId);

        ContentPage:
        --------------------------------------------------------------------------------
        String getContentType();
        boolean isInheritable();
        String getDefId();
        ContentFragment getFragmentByFragmentId(String id, boolean nonTemplate);
        List getFragmentsByName(String name, boolean nonTemplate);
        ContentFragment getNonTemplateRootFragment();
        ContentFragment addFragmentReference(String id);
        void newSiblingDynamicPage(String pageName, String contentType, String layoutName, String pageTitle, String pageShortTitle);
        void newSiblingPageTemplate(String templateName, String layoutName, String templateTitle, String templateShortTitle);
        void newSiblingFragmentDefinition(String definitionName, String defId, String portletName, String definitionTitle, String definitionShortTitle);
        void updateContent(String contentType, Boolean inheritable);

        ContentFragment:
        ---------------------------------------------------------------------------------
        String getRefId();
        boolean isTemplate();
        void updateRefId(String refId);

        Show
        Randy Watler added a comment - Initial SVN commits: j2: 929033 j2-admin: 929032 Notes: -------------------------------------------------------------- Urls like the following can now be used to view various template documents: http://localhost:8080/jetspeed/ui/definition.fpsml http://localhost:8080/jetspeed/ui/template.tpsml http://localhost:8080/jetspeed/ui/default-content.dpsml Missing fragment references and page templates currently generate empty portlets with errors like this when rendered: Failed to create rendering job This is due to the PAGE and REFERENCE portlet types not being recognized and portlet names left null. This still needs to be cleaned up. None of these features have been tested in the "/portal" pipeline: it is unlikely that these types will be editable in that portal configuration. The following important APIs have been added and/or modified: PageLayoutComponent: ----------------------------------------------------------------------------- ContentFragment addFragmentReference(ContentFragment contentFragment, String id, int row, int column); ContentFragment addFragmentReference(ContentFragment contentFragment, String id); ContentFragment addFragmentReference(ContentPage contentPage, String id); void newSiblingDynamicPage(ContentPage contentPage, String pageName, String contentType, String layoutName, String pageTitle, String pageShortTitle); void newSiblingPageTemplate(ContentPage contentPage, String templateName, String layoutName, String templateTitle, String templateShortTitle); void newSiblingFragmentDefinition(ContentPage contentPage, String definitionName, String defId, String portletName, String definitionTitle, String definitionShortTitle); void updateContent(ContentPage contentPage, String contentType, Boolean inheritable); void updateRefId(ContentFragment contentFragment, String refId); ContentPage: -------------------------------------------------------------------------------- String getContentType(); boolean isInheritable(); String getDefId(); ContentFragment getFragmentByFragmentId(String id, boolean nonTemplate); List getFragmentsByName(String name, boolean nonTemplate); ContentFragment getNonTemplateRootFragment(); ContentFragment addFragmentReference(String id); void newSiblingDynamicPage(String pageName, String contentType, String layoutName, String pageTitle, String pageShortTitle); void newSiblingPageTemplate(String templateName, String layoutName, String templateTitle, String templateShortTitle); void newSiblingFragmentDefinition(String definitionName, String defId, String portletName, String definitionTitle, String definitionShortTitle); void updateContent(String contentType, Boolean inheritable); ContentFragment: --------------------------------------------------------------------------------- String getRefId(); boolean isTemplate(); void updateRefId(String refId);

          People

          • Assignee:
            Randy Watler
            Reporter:
            Randy Watler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development