Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-98589

Convert Support widget decorators in fragment pages

    Details

      Description

      Context

      Widget pages support the concept of widget decorators, which allow page creators to choose among a pre-defined set of decorators for each of the widgets added to a page. There are three decorators (borderless, decorate, barebone) provided by the default theme (classic) but theme developers can define their own. LPS-98303 has introduced the ability of automatically converting widget pages to content pages, however, since content pages do not support the widget decorator concept, if a decorator was being used it was lost.

      The purpose of this Story is to introduce a minimal support of widget decorators in content pages so that the conversion keeps the full look and feel of a page which was using them as similar to the original as possible. To achieve that, any decorator being used will be preserved. However, it's been decided that it won't be possible to change the decorator after the initial conversion. The reason is that we believe for Content Pages, there are other simpler capabilities that replace the need for widget decorators, so adding full support for them would add unneeded complexity.

      Acceptance Criteria

      • Given a widget page which has several widgets with different decorators
      • When the page is converted to a content page
      • Then the content page has all the widgets with its corresponding decorators
      • Given a widget page which has several widgets with "borderless" and "decorate" decorators
      • When the page is converted to a content page
      • Then the content page has all the widgets with its corresponding decorators and when a page editor views the page they can edit the title of the widgets with "borderless" and "decorate" decorators

       

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.2.X
                  Master