net.mlw.vlh.web.tag
Class DefaultColumnsTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bynet.mlw.vlh.web.tag.ConfigurableTag
              extended bynet.mlw.vlh.web.tag.DefaultColumnsTag
All Implemented Interfaces:
Attributeable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
DynaBeanColumnsTag

public abstract class DefaultColumnsTag
extends ConfigurableTag

Version:
$Revision: 1.6 $ $Date: 2005/11/23 15:02:16 $
Author:
Matthew L. Wilson
See Also:
Serialized Form

Field Summary
protected  Integer defaultSort
          Commons logger.
protected  Collection exclude
          Holds the excluded properties.
protected  Collection include
          Holds the included properties.
 
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
DefaultColumnsTag()
           
 
Method Summary
 int doEndTag()
           
 void release()
          Called on a Tag handler to release state.
 void setExclude(String excluded)
          Setter for the excluded properties
 void setInclude(String included)
          Setter for the included properties
 void setSortable(String value)
          Sets the defaultSort property.
 
Methods inherited from class net.mlw.vlh.web.tag.ConfigurableTag
appendClassCellAttribute, getAttributes, getCellAttributes, resetAttributes, setAttributes, setCellAttribute
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, 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
 

Field Detail

defaultSort

protected Integer defaultSort
Commons logger.


include

protected Collection include
Holds the included properties.


exclude

protected Collection exclude
Holds the excluded properties.

Constructor Detail

DefaultColumnsTag

public DefaultColumnsTag()
Method Detail

setSortable

public void setSortable(String value)
Sets the defaultSort property.

Parameters:
value - Valid values are "asc" and "desc".

setInclude

public void setInclude(String included)
Setter for the included properties

Parameters:
included - The included properties

setExclude

public void setExclude(String excluded)
Setter for the excluded properties

Parameters:
excluded - The excluded properties

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class ConfigurableTag
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doEndTag()

release

public void release()
Called on a Tag handler to release state. The page compiler guarantees that JSP page implementation objects will invoke this method on all tag handlers, but there may be multiple invocations on doStartTag and doEndTag in between.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class ConfigurableTag
See Also:
Tag.release()


Copyright © 2003-2006 mlavilson. All Rights Reserved.