SortFilterColumn
A BasicColumn simply renders data from the data set into the page.
The data is referenced with the name
attribute and the title is specified
using the title
attribute.
Required resources:
The JavaScript files _grid.js must be included
in any JSP page with a grid that uses a filter-enabled BasicColumn.
The Page Flow Wizard adds the _grid.js file to a project's
/resources/grid directory, when you build a page flow over a database control.
The JSP should contain:
<script language="javascript" src="/resources/grid/_grid.js" type="text/javascript"></script> |
Attribute Descriptions | |||
---|---|---|---|
Attribute | Required | Runtime Expression Evaluation | Data Bindable |
filterable | No | Yes | No |
A boolean specifying whether the anchors can be filtered. | |||
filterAction | No | Yes | No |
The name of the action that will perform the filter operation. | |||
name | No | Yes | Yes |
If specified, the value of the data is extracted from the Grid's
current data item. Otherwise, the title attribute is used for the cell's
content. | |||
sortable | No | Yes | No |
A boolean specifying whether the basic column's contents can be sorted. | |||
sortAction | No | Yes | No |
The name of the action that will perform the sort operation. | |||
title | No | No | No |
The text that will be rendered in the header for this column. |
Related Topics
Object
TagSupport
BodyTagSupport
AbstractBaseTag
StructuredBaseTag
GridComponent
GridColumn
FormattableColumn
SortFilterColumn
BasicColumn
BodyTag
, Formattable
, IterationTag
, Serializable
, Tag
Field Summary |
Fields from com.bea.wlw.netui.tags.databinding.base. |
EMPTY_STRING |
Fields from com.bea.wlw.netui.tags. |
|
Fields from javax.servlet.jsp.tagext. |
bodyContent |
Fields from javax.servlet.jsp.tagext. |
id, pageContext |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_AGAIN |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary |
Method Summary |
public |
|
protected void |
|
public |
|
public |
|
Methods from com.bea.wlw.netui.tags.databinding.grid.column. |
|
Methods from com.bea.wlw.netui.tags.databinding.grid.column. |
|
Methods from com.bea.wlw.netui.tags.databinding.grid.column. |
|
Methods from com.bea.wlw.netui.tags.databinding.grid. |
|
Methods from com.bea.wlw.netui.tags.databinding.base. |
addContent, doEndTag, doStartTag, getContent, getCurrentRenderState, getValidContainerType, localRelease, prepare, renderEndTag, renderStartTag, verifyAttributes, verifyStructure |
Methods from com.bea.wlw.netui.tags. |
|
Methods from javax.servlet.jsp.tagext. |
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent |
Methods from javax.servlet.jsp.tagext. |
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface javax.servlet.jsp.tagext. |
doInitBody, setBodyContent |
Methods from interface com.bea.wlw.netui.tags.html. |
|
Methods from interface javax.servlet.jsp.tagext. |
doAfterBody |
Methods from interface javax.servlet.jsp.tagext. |
doEndTag, doStartTag, getParent, release, setPageContext, setParent |
Constructor Detail |
public BasicColumn()
Method Detail |
public String
getTagName()
Get the name of this tag. This is used to identify the type of this tag
for reporting tag errors.
AbstractBaseTag.getTagName()
protected void localRelease()Reset all of the fields of this tag.
SortFilterColumn.localRelease()
public String
renderDataCell()
For each cell in a column that is rendered for an item in the
Grid's dataset, this method is called to render the data for
the "current" item. Using the name attribute on this tag, the
value associated with that name for the current data item
is rendered in a table cell here. The String contents
of this cell are added to the Columns content buffer.
GridColumn.renderDataCell()
public String
renderFooterCell()
Render the footer. This footer contains no text.
GridColumn.renderFooterCell()