Form

Elements available in the Velocity Context

Name

Type and description

jcrSession

javax.jcr.Session


The JCR Session

messages

java.util.Map


A map containing messages associated with subscripts fields. The key is a subscript node and the corresponding value is a String object. An IllegalArgumentException will be thrown if any other is used with the methods in the map.

portlet

javax.jcr.Node


This portlet. See properties below

request

javax.portlet.PortletRequest


The portlet request, only available in render and validation states, not available when generating mail content

sitevisionUtils

senselogic.sitevision.api.Utils


The main entry point to all utility classes

values

java.util.Map


A map containing values associated with subscript fields. The key should be a subscript node and the corresponding value is either a String or a String[] object. An IllegalArgumentException will be thrown if any other object is used with the methods in the map.


Additional properties available for the portlet element ($portlet)

Name
Type and Description

errorFont

javax.jcr.PropertyType.WEAKREFERENCE

 

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

Form

javax.jcr.Node

 

The form in the form portlet

inputFont

javax.jcr.PropertyType.WEAKREFERENCE

 

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

labelFont

javax.jcr.PropertyType.WEAKREFERENCE

 

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

textFont

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