net.sf.ewc.taglib
Class ContextTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bynet.sf.ewc.taglib.EWCTag
              extended bynet.sf.ewc.taglib.ContextTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ContextTag
extends EWCTag

ContextTagsets a new context into the context stack. EWC tags within this one will evaluate their expression on this new context.

Author:
mballesteros
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.ewc.taglib.EWCTag
out, pageContext, parent, session
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
ContextTag()
          Main constructor
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getClassName()
          The context classname
 void setClassName(java.lang.String className)
          Sets the context classname
 
Methods inherited from class net.sf.ewc.taglib.EWCTag
getComponentPropertyFullExpression, getComponentPropertyValue, getComposedExpression, getContextPath, getCtx, getCtx, getCtx, getCtxPath, getCtxPath, getCtxPath, getCtxStack, getCtxStack, getEvent, getEWCSession, getExpressionValue, getExpressionValue, getExpressionValueAsString, getExpressionValueAsString, getFullExpression, getIndexedExpression, getParent, getStack, getStack, peekCtx, peekCtx, popCtx, printAttribute, printBeginTag, printEndBeginTag, printEndTag, printEndTag, pushCtx, pushCtx, pushCtx, pushCtx, release, setPageContext, setParent, substituteParentParameters
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getValue, getValues, removeValue, setId, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextTag

public ContextTag()
Main constructor

Method Detail

getClassName

public java.lang.String getClassName()
The context classname

Returns:
The context classname

setClassName

public void setClassName(java.lang.String className)
Sets the context classname

Parameters:
className - The context classname

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class EWCTag
Returns:

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class EWCTag
Returns:


Copyright © 2003-2004 SourceForge. All Rights Reserved.