OK. so I ran the use case again. modified three input fields.  clicked the 
submit button on the JSF.

In the debugger, I have a stop at the first line of the SFSB's submit() method 
(which is called by submit click in JSF).

The values in the variables tab were appropriately changed to reflect what I 
had typed in the JSF form.

So I guess I don't have to explicitly inject them with an @In annotation.  How 
is it available, by the way?  Via the following code?:


  | @DataModel
  |     private List<Customers> customers;
  | 

Now when it exec's the em.persist(customers) call in the submit() method, I get 
the following exception:


  | Caused by: java.lang.IllegalArgumentException: Unknown entity: 
java.util.ArrayList
  | 

So that means I can't do the update in one em.persist() call?  I need to pull 
out the two entities from the customers List and go from there I guess...

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

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

Reply via email to