Package lumis.portal.taglib
Class AddResourceTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- lumis.portal.taglib.AddResourceTag
-
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
public class AddResourceTag extends TagSupport
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
-
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
-
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
-
Constructor Summary
Constructors Constructor Description AddResourceTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
static IResource
getResource(PageContext pageContext)
Returns the resource set in the current page through this tag.void
setPath(String path)
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
setPath
public void setPath(String path)
-
doStartTag
public int doStartTag() throws JspException
- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classTagSupport
- Throws:
JspException
-
getResource
public static IResource getResource(PageContext pageContext)
Returns the resource set in the current page through this tag.- Parameters:
pageContext
- the page context.- Returns:
- the resource, or null if none was set.
-
-