SiteVision Onlinehelp
Search

List bookmarks portlet

The custom Velocity template in the List bookmarks 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 Opens in new window.
 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 
bookmarksjavax.jcr.PropertyType.STRING 
 A JCR node containing the bookmarks. To resolve the actual node use the getNode() method on this property 
addURLjavax.jcr.PropertyType.URI 
 The URL used to add the current page as bookmark 
removeURLjavax.jcr.PropertyType.URI 
 The URL used to remove the current page as bookmark 
viewAllURLjavax.jcr.PropertyType.URI 
 The URL used to show all bookmarks 
viewLessURLjavax.jcr.PropertyType.URI 
 The URL used to show less bookmarks 
nofBookmarksjavax.jcr.PropertyType.LONG 
 The total number of bookmarks 
categoryListMutliValue of javax.jcr.PropertyType.STRING 
 A list of categories that correspond to the current list 
showAllBookmarksjavax.jcr.PropertyType.BOOLEAN 
 Indicates that all bookmarks are listed 
headerFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
bookmarkFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
noBookmarksFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
viewAllFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
removeTextFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
headerjavax.jcr.PropertyType.STRING 
 The header text corresponding to the portlet configuration 
limitInitialNofBookmarksjavax.jcr.PropertyType.BOOLEAN 
 Corresponds to the 'Limit number' of the portlet configuration 
initialNofBookmarksjavax.jcr.PropertyType.LONG 
 Corresponds to the value of 'Limit number' of the portlet configuration 
viewAlljavax.jcr.PropertyType.STRING 
 Corresponds to 'Text for view all' of the portlet configuration 
viewLessjavax.jcr.PropertyType.STRING 
 Corresponds to 'Text for show fever' of the portlet configuration 
useNoBookmarksjavax.jcr.PropertyType.BOOLEAN 
 Corresponds to 'Show text for no bookmarks' of the portlet configuration 
noBookmarksjavax.jcr.PropertyType.STRING 
 Corresponds to the value of 'Show text for no bookmarks' of the portlet configuration 
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 . 
The bookmarks node has a number of sub nodes which correspond to the bookmarks for the current user. It has no properties.
The bookmark nodes has the following properties:
NameType and Description 
pagejavax.jcr.PropertyType.WEAKREFERENCE 
 The page corresponding to the bookmark 
datejavax.jcr.PropertyType.DATE 
 The date when the bookmark was added 
categoriesMultiValue of javax.jcr.PropertyType.STRING 
 A list of all categories that this bookmark has 
addURLjavax.jcr.PropertyType.URI 
 The URL used to add this bookmark 
removeURLjavax.jcr.PropertyType.URI 
 The URL used to remove this bookmark 

Last updated:

se-sto-ste-sv5-2.sitevision-cloud.net
3.129.67.26