About AddTableRow

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.

Add Another Row button at foot of table

The other attributes you can set for addTableRow are:

Custom Add Another Row button at foot of table

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.