[jboss-user] [JBoss Seam] - Re: Need help updating multi-table dataTable - injecting lis

dhinojosa do-not-reply at jboss.com
Fri Oct 5 17:32:40 EDT 2007


Oops....I see your point now.

The answer is one....
If you wanted to do all the rows, you can change the update method to:


  |  public void update() {
  |            for(Customer customer: customer) {
  |                 em.merge(customer)
  |            }
  |     }
  | 
  | 

Therefore you wouldn't need 

  |     @DataModelSelection 
  |     private Customers customer;
  | 

Since nothing is being selected.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092200#4092200

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092200



More information about the jboss-user mailing list