net.sf.wfnm.web.taglib
Class StatusTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bynet.sf.wfnm.web.taglib.StatusTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag

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

A tag that display the status of the framework.

Version:
1.0.6
Author:
Maurizio Albari
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
StatusTag()
           
 
Method Summary
 int doStartTag()
          Implements the start of the tag
 void setHeight(int height)
          Set the height of the status table
 void setPageColor(String pageColor)
          Sets the page color
 void setWebflowColors(String colors)
          Sets the colors of webflows background
 void setWidth(int width)
          Set the width of the status table
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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

StatusTag

public StatusTag()
Method Detail

setHeight

public void setHeight(int height)
Set the height of the status table

Parameters:
height - The height to set.

setPageColor

public void setPageColor(String pageColor)
Sets the page color

Parameters:
pageColor - The pageColor to set.

setWebflowColors

public void setWebflowColors(String colors)
Sets the colors of webflows background

Parameters:
colors - The colors to set in the form. For example 'A=#CFFAFA; B=#FAFA9A; C=#FACF9A; D=#DAFADA'

setWidth

public void setWidth(int width)
Set the width of the status table

Parameters:
width - The width to set.

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Implements the start of the tag

Returns:
always SKIP_BODY in order to skip the body
Throws:
javax.servlet.jsp.JspException - if something fails


Copyright © 2004-2005 Maurizio Albari@SourceForge.net. All Rights Reserved.