Blog category

Elements available in the Velocity Context

Name

Type and description

jcrSession

javax.jcr.Session


The JCR Session

portlet

javax.jcr.Node


This portlet. See properties below

request

javax.portlet.PortletRequest


The portlet request

sitevisionUtils

senselogic.sitevision.api.Utils


The main entry point to all utility classes

 

Additional properties available for the portlet element ($portlet)

Name
Type and Description

categories

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node where all categories are available as sub nodes (see documentation of category properties below).

categoryFont

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node that has property selectorText (java.lang.String) - the css class name of the font.



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.