You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thymeleaf is a view language for java (see http://www.thymeleaf.org/).
2
+
3
+
This library offers support for Experience Manager in Thymeleaf views.
4
+
5
+
Usage:
6
+
7
+
<xpm:page src="${page}"/>
8
+
9
+
Place this somewhere near the bottom of the HTML page. Generates the <script> tag needed for XPM. Note that the DD4T Page object must be on the request (in this example, it is called 'page' but that can be different per implementation).
10
+
11
+
<xpm:componentpresentation src="${entity}"/>
12
+
13
+
Place this tag directly inside the enclosing element of the component presentation. Note that the DD4T entity (= ViewModel) object must be on the request (in this example, it is called 'entity' but that can be different per implementation).
Place this tag directly inside the enclosing element of the field. Note that the DD4T entity (= ViewModel) object must be on the request (in this example, it is called 'entity' but that can be different per implementation).
0 commit comments