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#3963091

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963091
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to