public class CmsJspXmlContentBean extends CmsJspActionElement
Otherwise provides all functions from the parent class
.CmsJspActionElement
NOT_INITIALIZED
构造器和说明 |
---|
CmsJspXmlContentBean()
Empty constructor, required for every JavaBean.
|
CmsJspXmlContentBean(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Constructor, with parameters.
|
限定符和类型 | 方法和说明 |
---|---|
I_CmsXmlContentContainer |
contentload(java.lang.String collectorName,
java.lang.String collectorParam,
boolean editable)
Loads a set of
, same as
using the <cms:contentload collector="***" param="***" editable="***" /> tag. |
I_CmsXmlContentContainer |
contentload(java.lang.String collectorName,
java.lang.String collectorParam,
java.util.Locale locale,
boolean editable)
Loads a set of
, same as
using the <cms:contentload collector="***" param="***" locale="***" editable="***" /> tag. |
I_CmsXmlContentContainer |
contentload(java.lang.String collectorName,
java.lang.String collectorParam,
java.lang.String pageIndex,
java.lang.String pageSize,
java.util.Locale locale,
boolean editable)
Loads a set of
, same as
using the <cms:contentload collector="***" param="***" locale="***" editable="***" /> tag. |
I_CmsXmlContentContainer |
contentloop(I_CmsXmlContentContainer container,
java.lang.String element)
Enables looping over a list of element values in the given parent container, same as
using the
<cms:contentloop element="***" /> tag. |
java.lang.String |
contentshow(I_CmsXmlContentContainer container)
Returns the currently looped content element String value from the given XML content container, same as
using the
<cms:contentshow /> tag. |
java.lang.String |
contentshow(I_CmsXmlContentContainer container,
java.lang.String element)
Returns the selected content element String value from the given XML content container, same as
using the
<cms:contentshow element="***" /> tag. |
java.lang.String |
contentshow(I_CmsXmlContentContainer container,
java.lang.String element,
java.util.Locale locale)
Returns the selected content element String value from the given XML content container, same as
using the
<cms:contentshow element="***" locale="***" /> tag. |
editable, editable, editable, editableManualClose, editableManualOpen, getContent, getContent, getMessages, getMessages, getMessages, getMessages, getNavigation, getNavigationUri, img, img, include, include, include, include, include, include, includeSilent, includeSilent, includeSilent, includeSilent, info, label, link, link, properties, properties, property, property, property, property, template, template, template, toAbsolute, user
getCmsObject, getController, getJspContext, getMessage, getRequest, getRequestContext, getResponse, handleException, init, isNotInitialized, isSupressingExceptions, setContentType, setStatus, setSupressingExceptions
public CmsJspXmlContentBean()
public CmsJspXmlContentBean(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
context
- the JSP page context objectreq
- the JSP requestres
- the JSP responseCmsJspActionElement.CmsJspActionElement(PageContext, HttpServletRequest, HttpServletResponse)
public I_CmsXmlContentContainer contentload(java.lang.String collectorName, java.lang.String collectorParam, boolean editable) throws javax.servlet.jsp.JspException
I_CmsXmlDocument
, same as
using the <cms:contentload collector="***" param="***" editable="***" />
tag.The locale for accessing the content is read form the current OpenCms users request context.
collectorName
- the collector name to usecollectorParam
- the parameters for the collectoreditable
- indicates if "direct edit" support is required (will insert additional HTML)javax.servlet.jsp.JspException
- in case something goes wrongpublic I_CmsXmlContentContainer contentload(java.lang.String collectorName, java.lang.String collectorParam, java.util.Locale locale, boolean editable) throws javax.servlet.jsp.JspException
I_CmsXmlDocument
, same as
using the <cms:contentload collector="***" param="***" locale="***" editable="***" />
tag.collectorName
- the collector name to usecollectorParam
- the parameters for the collectorlocale
- the locale to use to access the contenteditable
- indicates if "direct edit" support is required (will insert additional HTML)javax.servlet.jsp.JspException
- in case something goes wrongpublic I_CmsXmlContentContainer contentload(java.lang.String collectorName, java.lang.String collectorParam, java.lang.String pageIndex, java.lang.String pageSize, java.util.Locale locale, boolean editable) throws javax.servlet.jsp.JspException
I_CmsXmlDocument
, same as
using the <cms:contentload collector="***" param="***" locale="***" editable="***" />
tag.collectorName
- the collector name to usecollectorParam
- the collector param to usepageIndex
- the display page index (may contain macros)pageSize
- the display page size (may contain macros)locale
- the locale to use to access the contenteditable
- indicates if "direct edit" support is required (will insert additional HTML)javax.servlet.jsp.JspException
- in case something goes wrongpublic I_CmsXmlContentContainer contentloop(I_CmsXmlContentContainer container, java.lang.String element)
<cms:contentloop element="***" />
tag.container
- the XML content container to read the content fromelement
- the element to loop overpublic java.lang.String contentshow(I_CmsXmlContentContainer container)
<cms:contentshow />
tag.
This is to be used with a container initialized by
,
in this case the element name is already set by the content loop container.contentloop(I_CmsXmlContentContainer, String)
The locale for accessing the content is read form the current OpenCms users request context.
container
- the XML content container to read the content frompublic java.lang.String contentshow(I_CmsXmlContentContainer container, java.lang.String element)
<cms:contentshow element="***" />
tag.The locale for accessing the content is read form the current OpenCms users request context.
container
- the XML content container to read the content fromelement
- the element to showpublic java.lang.String contentshow(I_CmsXmlContentContainer container, java.lang.String element, java.util.Locale locale)
<cms:contentshow element="***" locale="***" />
tag.container
- the XML content container to read the content fromelement
- the element to showlocale
- the locale to read the element from