Blog menu portlet

The custom Velocity template in the Blog menu 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
 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 
monthFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
yearFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
useMonthIconjavax.jcr.PropertyType.BOOLEAN 
 Show an icon next to the month links. 
monthIconjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has the property URL (java.lang.String) - the url to the icon. 
useYearIconjavax.jcr.PropertyType.BOOLEAN 
 Show an icon next to the year text. 
yearIconjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has the property URL (java.lang.String) - the url to the icon. 
yearsjavax.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
NameType and Description 
namejavax.jcr.PropertyType.STRING 
 The name of the year. 
Additional properties available for each month
NameType and Description 
countjavax.jcr.PropertyType.LONG 
 The number of blog entries in the month. 
namejavax.jcr.PropertyType.STRING 
 The name of the month. 
titlejavax.jcr.PropertyType.STRING 
 The title attribute in the month link 
URLjavax.jcr.PropertyType.STRING 
 An URL that instructs a blog portlet to show blog entries for this month. 

Denna sida publicerades: 2013-06-26

Skriv ut PDF-avsnitt

Hjälpte informationen på den här sidan dig?

Missa inga nya rön, tips och tricks! Prenumerera på insite!

Find us!

SiteVision AB (Headquarter)
Vasagatan 10
702 10 Orebro
Sweden

Info: +46 19-17 30 30
Support: +46 19-17 30 39

Latest Tweets