<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

actionProviderThe HttpActionProvider object used by the TransformationBean.
autoCreateColumnsFromModelIf true, then the ColumnModel for the TableView is automatically generated everytime the model is set on the TableView.
borderWidthThe width of the border around the TableView in pixels.
captionA brief description to describe the nature of the TableView.
cellPaddingThe number of pixels between the cell border and the cell content.
cellSpacingThe number of pixels between the border of each cell.
columnHeaderAreaRendererObjectIf set, the renderer class is instantiated and used to write out the entire column header cell area.
columnHeaderVisibleIf true, then the column headers on the TableView are visible.
columnPageSizeThe 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.
customAttributesa list of attributes in the form of attribute="value", space delimited
formEnabledIf 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.
horizontalAlignmentThe horizontal position of the TableView on the page. Valid values are LEFT, CENTER, RIGHT, and NONE.
idCase-sensitive name used to identify the object instance.
instantiateFlag 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.
localeSpecifies the locale to use for this instance of the class.
modelThe data model of the TableView. It must implement the javax.swing.table.TableModel interface.
refThe variable String value that represents an object created earlier in the same scope.
renderFlag 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.
rowHeaderVisibleIf true, then the row headers on the TableView are visible.
rowPageSizeThe 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.
scopeThe scope (or page context) within which the reference is available.
styleClassPrefixA string to prepend to the styleClass name of the TableView.
summaryA brief description of the structure and purpose of the TableView.
URLTemplateThe Viewer's URLTemplate. This is the template pattern String used in the URL.
widthThe width of the TableView in pixels. Overrides widthPercentage if both are set.
widthPercentageThe 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.