[jboss-user] [JBoss Seam] - Re: Exception when i want to fill a form !!

yohann49 do-not-reply at jboss.com
Wed Aug 22 08:04:19 EDT 2007


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



More information about the jboss-user mailing list