Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ru.gammalabs.ice.presentation.web.taglib
Class InsertOnceOnPageTag  view InsertOnceOnPageTag download InsertOnceOnPageTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byru.gammalabs.ice.presentation.web.taglib.InsertOnceOnPageTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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


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
InsertOnceOnPageTag()
           
 
Method Summary
 int doEndTag()
          Evaluate the remainder of the current page normally.
 int doStartTag()
          Check whether the tag with such id was already inserted on page, and either evaluate the body and mark that insertion is done or skip the body of this tag.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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

InsertOnceOnPageTag

public InsertOnceOnPageTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Check whether the tag with such id was already inserted on page, and either evaluate the body and mark that insertion is done or skip the body of this tag.


doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Evaluate the remainder of the current page normally.