Uploaded image for project: 'PUBLIC -  Liferay Screens'
  1. PUBLIC - Liferay Screens
  2. LSR-804

Support structured web content in WebContentDisplayScreenlet

    Details

      Description

      WebContentDisplayScreenlet currently supports the rendering of HTML retrieved from the portal. This HTML may be rendered using an specific template (using templateId parameter).

      However, a common use case is a structured web content. In the portal that web content is rendered using an specific template, but in Screens, we want to provide an native experience, so we need to render those structured web contents in a native way.

      The use is quite simple:

      • Set the articleId and structureId in WebContentDisplayScreenlet.
      • Create both xib and swift class for rendering that web content. It's the equivalent of the server-side template. Both xib and swift class belong to an ad-hoc theme.
      • Use that theme name in the WebContentDisplayScreenlet

        Attachments

          Activity

            People

            • Assignee:
              javier.gamarra Javier Gamarra
              Reporter:
              javier.gamarra Javier Gamarra
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                1.4.0