[symfony-users] Re: radiobutton and select values

2010-04-30 Thread fRAnKEnSTEin
thank you very much it worked! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

Re: [symfony-users] Re: radiobutton and select values

2010-04-28 Thread Parijat Kalia
Sorry, haven't yet used the form widget framework..still stuck on good old strategies! On Tue, Apr 27, 2010 at 8:39 PM, fRAnKEnSTEin shirkav...@gmail.com wrote: hi, The problem is that i am using a form, so instead of cretaing a select_tag in the template, i use for example something like

Re: [symfony-users] Re: radiobutton and select values

2010-04-28 Thread Thomas Rabaix
defaults value must be passed when the form is instanciate. so don't do any think at the view layer... $default = $this-getUser()-getAttribute('values'); $form = new myForm($default); if you work with a doctrine form $default = $this-getUser()-getAttribute('values'); $object = new Object;

[symfony-users] Re: radiobutton and select values

2010-04-27 Thread fRAnKEnSTEin
hi, The problem is that i am using a form, so instead of cretaing a select_tag in the template, i use for example something like this in my form class: ... new sfWidgetFormSelect(array( 'choices' = $this-getGroupChoices() )) ... in the form class a tryed to retrieve my session variables using

[symfony-users] Re: radiobutton and select values

2010-04-27 Thread fRAnKEnSTEin
hi, The problem is that i am using a form, so instead of cretaing a select_tag in the template, i use for example something like this in my form class: ... new sfWidgetFormSelect(array( 'choices' = $this- getGroupChoices() )) ... in the form class a tryed to retrieve my session variables using