Susan Cline wrote:
Hi Mike,
Thanks for the response. I tried that too: javax.servlet.ServletException: Cannot get value for expression
'this is the flight-id: #{flightConfig.table.rowData}'

Obviously I've got something else wrong. I'll try to go with Simon's suggestion, but
I appreciate your help.

Just for your information, the table's rowIndex and rowData fields are only set to the "current row" during the action/actionListener callback associated with the commandLink in that row.

You can't try to access that information later from somewhere else; the table has long since finished accessing that row and moved on.

What you need to do is access the rowData object from the action or actionListener method that's invoked by the commandLink component, and store it somewhere else more permanent, like a member on the relevant managed bean. In fact, that's exactly what the t:updateActionListener is doing.

Regards,

Simon

Reply via email to