I am using SFSB and @DataModel to display a list of record. But when i press
"edit" button to select a record to edit with @DataModelSelection. It always
select first record in the list, not selected one. Does anyone know why?
| @DataModel
| private List<Record> entityList;
|
| @DataModelSelection
| private Record selectedEntity;
|
In the JSP's DataTable
| <h:column>
| <h:commandButton value="Edit"
action="#recordBean.select}">
| </h:commandButton>
| </h:column>
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963091#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...