Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The jcrGetCurrentNode and jcrGetChildNode providers are suitable for sub forms only since a dependency on a parent node is presupposed to exist.

...

Used in a sub app definition

In a sub app definition, a strategy is implemented for example in the Pages app, where the jcrNodeFromLocationProvider is used (see line 7 below). This provider type resolves a JCR node from location context:

...

(A snippet of an existing full definition, see https://git.magnolia-cms.com/projects/MODULES/repos/rest-client/browse/declarative-rest-demo/apps/commits.yaml#50-65.)

...

Used in a form definition

A strategy can be used to handle data-read operations in forms containing complex field. Consider the following definition of a complex field called address , composed of two simple fields, city and country .

...