lumis.portal.taglib
Class AddResourceTag

Package class diagram package AddResourceTag
java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by 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
AddResourceTag()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddResourceTag

public AddResourceTag()
Method Detail

setPath

public void setPath(String path)

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class TagSupport
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.


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.