Review main Merged

72803[FEATURE] Add content object related arguments to HtmlViewHelper

Stefan Froemken CR +2 V +2 Hard +265 −7 updated 01/06/22, 14:52

Commit message

The HtmlViewHelper is extended for a couple of new arguments,
used to influence the initialization of the content object.

Following arguments are added:

- "data" (array or object)
- "current"
- "currentValueKey"
- "table"

This allows to properly work with dynamic data in a custom parseFunc.

With the provided data record ("data" argument), the individual
entries can now be accessed using TS:field. With the "current"
argument, TS:current can be filled individually and with the
"currentValueKey" argument, a specific value from the data
record can be set as new TS:current.

The "table" argument is added for completeness, so that the
ContentObjectRenderer can be initialized correctly.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3