Versions Compared

Key

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

...

Info
titleAdvanced topic

It is not necessary to use a rendering model in Magnolia templating, but it is useful. Before you create your own model class, see if Magnolia's templating functions have the logic you need. They may save you some effort.

You cannot add model classes to YAML modules but you can still use the components provided by the MTE, many of which have model classes.

Table of Contents

Rendering is performed by the

Javadoc
0info.magnolia.rendering.engine.RenderingEngine
. The engine generates HTML output based on templates. The
Javadoc
0info.magnolia.rendering.engine.RenderingFilter
that is part of the filter chain submits a content node to the engine.

...

Advanced Tables - Table Plus
heading0
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

Node name

Value

Mgnl f
server

 

Mgnl f
rendering

 

Mgnl f
engine

 

Mgnl n
listeners

 

Mgnl n
directAreaRendering

 


Mgnl p
class

info.magnolia.rendering.listeners.AreaFilteringListener

...