jp.terasoluna.fw.web.taglib
Class IfPreBlockadeTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by jp.terasoluna.fw.web.taglib.IfPreBlockadeTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

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

Implementation class of ifPreBlockadetag

IfPreBlockadeTag

Tag body part is output only when the server is in blocked state or pre-blockage state. Generally, it is ignored.Server blockage check is transferred to ServerBlockageController.


Attribute supported by tags

There is no attribute set by this tag.


Scripting variable of custom tag

There is no scripting variable set by this tag.


How to use
 <t:ifPreBlockade>
   ... // Display items only when the server is in blocked state or preblockage state
 </t:ifPreBlockade>
 

See Also:
ServerBlockageController, Serialized Form

Field Summary
private static long serialVersionUID
          Serial version ID
 
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
IfPreBlockadeTag()
           
 
Method Summary
 int doEndTag()
          Method which is called at the time of terminating tag evaluation.
 int doStartTag()
          Method which is called at the time of starting tag evaluation.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version ID

See Also:
Constant Field Values
Constructor Detail

IfPreBlockadeTag

public IfPreBlockadeTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Method which is called at the time of starting tag evaluation.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
Process control instructions
Throws:
javax.servlet.jsp.JspException - Exception

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Method which is called at the time of terinating tag evaluation.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
Process control instructions
Throws:
javax.servlet.jsp.JspException - Exception