Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X EE
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Based on the sources the 'PageSet' layout type is a hard one to find.

      Source: liferay-dxp-digital-enterprise-src-7.0-sp6-20171010144253003.zip

      The Layout object contains several methods which return their types:

      isTypeControlPanel()
      isTypeEmbedded()
      isTypeLinkToLayout()
      isTypePanel()
      isTypePortlet()
      isTypeSharedPortlet()
      isTypeURL()

      https://docs.liferay.com/portal/7.0/javadocs/portal-kernel/com/liferay/portal/kernel/model/Layout.html

      Unfortunately the "PageSet" check/boolean is missing.

      Every Layout has an LayoutTypeController which in this case resolves to the 'NodeLayoutTypeController' which return the LAYOUT_TYPE_NODE to the database ("node").

      I think it should be possible to also use a method layout.isTypePageSet() or layout.isTypeNode()

      Currently this is not the case. Can this be added to the source?

        Attachments

          Activity

            People

            Assignee:
            support-ee EE Support
            Reporter:
            jan.verweij Jan Verweij
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package