Re: [symfony-users] Re: Helpers and Widgets??

2010-01-08 Thread Alexandru-Emil Lupu
ASK your PM to give you a daily task for 30 minutes research (time when you study) ... Or read from you home ... 30 minutes is not much, but will keep you on track. If your PM would not understand the need of change / study / learn, then i can recommend you two things: Change your job, or Change

Re: [symfony-users] Re: Helpers and Widgets??

2010-01-08 Thread Eno
On Fri, 8 Jan 2010, wueb wrote: The problem are the timelines. :( You probably spend the same amount of time posting to this list and checking for replies - those 30 mins could easily be spent reading. -- -- You received this message because you are subscribed to the Google Groups

[symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread wueb
So should i just use for example the widget-render instead of a input_tag('column'), something like that? -- 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

[symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread wueb
So should i just use for example the widget-render instead of a input_tag('column') on the template, something like that? -- 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

Re: [symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread Daniel Lohse
Kind of. Just read the docs, there's plenty on how to do forms in symfony with the new form framework. echo $form['column']; is sufficient in your templates. Did you just start using symfony? Or did you start with symfony 1.0? Then I'd highly suggest going through Jobeet chapter after

[symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread Florian
yes, it is exactly like you say : ?php echo $form['filed_name'] ? or ?php echo $form['filed_name']-renderLabel() ? ?php echo $form['filed_name']-renderError() ? ?php echo $form['filed_name']-render() ? You should read this : http://www.symfony-project.org/forms/1_2/en/ On 7 jan, 14:01, wueb

[symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread wueb
When i try override the constructor (don't know what is the correct, if public function construct() or public function CrmEmpresasForm (), but i try both) it send me an error: Fatal error: Call to a member function getStylesheets() on a non- object in

Re: [symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread Daniel Lohse
Hey there! class ...Form extends Base...Form { protected $user_id; public function __construct($user_id, $object = null, $options = array(), $CSRFSecret = null) { $this-user_id = $user_id; parent::__construct(object, $options,

[symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread wueb
Thanks Daniel. ;) I know i should look better to OOP in PHP5, but unfortunally i don't have a lot of time to do it :( -- 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

Re: [symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread Eno
On Thu, 7 Jan 2010, wueb wrote: I know i should look better to OOP in PHP5, but unfortunally i don't have a lot of time to do it :( In fact, you probably should read the symfony docs too. -- -- You received this message because you are subscribed to the Google Groups symfony users

Re: [symfony-users] Re: Helpers and Widgets??

2010-01-07 Thread Alexandru-Emil Lupu
You don't time to learn?! Sorry for asking ... what it does the difference between you and concurency. I could bet that you lost few minutes trying that construct problem. Few minutes a day would help you out. You are not doing this for me or comunity... but yourself. sent via htc magic On Jan