com.cl.taglibs.isq
Class JsCheck

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.cl.taglibs.isq.JsCheck
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class JsCheck
extends javax.servlet.jsp.tagext.BodyTagSupport

Used to add custom javascript code at the end of generated function

See Also:
Serialized Form

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
JsCheck()
          Creates new instance of tag handler
 
Method Summary
 int doAfterBody()
          This method is called after the JSP engine processes the body content of the tag.
 int doEndTag()
          This method is called after the JSP engine finished processing the tag.
 int doStartTag()
          This method is called when the JSP engine encounters the start tag, after the attributes are processed.
 
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

JsCheck

public JsCheck()
Creates new instance of tag handler

Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException,
                      javax.servlet.jsp.JspException
This method is called when the JSP engine encounters the start tag, after the attributes are processed. Scripting variables (if any) have their values set here.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
EVAL_BODY_BUFFERED if the JSP engine should evaluate the tag body, otherwise return SKIP_BODY. This method is automatically generated. Do not modify this method. Instead, modify the methods that this method calls.
Throws:
javax.servlet.jsp.JspException
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException,
                    javax.servlet.jsp.JspException
This method is called after the JSP engine finished processing the tag.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
EVAL_PAGE if the JSP engine should continue evaluating the JSP page, otherwise return SKIP_PAGE. This method is automatically generated. Do not modify this method. Instead, modify the methods that this method calls.
Throws:
javax.servlet.jsp.JspException
javax.servlet.jsp.JspException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
This method is called after the JSP engine processes the body content of the tag.

Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
EVAL_BODY_AGAIN if the JSP engine should evaluate the tag body again, otherwise return SKIP_BODY. This method is automatically generated. Do not modify this method. Instead, modify the methods that this method calls.
Throws:
javax.servlet.jsp.JspException