Hi all,

i'm following the Pratical Guide of Symfony and in day 10 we try to
set a default value for a column of form. The code is:

// apps/frontend/modules/job/actions/actions.class.php
public function executeNew(sfWebRequest $request)
{
  $job = new JobeetJob();
  $job->setType('full-time');

  $this->form = new JobeetJobForm($job);
}

My problem is that for test the default value I setup the setType call
to:

$job->setType('part-time');

So now I load a page for post a new job but the default value is
always 'full-time'.
Maybe i make some mistake but i don't know where.

Thanks a lot.
Andrea

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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to