Hello,

i have a table like this :
Company:
   id
   company_name
  detail.

Sellers
  com_id (foreign key to Company table's id column )
  name


my _form.php must be like this :

Company Name: (input)
Seller name: (input)

in my actions, i create my form object like this :
$this->form = new CompanyForm($this->getRoute()->getObject());


is company is first time no problem.
But when i want to edit old data, i do not know how to bring Seller table's 
datas. What must i do, to catch Seller table datas, in CompanyForm.php's 
configure function?

Thanks.




      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!
--
You received this message because you are subscribed to the Google Groups "symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.

Reply via email to