org.rhq.enterprise.gui.legacy.taglib
Class AddToListColsTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.rhq.enterprise.gui.legacy.taglib.VarSetterBaseTag
org.rhq.enterprise.gui.legacy.taglib.AddToListColsTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class AddToListColsTag
- extends VarSetterBaseTag
Define the set of columns for the "from" and "to" tables in the Add
To List widget. Each column is specified by a nested
<spider:addToListCol> tag.
After this tag and its nested body are evaluated, a scoped
attribute will contain a List of Map
objects (each representing a column) with the following properties:
- name - a symbolic name for the column
- key - the message key for the column's table header
- See Also:
- Serialized Form
| 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 |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, 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 |
AddToListColsTag
public AddToListColsTag()
addCol
public void addCol(String name,
String key)
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
release
public void release()
- Release tag state.
- Specified by:
release in interface javax.servlet.jsp.tagext.Tag- Overrides:
release in class VarSetterBaseTag
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.