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
| 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 |
| 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 . | ||
| yearFont | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has property selectorText (java.lang.String) - the css class name of the font . | ||
| useMonthIcon | javax.jcr.PropertyType.BOOLEAN | |
| Show an icon next to the month links. | ||
| monthIcon | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has the property URL (java.lang.String) - the url to the icon. | ||
| useYearIcon | javax.jcr.PropertyType.BOOLEAN | |
| Show an icon next to the year text. | ||
| 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). |
| Name | Type and Description | |
|---|---|---|
| name | javax.jcr.PropertyType.STRING | |
| The name of the year. |
| 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. |
Sidan uppdaterad:
Nästa generations publiceringsverktyg är här!