public class CmsJspTagResourceAccess extends CmsJspScopedVarBodyTagSuport
<cms:resourceload>
tag using JSP page context and the JSP EL.
The tag will create an instance of a CmsJspResourceAccessBean that is stored in the selected context.
Use the options provided by the bean to access the resource directly.
For example together with the JSTL, use this tag inside an open tag like this:
<cms:resourceload ... >
<cms:resourceaccess var="myVarName" scope="page" />
... other code ...
</cms:resourceload>| Constructor and Description |
|---|
CmsJspTagResourceAccess() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
int |
doStartTag() |
getScope, getScopeAsInt, getScopeAsString, getScopeInt, getVar, isScopeVarSet, release, setScope, setVar, storeAttribute, storeAttributedoAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic CmsJspTagResourceAccess()
public int doEndTag()
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportTag.doEndTag()public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionTag.doStartTag()