com.darwinsys.jsptags
Class BackRefTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.darwinsys.jsptags.BackRefTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class BackRefTag
extends javax.servlet.jsp.tagext.TagSupport

BackRefTag - generate a href back to the referrer, initially for use on help.

Version:
$Id: BackRefTag.java,v 1.5 2005/07/05 21:29:12 ian Exp $
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
BackRefTag()
           
 
Method Summary
 int doEndTag()
          Invoked at the end tag boundary, does the work
 void setLabel(java.lang.String lab)
           
 void setSurroundingtag(java.lang.String surround)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, 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

BackRefTag

public BackRefTag()
Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Invoked at the end tag boundary, does the work

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

setLabel

public void setLabel(java.lang.String lab)
Parameters:
lab - The label to print (e.g., "Back");

setSurroundingtag

public void setSurroundingtag(java.lang.String surround)
Parameters:
surround - The HTML tag to surrounding the link (e.g., "h6").


Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.