Hi,
Just a concept question if that's ok.
Is this ok in
JSF.
- You have one view page (e.g. a .xhtml file)
- This page has a Html Datatable (i.e. h:datatable)
- This datatable gets its values from one backing bean -
ValuesBackingBean
- This datatable is bound to a HtmlDataTable in
another backing bean -
BindingBackingBean
- It is possible to select a row on this table. This is done by making one column a command link.
- When this command link is pressed, an action method on BindingBackingBean is invoked.
- Can the BindingBackingBean get a handle to what was selected?
If not and you have to use one backing bean for both the value of the datatable and the binding of it, how do you pass values from one backing bean to the other?
Thanks.