Hi !
I have a module generated by the admin generator to manage customer
testimony related to a product ... so in my schema I have :
testimony:
id:
type: INTEGER
required: true
autoIncrement: true
primaryKey: true
product_id:
type: INTEGER
required: true
foreignTable: product
foreignReference: id
...
...
so in the corresponding sfForm I have the following widget :
'product_id' => new sfWidgetFormPropelChoice(array('model' => 'Product',
'add_empty' => false)),
So I choose the product with a select list ... so far so good ...
BUT ... I have many products so it's not practical to associate a product to
a testimony like this ...
On the other hand, my products are under categorie/sub-categorie so what I
want to do is to chose a product with cascading select box (other something
else) so I can choose the category, then the sub-category and then the
product ... but I don't know how to implement this in the admin generator
... create a new widget ? with embrded forms ?
Any ideas, suggestions, code sample , ... ?
Thanks :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---