<sas:TableView>
The Custom Tag Handler Class for the TableView
Syntax
<sas: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:Edit ...>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:Edit>]
[<sas:Columns ...>
[<sas:Column ...>
[<sas:ColumnHeaderRenderer ...>
[<sas:CellContentsImageRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsImageRenderer>]
[<sas:CellContentsLabelRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsLabelRenderer>]
[<sas:CellContentsSimpleTemplateRenderer ...>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas: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:CellContentsSimpleTemplateRenderer>]
[<sas:CellContentsRenderer .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:ColumnHeaderRenderer>]
[<sas:CellRenderer ...>
[<sas:CellContentsImageRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsImageRenderer>]
[<sas:CellContentsLabelRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsLabelRenderer>]
[<sas:CellContentsSimpleTemplateRenderer ...>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas: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:CellContentsSimpleTemplateRenderer>]
[<sas:CellContentsRenderer .../>]
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellRenderer>]
[<sas:CellEditor ...>
[<sas:CellContentsCheckBoxEditor ...>
[<sas:StyleMapKey .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:StyleMapKey>, <sas:SetProperty> tags...]
</sas:CellContentsCheckBoxEditor>]
[<sas:CellContentsChoiceBoxEditor ...>
[<sas:StyleInfo .../>]
[<sas:Item .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:Item>, <sas:SetProperty> tags...]
</sas:CellContentsChoiceBoxEditor>]
[<sas:CellContentsListBoxEditor ...>
[<sas:StyleInfo .../>]
[<sas:Item .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:Item>, <sas:SetProperty> tags...]
</sas:CellContentsListBoxEditor>]
[<sas:CellContentsRadioEditor ...>
[<sas:StyleMapKey .../>]
[<sas:Item .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:StyleMapKey>, <sas:Item>, <sas:SetProperty> tags...]
</sas:CellContentsRadioEditor>]
[<sas:CellContentsTextAreaEditor ...>
[<sas:StyleInfo .../>]
[<sas:RequiredStringValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsTextAreaEditor>]
[<sas:CellContentsTextEntryEditor ...>
[<sas:StyleInfo .../>]
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:CompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CompositeValidator>]
[<sas:MaximumValueCompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MaximumValueCompositeValidator>]
[<sas:MinimumValueCompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MinimumValueCompositeValidator>]
[<sas:MinMaxValueCompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MinMaxValueCompositeValidator>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsTextEntryEditor>]
[<sas:CellContentsEditor .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellEditor>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:Column>]
[<sas:ColumnHeaderRenderer ...>
[<sas:CellContentsImageRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsImageRenderer>]
[<sas:CellContentsLabelRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsLabelRenderer>]
[<sas:CellContentsSimpleTemplateRenderer ...>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas: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:CellContentsSimpleTemplateRenderer>]
[<sas:CellContentsRenderer .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:ColumnHeaderRenderer>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:Column>, <sas:SetProperty> tags...]
</sas:Columns>]
[<sas:Rows ...>
[<sas:Row .../>]
[<sas:RowHeaderRenderer ...>
[<sas:CellContentsImageRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsImageRenderer>]
[<sas:CellContentsLabelRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsLabelRenderer>]
[<sas:CellContentsSimpleTemplateRenderer ...>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas: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:CellContentsSimpleTemplateRenderer>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:RowHeaderRenderer>]
[<sas:ColumnHeaderRow .../>]
[<sas:NoRowsRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:NoRowsRenderer>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:Row>, <sas:SetProperty> tags...]
</sas:Rows>]
[<sas:Form ...>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:Form>]
[<sas:CellRenderer ...>
[<sas:CellContentsImageRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsImageRenderer>]
[<sas:CellContentsLabelRenderer ...>
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsLabelRenderer>]
[<sas:CellContentsSimpleTemplateRenderer ...>
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas: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:CellContentsSimpleTemplateRenderer>]
[<sas:CellContentsRenderer .../>]
[<sas:StyleInfo .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellRenderer>]
[<sas:CellEditor ...>
[<sas:CellContentsCheckBoxEditor ...>
[<sas:StyleMapKey .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:StyleMapKey>, <sas:SetProperty> tags...]
</sas:CellContentsCheckBoxEditor>]
[<sas:CellContentsChoiceBoxEditor ...>
[<sas:StyleInfo .../>]
[<sas:Item .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:Item>, <sas:SetProperty> tags...]
</sas:CellContentsChoiceBoxEditor>]
[<sas:CellContentsListBoxEditor ...>
[<sas:StyleInfo .../>]
[<sas:Item .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:Item>, <sas:SetProperty> tags...]
</sas:CellContentsListBoxEditor>]
[<sas:CellContentsRadioEditor ...>
[<sas:StyleMapKey .../>]
[<sas:Item .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:StyleMapKey>, <sas:Item>, <sas:SetProperty> tags...]
</sas:CellContentsRadioEditor>]
[<sas:CellContentsTextAreaEditor ...>
[<sas:StyleInfo .../>]
[<sas:RequiredStringValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsTextAreaEditor>]
[<sas:CellContentsTextEntryEditor ...>
[<sas:StyleInfo .../>]
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:CompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CompositeValidator>]
[<sas:MaximumValueCompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MaximumValueCompositeValidator>]
[<sas:MinimumValueCompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MinimumValueCompositeValidator>]
[<sas:MinMaxValueCompositeValidator ...>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MinMaxValueCompositeValidator>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellContentsTextEntryEditor>]
[<sas:CellContentsEditor .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:CellEditor>]
[<sas:StyleMapKey .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:CellRenderer>, <sas:CellEditor>, <sas:StyleMapKey>, <sas:SetProperty> tags...]
</sas:TableView>
Attributes
actionProvider | The HttpActionProvider object used by the TransformationBean. |
---|---|
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 | a list of attributes in the form of attribute="value", space delimited |
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 | Specifies the locale to use for this instance of the class. |
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 | Flag that, if true, indicates that the complete markup of the bean is output when the tag is closed. It also sets the the visible property on the underlying TransformationBean. |
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:TableView tag, extend com.sas.taglib.servlet.tbeans.tableview.TableViewTag.