Blog menu

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

monthFont

javax.jcr.PropertyType.WEAKREFERENCE

 

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

monthIcon

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node that has the property URL (java.lang.String) - the url to the icon.

nonce

javax.jcr.PropertyType.STRING


The nonce attribute value for the current request

useMonthIcon

javax.jcr.PropertyType.BOOLEAN

 

Show an icon next to the month links.

useYearIcon

javax.jcr.PropertyType.BOOLEAN

 

Show an icon next to the year text.

yearFont

javax.jcr.PropertyType.WEAKREFERENCE

 

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

yearIcon

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node that has the property URL (java.lang.String) - the url to the icon.

years

javax.jcr.PropertyType.WEAKREFERENCE

 

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



Additional properties available for each year, months are available as sub nodes

Name
Type and Description

name

javax.jcr.PropertyType.STRING

 

The name of the year.



Additional properties available for each month

Name
Type and Description

count

javax.jcr.PropertyType.LONG

 

The number of blog entries in the month.

name

javax.jcr.PropertyType.STRING

 

The name of the month.

title

javax.jcr.PropertyType.STRING

 

The title attribute in the month link

URL

javax.jcr.PropertyType.STRING

 

An URL that instructs a blog portlet to show blog entries for this month.