SiteVision Onlinehelp
Search

Add / remove bookmark element in news portlet

The custom Velocity template in the Add / remove bookmark element in the news 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
itemjavax.jcr.Node
 The item (for example an article) that is rendered
Additional properties available for the portlet element ($portlet)
NameType and Description 
nofBookmarksjavax.jcr.PropertyType.LONG 
 The current number of bookmarks 
addURLjavax.jcr.PropertyType.URI 
 The URL used to add the current item as bookmark 
removeURLjavax.jcr.PropertyType.URI 
 The URL used to remove the current item as bookmark 
addUseImagejavax.jcr.PropertyType.BOOLEAN 
 Corresponds to the 'Use image' of the add bookmark portlet configuration 
addImagejavax.jcr.PropertyType.WEAKREFERENCE 
 Corresponds to the value of 'Use image' of the add bookmark portlet configuration 
addImageDescjavax.jcr.PropertyType.STRING 
 Corresponds to the 'Image description' of the add bookmark portlet configuration 
addUseTextjavax.jcr.PropertyType.BOOLEAN 
 Corresponds to the 'Use text' of the add bookmark portlet configuration 
addTextjavax.jcr.PropertyType.STRING 
 Corresponds to the value of 'Use text' of the add bookmark portlet configuration 
addTextFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
removeUseImagejavax.jcr.PropertyType.BOOLEAN 
 Corresponds to the 'Use image' of the remove bookmark portlet configuration 
removeImagejavax.jcr.PropertyType.WEAKREFERENCE 
 Corresponds to the value of 'Use image' of the remove bookmark portlet configuration 
removeImageDescjavax.jcr.PropertyType.STRING 
 Corresponds to the 'Image description' of the remove bookmark portlet configuration 
removeUseTextjavax.jcr.PropertyType.BOOLEAN 
 Corresponds to the 'Use text' of the remove bookmark portlet configuration 
removeTextjavax.jcr.PropertyType.STRING 
 Corresponds to the value of 'Use text' of the remove bookmark portlet configuration 
removeTextFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
maxReachedUseImagejavax.jcr.PropertyType.BOOLEAN 
 Corresponds to the 'Use image' of the max reached bookmark portlet configuration 
maxReachedImagejavax.jcr.PropertyType.WEAKREFERENCE 
 Corresponds to the value of 'Use image' of the max reached bookmark portlet configuration 
maxReachedImageDescjavax.jcr.PropertyType.STRING 
 Corresponds to the 'Image description' of the max reached bookmark portlet configuration 
maxReachedUseTextjavax.jcr.PropertyType.BOOLEAN 
 Corresponds to the 'Use text' of the max reached bookmark portlet configuration 
maxReachedTextjavax.jcr.PropertyType.STRING 
 Corresponds to the value of 'Use text' of the max reached bookmark portlet configuration 
maxReachedTextFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 

Last updated:

se-sto-ste-sv5-1.sitevision-cloud.net
18.217.100.181