hi,

you can create an instance of sfWidgetFormPropelChoice with the opcion
peer_method:

form['addres] = new  sfWidgetFormPropelChoice(array('model' =>
'myModel'',peer_method' => 'myMethod'))


Joan
2009/4/19 Stephen <[email protected]>

>
> A form generated by symfony, there is a field "address". I don't want
> it lists all the addresses in the dropdown list, but only the ones
> associated with the user who is browsing this page, user has a user
> ID. Could any one tell me how to implement this?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to