SiteVision Onlinehelp

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
Name Type and Description
portlet javax.jcr.Node
  This portlet. See properties below
sitevisionUtils senselogic.sitevision.api.Utils
  The main entry point to all utility classes
jcrSession javax.jcr.Session
  The JCR Session
request javax.portlet.PortletRequest
  The portlet request
Additional properties available for the portlet element ($portlet)
Name Type and Description  
categoryFont javax.jcr.PropertyType.WEAKREFERENCE  
  A Node that has property selectorText (java.lang.String) - the css class name of the font .  
categories javax.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
Name Type and Description  
showAllText javax.jcr.PropertyType.STRING  
  A 'Show all categories' text.  
showAllUrl javax.jcr.PropertyType.STRING  
  An URL that instructs a blog portlet to show all blog entries.  
Additional properties available for each category
Name Type and Description  
count javax.jcr.PropertyType.LONG  
  The number of blog entries where this category is selected.  
name javax.jcr.PropertyType.STRING  
  The name of the category.  
url javax.jcr.PropertyType.STRING  
  An URL that instructs a blog portlet to show blog entries with this category.  
help-cluster-3.sitevision.net