<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
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.
customAttributes
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.
locale
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.
render
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-dv:TableView tag, extend com.sas.taglib.servlet.tbeans.tableview.TableViewTag.