[jboss-user] [JBoss Seam] - DataModelSelection Problem

recycle_bin do-not-reply at jboss.com
Fri Aug 4 02:57:16 EDT 2006


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



More information about the jboss-user mailing list