Archive 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

channels

Multi-Value of javax.jcr.PropertyType.WEAKREFERENCE


The channels, typically sv:archive

month.font

javax.jcr.PropertyType.WEAKREFERENCE


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

month.image

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

use.month.image

javax.jcr.PropertyType.BOOLEAN


Show an icon next to the month links.

use.year.image

javax.jcr.PropertyType.BOOLEAN


Show an icon next to the year text.

year.font

javax.jcr.PropertyType.WEAKREFERENCE


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

year.image

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 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 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.

startDate

javax.jcr.PropertyType.DATE

 

The start date 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.