NetUI Tag Library Documentation

netui-data
netui-data:templateCell Tag

Data grid cell that renders the content contained inside of its body inside of an HTML <td> tag.

Syntax

<netui-data:templateCell
    [cellAbbr="string_cellAbbr"]
    [cellAlign="string_cellAlign"]
    [cellAxis="string_cellAxis"]
    [cellChar="string_cellAlignChar"]
    [cellCharoff="string_cellAignCharOff"]
    [cellColspan="string_cellColspan"]
    [cellDir="string_cellDir"]
    [cellHeaders="string_cellHeaders"]
    [cellLang="string_cellLang"]
    [cellOnClick="string_cellOnClick"]
    [cellOnDblClick="string_cellOnDblClick"]
    [cellOnKeyDown="string_cellOnKeyDown"]
    [cellOnKeyPress="string_cellOnKeyPress"]
    [cellOnKeyUp="string_cellOnKeyUp"]
    [cellOnMouseDown="string_cellOnMouseDown"]
    [cellOnMouseMove="string_cellOnMouseMove"]
    [cellOnMouseOut="string_cellOnMouseOut"]
    [cellOnMouseOver="string_cellOnMouseOver"]
    [cellOnMouseUp="string_cellOnMouseUp"]
    [cellRowspan="string_cellRowspan"]
    [cellScope="string_cellScope"]
    [cellStyle="string_cellStyle"]
    [cellStyleClass="string_cellStyleClass"]
    [cellTagId="string_cellTagId"]
    [cellTitle="string_cellTitle"]
    [cellValign="string_cellAlign"]
    [filterExpression="string"]
    [sortExpression="string"] >
    ... JSP content ...
</netui-data:templateCell>

Description

Data grid cell that renders the content contained inside of its body inside of an HTML <td> tag. The body of the template cell can contain any JSP markup that is legal to nest inside of a javax.servlet.jsp.tagext.SimpleTag.

The templateCell can be used to render HTML UI that is not supported with other data grid cell types. For example, to build UI that will POST data to a form, the NetUI <netui:textBox> tag can be used as:

     <netui-data:templateCell>
          <netui:textBox dataSource="container.item.name"/>
     </netui-data:templateCell>
 

The set of JSP implicit objects available to the body include:

The HTML events, core attributes, and internationalization JSP tag attributes are applied to the <td>.

Attributes
cellAbbr
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The abbreviated form of the HTML table cell's content.
cellAlign
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The horizontal alignment of the HTML table cell.
cellAxis
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The axis attribute for the HTML table cell.
cellChar
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The horizontal alignment character for the HTML table cell
cellCharoff
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The horizontal alignment character offset for the HTML table cell.
cellColspan
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The colspan attribute of the HTML table cell.
cellDir
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The text direction attribute for the HTML table cell.
cellHeaders
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The headers attribute for the HTML table cell.
cellLang
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The language for the HTML table cell.
cellOnClick
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onClick JavaScript event for the HTML table cell.
cellOnDblClick
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onDblClick JavaScript event for the HTML table cell.
cellOnKeyDown
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onKeyDown JavaScript event for the HTML table cell.
cellOnKeyPress
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onKeyPress JavaScript event for the HTML table cell.
cellOnKeyUp
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onKeyUp JavaScript event for the HTML table cell.
cellOnMouseDown
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseDown JavaScript event for the HTML table cell.
cellOnMouseMove
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseMove JavaScript event for the HTML table cell.
cellOnMouseOut
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseOut JavaScript event for the HTML table cell.
cellOnMouseOver
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseOver JavaScript event for the HTML table cell.
cellOnMouseUp
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseUp JavaScript event for the HTML table cell.
cellRowspan
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The row span attribute for the HTML table cell.
cellScope
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The scope attribute for the HTML table cell.
cellStyle
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The style attribute for the HTML table cell.
cellStyleClass
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The style class attribute for the HTML table cell.
cellTagId
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The tagId for the HTML table cell. The user is responsible for ensuring that this tag id is unique in the rendered page.
cellTitle
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The title for the HTML table cell.
cellValign
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The vertical alignment for the HTML table cell.
filterExpression
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

Set the filter expression with which this cell should be associated. Cells use this value to lookup any Filter state that may apply to this cell. Often, this value matches a <netui-data:headerCell> set on a header cell. It is used by data cells to render styles representing filtered data.

sortExpression
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes



Tag Information
Tag ClassTemplateCell
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone