sv:layout
A layout is always a sub node of a layout repository (sv:layoutRepository). It can have zero or more portlets (sv:portlet) and layouts as children.
Layouts are used to structure the content on a web page or an article and are found in the middle left content frame in the editor view.
Name | Type and description |
---|---|
<layout-name> | Dynamic / Model dependent |
The given name of the layout |
Name | Type and description |
---|---|
displayName | javax.jcr.PropertyType.STRING |
The given name of the layout | |
height | javax.jcr.PropertyType.STRING |
The given width of the layout (this property is set in the layout properties, e.g. 10.0em) | |
width | javax.jcr.PropertyType.STRING |
The given width of the layout (this property is set in the layout properties, e.g. 100px). |
Sitevision Utility API tip!
- The NodeTreeUtil interface provides functionality to lookup/find sv:layout nodes on a page or template.
- The ContentNode interface provides functionality to lookup the page parent and the layout parent for a sv:layout.
- The OutputUtil interface provides functionality for rendering the content (html output) of a sv:layout from another page.