public class CmsFunctionRenderer extends java.lang.Object
Constructor and Description |
---|
CmsFunctionRenderer(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
defaultHtml(javax.servlet.http.HttpServletRequest request)
Returns the default output for functions without configured JSPs.
|
static CmsResource |
getDefaultFunctionInstance(CmsObject cms)
Cached method for accessing the default function formatter.
|
static CmsResource |
getDefaultFunctionJsp(CmsObject cms)
Cached method for accessing the default function formatter JSP.
|
void |
render()
Renders the requested element content with the flex formatter string template.
|
public CmsFunctionRenderer(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
context
- the page contextreq
- the requestres
- the responsepublic static java.lang.String defaultHtml(javax.servlet.http.HttpServletRequest request)
request
- the current requestpublic static CmsResource getDefaultFunctionInstance(CmsObject cms)
cms
- the current CMS contextpublic static CmsResource getDefaultFunctionJsp(CmsObject cms)
cms
- the current CMS contextpublic void render() throws java.io.IOException, javax.servlet.jsp.JspException
java.io.IOException
- in case writing to to page context out failsjavax.servlet.jsp.JspException
- in case something goes wrong during the JSP include