Uploaded image for project: 'Magnolia Javascript Models'
  1. Magnolia Javascript Models
  2. JSMODELS-16

Enable model.* properties

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.0
    • 1.0
    • None
    • Kromeriz 110
    • 2

    Description

      The following properties of the model are all null.

      ${model.parent}
      ${model.root}
      ${model.content}
      ${model.root}
      ${model.definition}
      

      According to jsimak, it should be "easy" to add them.
      If possible, please enable these very handy properties in JavaScript model context too.

      Because JavaScriptRenderingModel is treated as JS object in freemarker, all method calls are now routed to the model#call method.

      We can add simple conditions to treat methods above as special cases.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              jsimak Jaroslav Simak
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD