<sasads:Table>

Used to display a Table. When there is a need to scroll through the Table, then the Table can be used in conjunction with a NavigationBar. The NavigationBar custom tag can be used as a subtag of the Table custom tag or it can be used outside the Table custom tag as a separate tag. If used as a subtag of the Table custom tag, then the NavigationBar custom tag's model is the parent Table tag. If the NavigationBar tag is used outside the Table tag as a separate tag, then user is responsible for setting the NavigationBar tag's model and the Table tag's model. If the Table tag's navigationBarEnabled attribute is set to false, then the user is responsible for rendering the NavigationBar, otherwise the Table will render the NavigationBar. The default scope for the sasads:Table custom tag is "session". This is because the scope must be set to "session" to allow scrolling through the Table via a NavigationBar. The Table tag is one of several SAS Custom Tags using an underlying TransformationBean that relies on a set of style classes that are used by default when generating the resulting markup language. For more information on style sheets and the default style classes that apply to underlying TransformationBean, refer to the AppDev Studio Developer Site. You'll find a useful reference document entitled Cascading Style Sheets, Images, and TransformationBeans as well as the TransformationBeans Style Sheet Reference.

Syntax

<sasads:Table
   [borderWidth="int"]
   [cellPadding="int"]
   [cellSpacing="int"]
   [customAttributes="java.lang.String"]
   [epilog="java.lang.String"]
   [horizontalAlignment="java.lang.String"]
   [id="value"]
   [instantiate="true|false"]
   [locale="java.util.Locale"]
   [maxColumns="int"]
   [maxRows="int"]
   [model="java.lang.String"]
   [name="java.lang.String"]
   [navigationBarEnabled="true|false"]
   [navigationBar="java.lang.String"]
   [navigationBarOrientation="java.lang.String"]
   [prolog="java.lang.String"]
   [ref="java.lang.String"]
   [render="true|false"]
   [renderType="java.lang.String"]
   [scope="java.lang.String"]
   [useColumnHeadings="true|false"]
   [width="int"]
   [widthPercentage="int"]>
      [<sasads:ColumnFormat ...>
         format to apply; can be markup language and/or valid meta data tags
      </sasads:ColumnFormat>]
      [<sasads:RowFormat ...>
         format to apply; can be markup language and/or valid meta data tags
      </sasads:RowFormat>]
      [<sasads:CustomColumn ...>
         markup language describing the custom column
      </sasads:CustomColumn>]
      [<sasads:CustomRow ...>
         markup language describing the custom row
      </sasads:CustomRow>]
      [<sasads:ColumnRange ...>
         [<sasads:ExceptionRangeSegment .../>]
         [Additional <sasads:ExceptionRangeSegment> tags...]
         [The body is ignored if the model is set.]
      </sasads:ColumnRange>]
      [<sasads:NavigationBar .../>]
      [<sasads:NoRowsFormat ...>
         string to be displayed when model has no rows
      </sasads:NoRowsFormat>]
      [Additional <sasads:ColumnFormat>, <sasads:RowFormat>, <sasads:CustomColumn>, <sasads:CustomRow>, <sasads:ColumnRange> tags...]
</sasads:Table>

Attributes

borderWidththe border width of the table
cellPaddingthe cell padding of the table
cellSpacingthe cell spacing of the table
customAttributes
epilog
horizontalAlignmentthe horizontal alignment of the Table.
idCase-sensitive name used to identify the object instance.
instantiate
locale
maxColumnsthe maximum number of columns
maxRowsthe maximum number of rows
modelthe model of the Table
name
navigationBarEnabledthe whether or not the table should the navigation bar
navigationBarthe navigationbar within the specified scope to use with the Table
navigationBarOrientationorientation of navigation bar(s)
prolog
ref
render
renderType
scope
useColumnHeadingsSpecifies whether or not the table should use the model's headings
widththe width of the table
widthPercentagethe width of the table

More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.beans.TableInterface.

If you need to subclass the tag handler class for the sasads:Table tag, extend com.sas.taglib.servlet.beans.TableTag.