users@woodstock.java.net

Re: Problem getting selected table row with AJAX

From: Dan Labrecque <Dan.Labrecque_at_Sun.COM>
Date: Tue, 01 Apr 2008 12:21:56 -0500

There is no selected row value other than what is associated with the
checkbox you provided in a table cell. First, you must to ensure that
the HTML input value of the checkbox is submitted. Then, you need to
ensure the same DataProvider, used to render the table, is available
during the JSF decode phase. The table needs to iterate over each row
and call the decode method of each checkbox component.

Please see the "Life Cycle" section, in the tableRowGroup TLD doc below,
for more info.

    http://webdev2.sun.com/woodstock-tlddocs

Dan

Felipe Jaekel wrote:
> I have an Ajax Transaction component. I'm trying to get the selected
> row value from a table, so I configured it to send input, but it's not
> working.
>
> Is there something else that has to be done to get this working?
>
> Thanks,
> Felipe