Go back

Summary

Tag name: <table>

The tpc table tag is used to display tabular data. It also supports selection (both single and multiple)/ sorting / record navigation.

Code Example(s)

    <table value="${linksmodel}" enableDrop="true"
           dropTransferHandler="${linkedItemTransferHandler}"
           mouseListener="${relationshipTableMouseListener}"
           id="wiRelationshipTable_id_0">

Attributes

Name Type Default value Required? Supports EL? Description
idStringYIt is the identifier for the component defined. The id is unique inside its grouping parent scope.
tagNameStringYThe tag name.
disabledbooleanfalseYIndicates whether the tag will be rendered as disabled or not. Valid values are true or false. The control will show as grayed out without reacting to any user input or action if the value is set to true.
shortDescStringYThe content will show as a tooltip information when mouseover its UI when the value is set.
visiblebooleantrueYIndicates if the UI block of the tag will be rendered as visible or not. Valid values are true or false. The component will not be rendered but the corresponding component will still be created and kept in the runtime component tree if the value is set to false.
mouseListenerjava.awt.event.MouseListenerEL onlyA MouseListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
keyListenerjava.awt.event.KeyListenerEL onlyA KeyListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
focusListenerjava.awt.event.FocusListenerEL onlyA FocusListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
PropertyChangeListenerjava.beans.PropertyChangeListenerEL OnlyA PropertyChangeListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
helpTopicIdStringYHelp topic ID that associate the help content with the current tag. For example -- when the connector integrates its help with Oracle Help center: This id will be used to identify the help HTML page inside connector help jar file and show the page in Oracle Help Center when the UI component has focus and F1 key is pressed.
contextMenuModeloracle.alm.view.model.AlmContextMenuModelEL OnlyAn Oracle AlmContextMenuModel class that registers a customized context menu for the current tag.
selectionListenerjavax.swing.event.ListSelectionListenerEL OnlyThe selectionListener attribute. It is used for connector developer to register a customized selectionListener for the table. For how to create and use it in TPC scope. Please refer to TPC connector developement guideline.
dragTransferHandlerjava.lang.ObjectEL OnlyThe dragTransferHandler attribute. It is used for connector developer to register a customized dragTransferHandler for the table. For how to create and use it in TPC scope. Please refer to TPC connector developement guideline.
dropTransferHandlerjava.lang.ObjectEL OnlyThe dropTransferHandler attribute. It is used for connector developer to register a customized dropTransferHandler for the table. For how to create and use it in TPC scope. Please refer to TPC connector developement guideline.
showGridbooleantrueYThe showGrid attribute specifies whether grid should show in the table or not.
showToolbarbooleantrueYthe showToolbar attribute specifies whether the toolbar should show in the table header or not.
valueoracle.alm.view.model.AlmDataTableModeltrueEL OnlyThe value attribute is the basic attribute for the table. The table's griddata is rendered based on the value. It is a specific implementation of AlmDataTableModel.
editablebooleanfalseYThe editable attribute specifies whether the table is an editable tabe or not (Note: currently in development mode. Please don't use it until future notic.
multiSelectionbooleanfalseYThe multiSelection attribute specifies whether the table support multiple selection or not.
firedEventStringYThe firedEvent attribute (Note: don't use it as we need to revisit it).
visibleRowCountint-1The visibleRowCount attribute specifies how many rows can be shown in the table.
headerTitleStringYThe headerTitle attribute specifies the header text of the table.
pprTargetsString[]EL OnlyAs a support for partial page refresh. It indicates the UI components need to be refreshed when the value for the current tag componet is changed. Its value is a comma separated string that contains the IDs of other tag components defined on the same page.
autoSizeColumnsbooleanfalseYThe autoSizeColumns attribute specifies whether the table column autoSize or not. TPC by default autosize last column.