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>
构造器和说明 |
---|
CmsJspTagResourceAccess() |
限定符和类型 | 方法和说明 |
---|---|
int |
doEndTag() |
int |
doStartTag() |
getScope, getScopeAsInt, getScopeAsString, getScopeInt, getVar, isScopeVarSet, release, setScope, setVar, storeAttribute, storeAttribute
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public int doEndTag()
doEndTag
在接口中 javax.servlet.jsp.tagext.Tag
doEndTag
在类中 javax.servlet.jsp.tagext.BodyTagSupport
Tag.doEndTag()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
在接口中 javax.servlet.jsp.tagext.Tag
doStartTag
在类中 javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
Tag.doStartTag()