It's ok there is no problem now. I use

  |  @DataModelSelection("conts") @Out(required = false) Contact contactel = 
new Contact();     
  | 
  |  @Begin(join = true)
  |     public String createContact(){
  |         Contact contact = new Contact();
  |         contact.setFirstName(contactel.getFirstName()) ;
  |         contact.setLastName(contactel.getLastName());
  |         contact.setPhone(contactel.getPhone());
  |         contact.setMail(contactel.getMail());
  |         contact.setOtherPhone(contactel.getOtherPhone());
  |         if (conts==null) conts=new ArrayList<Contact>();
  |         conts.add(contact);
  |         
  |         return "success";
  |              
  |     }
  | 
  | 
  | 

Thanks for your help !!!!!

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

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

Reply via email to