sv:portlet

Portlet nodes exists inside the page content node, layouts of view. It has no sub nodes.

A portlet node is available for each Sitevision module. They are visible in the left middle content frame in the editor view.

There might be additional properties for a portlet except the ones listed here. They are portlet specific properties (i.e. from the portlet preferences) which are different depending of the type of portlet.

Node name

Name

Type and description

<portlet-name>

Dynamic / Model dependent


The given name of the portlet (e.g. "Text", "Text 1", "Table").

 

Properties

Name

Type and description

displayName

javax.jcr.PropertyType.STRING

 

The given name of the portlet.

 


portletName

javax.jcr.PropertyType.STRING

 

The Portlet name.

Sitevision Utility API tip!

  • The NodeTreeUtil interface provides functionality to lookup/find sv:portlet nodes on a page or template.
  • The ContentNode interface provides functionality to lookup the page parent and the layout parent for a sv:portlet.
  • The OutputUtil interface provides functionality for rendering the content (html output) of a sv:portlet from another page.