<sas-dv:TableView>
The Custom Tag Handler Class for the TableView
Syntax
<sas-dv:TableView
[actionProvider="java.lang.String"]
[autoCreateColumnsFromModel="true|false"]
[borderWidth="int"]
[caption="java.lang.String"]
[cellPadding="3|int"]
[cellSpacing="0|int"]
[columnHeaderAreaRendererObject="com.sas.servlet.tbeans.tableview.ColumnHeaderAreaRenderer"]
[columnHeaderVisible="true|false"]
[columnPageSize="int"]
[customAttributes="java.lang.String"]
[formEnabled="true|false"]
[horizontalAlignment="NONE|LEFT|CENTER|RIGHT"]
[id="value"]
[instantiate="true|false"]
[locale="java.util.Locale"]
[model="java.lang.String"]
[ref="java.lang.String"]
[render="true|false"]
[rowHeaderVisible="true|false"]
[rowPageSize="int"]
[scope="page|request|session|application"]
[styleClassPrefix="java.lang.String"]
[summary="java.lang.String"]
[URLTemplate="java.lang.String"]
[width="int"]
[widthPercentage="int"]>
[<sas-dv:Edit ...>
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:Edit>]
[<sas-dv:Columns ...>
[<sas-dv:Column ...>
[<sas-dv:ColumnHeaderRenderer ...>
[<sas-dv:CellContentsImageRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsImageRenderer>]
[<sas-dv:CellContentsLabelRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsLabelRenderer>]
[<sas-dv:CellContentsSimpleTemplateRenderer ...>
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
The html string used as the body of the cell. The string can
have substition variables of the form %COLUMNNAME and the value
for this column will be substituted into the string.
</sas-dv:CellContentsSimpleTemplateRenderer>]
[<sas-dv:CellContentsRenderer .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:ColumnHeaderRenderer>]
[<sas-dv:CellRenderer ...>
[<sas-dv:CellContentsImageRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsImageRenderer>]
[<sas-dv:CellContentsLabelRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsLabelRenderer>]
[<sas-dv:CellContentsSimpleTemplateRenderer ...>
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
The html string used as the body of the cell. The string can
have substition variables of the form %COLUMNNAME and the value
for this column will be substituted into the string.
</sas-dv:CellContentsSimpleTemplateRenderer>]
[<sas-dv:CellContentsRenderer .../>]
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellRenderer>]
[<sas-dv:CellEditor ...>
[<sas-dv:CellContentsCheckBoxEditor ...>
[<sas-dv:StyleMapKey .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:StyleMapKey>, <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsCheckBoxEditor>]
[<sas-dv:CellContentsChoiceBoxEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsChoiceBoxEditor>]
[<sas-dv:CellContentsListBoxEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsListBoxEditor>]
[<sas-dv:CellContentsRadioEditor ...>
[<sas-dv:StyleMapKey .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:StyleMapKey>, <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsRadioEditor>]
[<sas-dv:CellContentsTextAreaEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsTextAreaEditor>]
[<sas-dv:CellContentsTextEntryEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsTextEntryEditor>]
[<sas-dv:CellContentsEditor .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellEditor>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:Column>]
[<sas-dv:ColumnHeaderRenderer ...>
[<sas-dv:CellContentsImageRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsImageRenderer>]
[<sas-dv:CellContentsLabelRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsLabelRenderer>]
[<sas-dv:CellContentsSimpleTemplateRenderer ...>
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
The html string used as the body of the cell. The string can
have substition variables of the form %COLUMNNAME and the value
for this column will be substituted into the string.
</sas-dv:CellContentsSimpleTemplateRenderer>]
[<sas-dv:CellContentsRenderer .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:ColumnHeaderRenderer>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:Column>, <sas-dv:SetProperty> tags...]
</sas-dv:Columns>]
[<sas-dv:Rows ...>
[<sas-dv:Row .../>]
[<sas-dv:RowHeaderRenderer ...>
[<sas-dv:CellContentsImageRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsImageRenderer>]
[<sas-dv:CellContentsLabelRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsLabelRenderer>]
[<sas-dv:CellContentsSimpleTemplateRenderer ...>
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
The html string used as the body of the cell. The string can
have substition variables of the form %COLUMNNAME and the value
for this column will be substituted into the string.
</sas-dv:CellContentsSimpleTemplateRenderer>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:RowHeaderRenderer>]
[<sas-dv:ColumnHeaderRow .../>]
[<sas-dv:NoRowsRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:NoRowsRenderer>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:Row>, <sas-dv:SetProperty> tags...]
</sas-dv:Rows>]
[<sas-dv:Form/>]
[<sas-dv:CellRenderer ...>
[<sas-dv:CellContentsImageRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsImageRenderer>]
[<sas-dv:CellContentsLabelRenderer ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsLabelRenderer>]
[<sas-dv:CellContentsSimpleTemplateRenderer ...>
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
The html string used as the body of the cell. The string can
have substition variables of the form %COLUMNNAME and the value
for this column will be substituted into the string.
</sas-dv:CellContentsSimpleTemplateRenderer>]
[<sas-dv:CellContentsRenderer .../>]
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellRenderer>]
[<sas-dv:CellEditor ...>
[<sas-dv:CellContentsCheckBoxEditor ...>
[<sas-dv:StyleMapKey .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:StyleMapKey>, <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsCheckBoxEditor>]
[<sas-dv:CellContentsChoiceBoxEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsChoiceBoxEditor>]
[<sas-dv:CellContentsListBoxEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsListBoxEditor>]
[<sas-dv:CellContentsRadioEditor ...>
[<sas-dv:StyleMapKey .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:StyleMapKey>, <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsRadioEditor>]
[<sas-dv:CellContentsTextAreaEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsTextAreaEditor>]
[<sas-dv:CellContentsTextEntryEditor ...>
[<sas-dv:StyleInfo/>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellContentsTextEntryEditor>]
[<sas-dv:CellContentsEditor .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:SetProperty> tags...]
</sas-dv:CellEditor>]
[<sas-dv:StyleMapKey .../>]
[<sas-dv:SetProperty ...>
The value to set on the parent tag
</sas-dv:SetProperty>]
[Additional <sas-dv:CellRenderer>, <sas-dv:CellEditor>, <sas-dv:StyleMapKey>, <sas-dv:SetProperty> tags...]
</sas-dv:TableView>
Attributes
actionProvider | |
|---|---|
autoCreateColumnsFromModel | If true, then the ColumnModel for the TableView is automatically generated everytime the model is set on the TableView. |
borderWidth | The width of the border around the TableView in pixels. |
caption | A brief description to describe the nature of the TableView. |
cellPadding | The number of pixels between the cell border and the cell content. |
cellSpacing | The number of pixels between the border of each cell. |
columnHeaderAreaRendererObject | If set, the renderer class is instantiated and used to write out the entire column header cell area. |
columnHeaderVisible | If true, then the column headers on the TableView are visible. |
columnPageSize | The number of columns to display. If columnPageSize is less than the number of columns in the column model then column scrolling will automatically be enabled. |
customAttributes | |
formEnabled | If true, then the form object is rendered by the TableView. If false, then the form object is not rendered and the user is responsible for rendering their own form. |
horizontalAlignment | The horizontal position of the TableView on the page. Valid values are LEFT, CENTER, RIGHT, and NONE. |
id | Case-sensitive name used to identify the object instance. |
instantiate | Flag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute. |
locale | |
model | The data model of the TableView. It must implement the javax.swing.table.TableModel interface. |
ref | The variable String value that represents an object created earlier in the same scope. |
render | |
rowHeaderVisible | If true, then the row headers on the TableView are visible. |
rowPageSize | The number of rows to display. If rowPageSize is less than the number of rows in the data model then row scrolling will automatically be enabled. |
scope | The scope (or page context) within which the reference is available. |
styleClassPrefix | A string to prepend to the styleClass name of the TableView. |
summary | A brief description of the structure and purpose of the TableView. |
URLTemplate | The Viewer's URLTemplate. This is the template pattern String used in the URL. |
width | The width of the TableView in pixels. Overrides widthPercentage if both are set. |
widthPercentage | The width of the TableView as a percentage. |
More Information
To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.tableview.html.TableView.
If you need to subclass the tag handler class for the sas-dv:TableView tag, extend com.sas.taglib.servlet.tbeans.tableview.TableViewTag.