Add and remove bookmark

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

maxReachedImage

javax.jcr.PropertyType.WEAKREFERENCE

 

Corresponds to the value of 'Use image' of the max reached bookmark portlet configuration

maxReachedImageDesc

javax.jcr.PropertyType.STRING

 

Corresponds to the 'Image description' of the max reached bookmark portlet configuration

maxReachedText

javax.jcr.PropertyType.STRING

 

Corresponds to the value of 'Use text' of the max reached bookmark portlet configuration

maxReachedTextFont

javax.jcr.PropertyType.WEAKREFERENCE

 

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

maxReachedUseImage

javax.jcr.PropertyType.BOOLEAN

 

Corresponds to the 'Use image' of the max reached bookmark portlet configuration

maxReachedUseText

javax.jcr.PropertyType.BOOLEAN

 

Corresponds to the 'Use text' of the max reached bookmark portlet configuration

nofBookmarks

javax.jcr.PropertyType.LONG

 

The current number of bookmarks

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