NOTE! The name of this portlet was earlier (pre SiteVision 3) "JCR menu".
The custom Velocity template in the JCR menu 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 | |
---|---|---|
menuRoot | javax.jcr.PropertyType.WEAKREFERENCE | |
The root node from where the menu should be rendered. The node is based on the actual start node configuration of the portlet (i.e. other startpage, startpage from metadata, show parent if empty). | ||
normalFont | javax.jcr.PropertyType.WEAKREFERENCE | |
A Node that has property selectorText (java.lang.String) - the css class name of the font | ||
useActiveFont | javax.jcr.PropertyType.BOOLEAN | |
Whether or not a different font should be used for current page | ||
activeFont | javax.jcr.PropertyType.WEAKREFERENCE | |
A Node that has the property selectorText (java.lang.String) - the css class name of the active font. (NOTE! activeFont will only be available if useActiveFont == true) | ||
useImage | javax.jcr.PropertyType.BOOLEAN | |
Whether or not to use an Image | ||
image | javax.jcr.PropertyType.WEAKREFERENCE | |
A Node that has property URI (java.lang.String) - the relative URL to the image. (NOTE! image will only be available if useImage == true) | ||
useIcons | javax.jcr.PropertyType.BOOLEAN | |
Whether or not to use the Site's setting for icons and descriptions (i.e. "open in new window" icon, "external link" icon, "PDF" icon etc) |
Sidan uppdaterad:
Nästa generations publiceringsverktyg är här!