org.displaytag.tags.el
Class ELTableTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.displaytag.tags.TemplateTag
              extended by org.displaytag.tags.HtmlTableTag
                  extended by org.displaytag.tags.TableTag
                      extended by org.displaytag.tags.el.ELTableTag
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 ELTableTag
extends TableTag

Adds EL support to displaytag's TableTag.

Version:
$Revision: 1125 $ ($Author: fgiust $)
Author:
Tim McCune, Fabrizio Giustina
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.displaytag.tags.TableTag
FILTER_CONTENT_OVERRIDE_BODY, list, listAttribute, PAGE_ATTRIBUTE_MEDIA
 
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
ELTableTag()
           
 
Method Summary
 int doStartTag()
          When the tag starts, we just initialize some of our variables, and do a little bit of error checking to make sure that the user is not trying to give us parameters that we don't expect.
 void release()
           
 void setCellpadding(java.lang.String value)
          setter for the "cellpadding" html attribute.
 void setCellspacing(java.lang.String value)
          setter for the "cellspacing" html attribute.
 void setClass(java.lang.String value)
          setter for the "class" html attribute.
 void setDecorator(java.lang.String value)
          Setter for the decorator class name.
 void setDefaultorder(java.lang.String value)
          sets the sorting order for the sorted column.
 void setDefaultsort(java.lang.String value)
           
 void setExcludedParams(java.lang.String value)
          Sets the list of parameter which should not be forwarded during sorting or pagination.
 void setExport(java.lang.String value)
           
 void setFrame(java.lang.String value)
          setter for the "frame" html attribute.
 void setHtmlId(java.lang.String value)
          setter for the "id" html attribute.
 void setLength(java.lang.String value)
           
 void setName(java.lang.String value)
           
 void setOffset(java.lang.String value)
           
 void setPagesize(java.lang.String value)
           
 void setRequestURI(java.lang.String value)
          setter for the "requestURI" attribute.
 void setRequestURIcontext(java.lang.String value)
           
 void setRules(java.lang.String value)
          setter for the "rules" html attribute.
 void setSize(java.lang.String value)
           
 void setSort(java.lang.String value)
          setter for the "sort" attribute.
 void setStyle(java.lang.String value)
          setter for the "style" html attribute.
 void setSummary(java.lang.String value)
          setter for the "summary" html attribute.
 void setUid(java.lang.String value)
          Sets the unique id used to identify for this table.
 
Methods inherited from class org.displaytag.tags.TableTag
addCell, addColumn, doAfterBody, doEndTag, doExport, doIteration, getBaseHref, getCaptionTag, getName, getProperties, getTableModel, getTotals, getUid, getVarTotals, initHref, isEmpty, isFirstIteration, isIncludedRow, isLastIteration, setCaption, setCaptionTag, setClearStatus, setDefaultsort, setExport, setFooter, setForm, setKeepStatus, setLength, setList, setName, setNameString, setOffset, setPagesize, setPartialList, setProperty, setRequestURIcontext, setSize, setSizeObjectName, setupViewableData, setVarTotals, writeExport, writeHTMLData
 
Methods inherited from class org.displaytag.tags.HtmlTableTag
addClass, getAttributeMap
 
Methods inherited from class org.displaytag.tags.TemplateTag
evaluateExpression
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, 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
 

Constructor Detail

ELTableTag

public ELTableTag()
Method Detail

setUid

public void setUid(java.lang.String value)
Description copied from class: TableTag
Sets the unique id used to identify for this table.

Overrides:
setUid in class TableTag
Parameters:
value - String
See Also:
TableTag.setUid(java.lang.String)

setCellpadding

public void setCellpadding(java.lang.String value)
Description copied from class: HtmlTableTag
setter for the "cellpadding" html attribute.

Overrides:
setCellpadding in class HtmlTableTag
Parameters:
value - EL expression for attribute value
See Also:
HtmlTableTag.setCellpadding(java.lang.String)

setStyle

public void setStyle(java.lang.String value)
Description copied from class: HtmlTableTag
setter for the "style" html attribute.

Overrides:
setStyle in class HtmlTableTag
Parameters:
value - EL expression for attribute value
See Also:
HtmlTableTag.setStyle(java.lang.String)

setSummary

public void setSummary(java.lang.String value)
Description copied from class: HtmlTableTag
setter for the "summary" html attribute.

Overrides:
setSummary in class HtmlTableTag
Parameters:
value - EL expression for attribute value
See Also:
HtmlTableTag.setSummary(java.lang.String)

setCellspacing

public void setCellspacing(java.lang.String value)
Description copied from class: HtmlTableTag
setter for the "cellspacing" html attribute.

Overrides:
setCellspacing in class HtmlTableTag
Parameters:
value - EL expression for attribute value
See Also:
HtmlTableTag.setCellspacing(java.lang.String)

setClass

public void setClass(java.lang.String value)
Description copied from class: HtmlTableTag
setter for the "class" html attribute.

Overrides:
setClass in class HtmlTableTag
Parameters:
value - EL expression for attribute value
See Also:
HtmlTableTag.setClass(java.lang.String)

setDecorator

public void setDecorator(java.lang.String value)
Description copied from class: TableTag
Setter for the decorator class name.

Overrides:
setDecorator in class TableTag
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setDecorator(java.lang.String)

setDefaultsort

public void setDefaultsort(java.lang.String value)
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setDefaultsort(int)

setDefaultorder

public void setDefaultorder(java.lang.String value)
Description copied from class: TableTag
sets the sorting order for the sorted column.

Overrides:
setDefaultorder in class TableTag
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setDefaultorder(java.lang.String)

setExport

public void setExport(java.lang.String value)
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setExport(boolean)

setFrame

public void setFrame(java.lang.String value)
Description copied from class: HtmlTableTag
setter for the "frame" html attribute.

Overrides:
setFrame in class HtmlTableTag
Parameters:
value - EL expression for attribute value
See Also:
HtmlTableTag.setFrame(java.lang.String)

setLength

public void setLength(java.lang.String value)
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setLength(int)

setName

public void setName(java.lang.String value)
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setName(java.lang.Object)

setOffset

public void setOffset(java.lang.String value)
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setOffset(int)

setPagesize

public void setPagesize(java.lang.String value)
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setPagesize(int)

setRequestURI

public void setRequestURI(java.lang.String value)
Description copied from class: TableTag
setter for the "requestURI" attribute. Context path is automatically added to path starting with "/".

Overrides:
setRequestURI in class TableTag
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setRequestURI(java.lang.String)

setRequestURIcontext

public void setRequestURIcontext(java.lang.String value)
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setRequestURIcontext(boolean)

setRules

public void setRules(java.lang.String value)
Description copied from class: HtmlTableTag
setter for the "rules" html attribute.

Overrides:
setRules in class HtmlTableTag
Parameters:
value - EL expression for attribute value
See Also:
HtmlTableTag.setRules(java.lang.String)

setSize

public void setSize(java.lang.String value)
Parameters:
value - EL expression for attribute value
See Also:
org.displaytag.tags.TableTag#setSize(java.lang.String)

setSort

public void setSort(java.lang.String value)
Description copied from class: TableTag
setter for the "sort" attribute.

Overrides:
setSort in class TableTag
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setSort(java.lang.String)

setExcludedParams

public void setExcludedParams(java.lang.String value)
Description copied from class: TableTag
Sets the list of parameter which should not be forwarded during sorting or pagination.

Overrides:
setExcludedParams in class TableTag
Parameters:
value - EL expression for attribute value
See Also:
TableTag.setExcludedParams(java.lang.String)

setHtmlId

public void setHtmlId(java.lang.String value)
Description copied from class: HtmlTableTag
setter for the "id" html attribute. Don't use setId() to avoid overriding original TagSupport method.

Overrides:
setHtmlId in class HtmlTableTag
Parameters:
value - EL expression for attribute value
See Also:
HtmlTableTag.setHtmlId(java.lang.String)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Description copied from class: TableTag
When the tag starts, we just initialize some of our variables, and do a little bit of error checking to make sure that the user is not trying to give us parameters that we don't expect.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TableTag
Returns:
int
Throws:
javax.servlet.jsp.JspException - generic exception
See Also:
Tag.doStartTag()

release

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


Copyright © 2002-2010 the Displaytag team. All Rights Reserved.