public class ExtensionCells extends BodyTagSupport
Syntax:
<tbl:xt-cells dc=... item=... > <tbl:cell column="xt-columns" /> </tbl:xt-cells>
Attribute | Default value | Required | Description |
dc | - | yes |
A DbControl that can be used to query the database.
|
item | - | yes | The current item in the table. |
Modifier and Type | Field and Description |
---|---|
private ListColumnAction |
current |
private DbControl |
dc |
private Iterator<ListColumnAction> |
extensionColumns |
private Object |
item |
private static long |
serialVersionUID |
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
ExtensionCells() |
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody() |
int |
doStartTag() |
(package private) Object |
getCurrentValue()
Get the value for the current column and item.
|
(package private) String |
getNextColumnId()
This is called by the Cell taglib when the next extension column
is about to be processed.
|
private void |
readObject(ObjectInputStream ois) |
void |
setDc(DbControl dc) |
void |
setItem(Object item) |
private void |
writeObject(ObjectOutputStream ois) |
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
private static final long serialVersionUID
private Object item
private DbControl dc
private Iterator<ListColumnAction> extensionColumns
private ListColumnAction current
public void setDc(DbControl dc)
public void setItem(Object item)
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
public int doAfterBody() throws JspException
doAfterBody
in interface IterationTag
doAfterBody
in class BodyTagSupport
JspException
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream ois) throws IOException
IOException
String getNextColumnId()
Object getCurrentValue()