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
Copy file name to clipboardExpand all lines: Layout With Template/README.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# Use of a default layout across all pages
2
2
3
-
A default template is used and each of the Controller methods plug their views into the template using the layout:decorator="~{layout/layout}" in each of the pages.
3
+
A default template is used and each of the Controller methods plug their views into the template using the layout:decorator="~{layout/layout}"
4
+
in each of the pages.
4
5
The content that must be posted into the layout (eg. subtract.html) is embedded within <divclass="container-fluid"layout:fragment="content"> ...</div> elements.
5
6
The view (eg. subtract.html) contains a pointer to the layout file - eg. layout:decorator="~{layout/layout}"
0 commit comments