List bookmarks

Elements available in the Velocity Context

Name

Type and description

jcrSession

javax.jcr.Session


The JCR Session

portlet

javax.jcr.Node


This portlet. See properties below

request

javax.portlet.PortletRequest


The portlet request

sitevisionUtils

senselogic.sitevision.api.Utils


The main entry point to all utility classes

 

Additional properties available for the portlet element ($portlet)

Name
Type and Description

addImage

javax.jcr.PropertyType.WEAKREFERENCE

 

Corresponds to the value of 'Use image' of the add bookmark portlet configuration

addImageDesc

javax.jcr.PropertyType.STRING

 

Corresponds to the 'Image description' of the add bookmark portlet configuration

addText

javax.jcr.PropertyType.STRING

 

Corresponds to the value of 'Use text' of the add bookmark portlet configuration

addTextFont

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node that has property selectorText (java.lang.String) - the css class name of the font.

addURL

javax.jcr.PropertyType.URI

 

The URL used to add the current page as bookmark

addUseImage

javax.jcr.PropertyType.BOOLEAN

 

Corresponds to the 'Use image' of the add bookmark portlet configuration

addUseText

javax.jcr.PropertyType.BOOLEAN

 

Corresponds to the 'Use text' of the add bookmark portlet configuration

bookmarkFont

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node that has property selectorText (java.lang.String) - the css class name of the font.

bookmarks

javax.jcr.PropertyType.STRING

 

A JCR node containing the bookmarks. To resolve the actual node use the getNode() method on this property

categoryList

MutliValue of javax.jcr.PropertyType.STRING

 

A list of categories that correspond to the current list

header

javax.jcr.PropertyType.STRING

 

The header text corresponding to the portlet configuration

headerFont

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node that has property selectorText (java.lang.String) - the css class name of the font.

initialNofBookmarks

javax.jcr.PropertyType.LONG

 

Corresponds to the value of 'Limit number' of the portlet configuration

limitInitialNofBookmarks

javax.jcr.PropertyType.BOOLEAN

 

Corresponds to the 'Limit number' of the portlet configuration

noBookmarks

javax.jcr.PropertyType.STRING

 

Corresponds to the value of 'Show text for no bookmarks' of the portlet configuration

nofBookmarks

javax.jcr.PropertyType.LONG

 

The total number of bookmarks

noBookmarksFont

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node that has property selectorText (java.lang.String) - the css class name of the font.

nonce

javax.jcr.PropertyType.STRING


The nonce attribute value for the current request

removeImage

javax.jcr.PropertyType.WEAKREFERENCE

 

Corresponds to the value of 'Use image' of the remove bookmark portlet configuration

removeImageDesc

javax.jcr.PropertyType.STRING

 

Corresponds to the 'Image description' of the remove bookmark portlet configuration

removeText

javax.jcr.PropertyType.STRING

 

Corresponds to the value of 'Use text' of the remove bookmark portlet configuration

removeTextFont

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node that has property selectorText (java.lang.String) - the css class name of the font.

removeURL

javax.jcr.PropertyType.URI

 

The URL used to remove the current page as bookmark

removeUseImage

javax.jcr.PropertyType.BOOLEAN

 

Corresponds to the 'Use image' of the remove bookmark portlet configuration

removeUseText

javax.jcr.PropertyType.BOOLEAN

 

Corresponds to the 'Use text' of the remove bookmark portlet configuration

showAllBookmarks

javax.jcr.PropertyType.BOOLEAN

 

Indicates that all bookmarks are listed

useNoBookmarks

javax.jcr.PropertyType.BOOLEAN

 

Corresponds to 'Show text for no bookmarks' of the portlet configuration

viewAll

javax.jcr.PropertyType.STRING

 

Corresponds to 'Text for view all' of the portlet configuration

viewAllFont

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node that has property selectorText (java.lang.String) - the css class name of the font.

viewAllURL

javax.jcr.PropertyType.URI

 

The URL used to show all bookmarks

viewLess

javax.jcr.PropertyType.STRING

 

Corresponds to 'Text for show fever' of the portlet configuration

viewLessURL

javax.jcr.PropertyType.URI

 

The URL used to show less bookmarks



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

addURL

javax.jcr.PropertyType.URI

 

The URL used to add this bookmark

categories

MultiValue of javax.jcr.PropertyType.STRING

 

A list of all categories that this bookmark has

date

javax.jcr.PropertyType.DATE

 

The date when the bookmark was added

page

javax.jcr.PropertyType.WEAKREFERENCE

 

The page corresponding to the bookmark

removeURL

javax.jcr.PropertyType.URI

 

The URL used to remove this bookmark