Thanks for the explanation Simon.  As I mentioned in your earlier post I just responded to, the 
t:updateActionListener was exactly what I needed.
 
Regards,
 
Susan

Simon Kitching <[EMAIL PROTECTED]> wrote:
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
sto re 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