Gentlemen,

Sorry my bad english.

I have the following scheme, with relation 1-n.
customer:
     _attributes: (phpName: Customer)
     id: ~
     code: (type: char, size: '8 ', required: true, defaultValue:'', index:
unique)
     name: (type: char, size: '40 ', required: true, defaultValue:'')

contact:
     _attributes: (phpName: Contact)
     id: ~
    customer_id: ~
     name: (type: char, size: '40 ', required: true, defaultValue:'')
     email: (type: char, size: '255 ', required: true, defaultValue:'')

Through the command line, run the AdminGenerator and get the lists and forms
for editing and works without problems.
Edit generator.yml client, adding a virtual field "_contatct" in "form" and
create the file "_contacts.php".
I want the list generated automatically by AdminGenerator "contact" filtered
by "customer" in this virtual field.

I also tried via "embbedForm" and working but not good. Not desire the form
of "contact" and yes the list.

How I do? Or any better suggestion?

Grateful for the attention,

-- 

[:>} Alan Cândido ><>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@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