This discussion is archived
3 Replies Latest reply: Jun 18, 2012 4:51 AM by 731301 RSS

How to get current row of Advanced table with no submit

731301 Newbie
Currently Being Moderated
I have an advanced table with an 'Add another button'. When an empty row is created by clicking this button, LOV is used on the first column to populate other fields of the row. The rows of the table carry a button called "Add dependencies" whose functionality is to take the user to a different table to add rows to a different VO. This button is just a button and not a submitButton. I am passing the row's primary key as part of the URI as Vo attribute FdTaskId={@FdTaskId}

The button works perfectly fine for database fetched rows (rows already present in the database), but, for the rows created using 'Add Another button', though LOV populates all fields including the primary key, the URI parameter passes null to the next page. That means, the VO attribute is not set. This works fine only when a 'submit' happens in the first page. For example, if I click Add another row again, then the previously inserted row passes the primary key fine as part of {@FdTaskId}.

Could you please help me how I can resolve this issue?

Thanks,

Datta

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points