SiteVision Onlinehelp
Search

Form portlet

Some functions in the form portlet uses custom JavaScript and Velocity templates (JCR). 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
valuesjava.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.
messagesjava.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.
Additional properties available for the portlet element ($portlet)
NameType and Description 
errorFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
inputFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
labelFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
textFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
Formjavax.jcr.Node 
 The form in the form portlet 

Last updated:

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