se.kmr.scam.web.taglib.tiles
Class PutParamTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byse.kmr.scam.web.taglib.tiles.PutParamTag
All Implemented Interfaces:
BodyTag, IterationTag, Serializable, Tag

public class PutParamTag
extends BodyTagSupport

Puts a named value in context for an including file.

Version:
$Revision: 1.4 $
Author:
Jöran
See Also:
Serialized Form
Created:
den 12 april 2003

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
PutParamTag()
           
 
Method Summary
 int doAfterBody()
          Recives end-of-body notification.
 int doEndTag()
          Receives end-of-tag notification
 int doStartTag()
          Receives start-of-tag notification
 void setName(String name)
          Sets the name attribute.
 void setValue(String value)
          Sets the value attribute.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

PutParamTag

public PutParamTag()
Method Detail

setName

public void setName(String name)
Sets the name attribute.

Parameters:
name - the new name attribute value.

setValue

public void setValue(String value)
Sets the value attribute.


doStartTag

public int doStartTag()
               throws JspException
Receives start-of-tag notification

Returns:
the value of EVAL_BODY_TAG if the value attribute is udefined, the value of SKIP_BODY otherwise.
Throws:
JspException

doAfterBody

public int doAfterBody()
Recives end-of-body notification.

Returns:
the value of SKIP_BODY

doEndTag

public int doEndTag()
Receives end-of-tag notification

Returns:
the value of EVAL_PAGE


Copyright © 2003 SCAM. All Rights Reserved.