SiteVision Onlinehelp
Search

Blog category portlet

The custom Velocity template in the Blog category portlet uses the JCR (Java Content Repository, JSR 283) programming model. The SiteVision API is available here
Elements available in the Velocity Context
NameType and Description
portletjavax.jcr.Node
 This portlet. See properties below
sitevisionUtilssenselogic.sitevision.api.Utils Opens in new window.
 The main entry point to all utility classes
jcrSessionjavax.jcr.Session
 The JCR Session
requestjavax.portlet.PortletRequest
 The portlet request
Additional properties available for the portlet element ($portlet)
NameType and Description 
categoryFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
categoriesjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node where all categories are available as sub nodes (see documentation of category properties below). 
Additional properties available for the categories element
NameType and Description 
showAllTextjavax.jcr.PropertyType.STRING 
 A 'Show all categories' text. 
showAllUrljavax.jcr.PropertyType.STRING 
 An URL that instructs a blog portlet to show all blog entries. 
Additional properties available for each category
NameType and Description 
countjavax.jcr.PropertyType.LONG 
 The number of blog entries where this category is selected. 
namejavax.jcr.PropertyType.STRING 
 The name of the category. 
urljavax.jcr.PropertyType.STRING 
 An URL that instructs a blog portlet to show blog entries with this category. 

Last updated:

se-sto-ste-sv5-2.sitevision-cloud.net
3.135.205.146