Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4268

Let the page model api serialize by default the entire page component hierarchy instead of only containers and items

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 5.3.0
    • None
    • None

    Description

      Currently, the page model api only serializes of the page structure the containers and their items. This is a bit odd. Rather I think we should serialize by default the entire component hierarchy: That is the page model. This way also all serialized content (from #setModels) is at least referenced since included content can also come from a non container (item) component but from a normal hst component.

      Perhaps we need a flag / boolean or different pipeline if for the SPA we really only want the containers and items. However, for the general purpose api, it is better to serialize the real page structure

      Attachments

        1. Screen Shot 2018-03-14 at 15.48.02.png
          Screen Shot 2018-03-14 at 15.48.02.png
          404 kB
        2. resourceapi.json
          8 kB
        3. menu.png
          menu.png
          252 kB
        4. hstlabel.png
          hstlabel.png
          262 kB
        5. defintionid.png
          defintionid.png
          157 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: