This content has been marked as final.
Show 2 replies
-
1. Re: selectOneRadio sample
matt.drees May 15, 2007 9:46 PM (in response to hsiung)Maybe I'm not understanding completely, but as I understand it, your SFSB *is* a backing bean. So, you'd treat it just the same as before.
-
2. Re: selectOneRadio sample
hsiung May 17, 2007 12:28 PM (in response to hsiung)Without Seam, the <h:dataTable ..> uses a backing bean in the web container that implements a method like this
public void selectFlight(ValueChangeEvent event) { selectedPassengerFlight = (PassengerFlight) passengerFlightTable.getRowData(); }
and declares a UIData like this
private UIData passengerFlightTable;
With Seam, the SFSB takes the role of the backing bean. As I understand it, the SFSB should not use UIData anymore, but rather @DataModel and @DataModelSelection (in my example selectedPassengerFlight).
But how does the method selectFlight look like with Seam?