Help SiteVision 4

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.Utilsopens 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 

Denna sida publicerades: 2010-10-27

Skriv ut PDF-avsnitt

Hjälpte informationen på den här sidan dig?

Missa inga nya rön, tips och tricks! Prenumerera på insite!

sitevision.eu

Find us!

SiteVision AB (Headquarter)
Vasagatan 10
702 10 Orebro
Sweden

Info: +46 19-17 30 30
Support: +46 19-17 30 39

Latest Tweets