Package org.opencms.jsp.util
Class CmsDynamicFunctionBeanWrapper
java.lang.Object
org.opencms.jsp.util.CmsDynamicFunctionBeanWrapper
A wrapper class for using dynamic function beans inside JSPs via the EL.
-
Field Summary
Modifier and TypeFieldDescriptionprotected CmsObject
The internal CMS object to use.protected CmsDynamicFunctionBean
The dynamic function bean which is being wrapped. -
Constructor Summary
ConstructorDescriptionCmsDynamicFunctionBeanWrapper
(CmsObject cms, CmsDynamicFunctionBean functionBean) Creates a new wrapper instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the lazy map for accessing the various function formats.getJsp()
Gets the JSP file name of the wrapped dynamic function bean's main format.getParam()
Gets the parameters of the wrapped dynamic function bean's main format.Gets the parameters of the wrapped dynamic function bean's main format.
-
Field Details
-
m_cms
The internal CMS object to use. -
m_functionBean
The dynamic function bean which is being wrapped.
-
-
Constructor Details
-
CmsDynamicFunctionBeanWrapper
Creates a new wrapper instance.- Parameters:
cms
- the CMS context to usefunctionBean
- the dynamic function bean to wrap
-
-
Method Details
-
getFormatFor
Gets the lazy map for accessing the various function formats.- Returns:
- a map which allows access to the various function formats
-
getJsp
Gets the JSP file name of the wrapped dynamic function bean's main format.- Returns:
- a jsp file name
-
getParam
Gets the parameters of the wrapped dynamic function bean's main format.- Returns:
- the map of parameters
-
getParameters
Gets the parameters of the wrapped dynamic function bean's main format.- Returns:
- the map of parameters
-