Use the addTableRow component to let users add one or more rows of data in a table during runtime. This component is not supported on the following agent types: pda, phone, voice.
The addTableRow component must be used in the tableFooter element of a
table component. When used this way, ADF UIX creates a row in the table
footer that allows users to add a table row. This row contains a button
with a localized version of the button text 'Add Another Row'. To change
the button label, set the text
attribute on addTableRow to
the desired text.
The other attributes you can set for addTableRow are:
destination
- Specifies the URI the button references.
rows
- Specifies the number of rows to add. Default is 1.
If this attribute is set to a value greater than one, UIX provides a
customized button label by displaying the text 'Add X Rows' where X is
the number of rows.
The link in the button is a generated URL based on the destination attribute. If the formSubmitted attribute on the parent table is set to true, then a form submission link is generated instead. The following form field/value pairs from the table are submitted:
The same three keys and values are also sent as parameters in the event of a URL link.
...
<table>
...
<footer>
<tableFooter>
<contents>
<addTableRow/>
</contents>
</tableFooter>
</footer>
</table>
...
About TotalRow
About TableFooter and Total
Using TableFooter, AddTableRow, and
TotalRow
Working with Table
Components
Copyright © 1997, 2004, Oracle. All rights reserved.