Re: [symfony-users] [Symfony 2] Questions about Forms and EntityManager

2010-12-29 Thread Bernhard Schussek
You can simply create a constructor that accepts the EntityManager as parameter, no? Bernhard -- Software Architect & Engineer Blog: http://webmozarts.com Twitter: http://twitter.com/webmozart 2010/12/29 François : > Hi everyone, > > I'm in trouble with something in the example of the Form > do

Re: [symfony-users] Elegantly Load Dynamically Created JavaScript?

2010-12-29 Thread Андрей Дягель
Hi, Felix. That's exactly what use_dynamic_javascript()helper was created for. Refer its' source for details. On Thu, Dec 30, 2010 at 01:43, Felix E. Klee wrote: > Following the suggestion from the Jobeet tutorial

[symfony-users] Elegantly Load Dynamically Created JavaScript?

2010-12-29 Thread Felix E. Klee
Following the suggestion from the Jobeet tutorial, I set up "JavaScript as an Action": http://www.symfony-project.org/jobeet/1_4/Propel/en/18 #chapter_18_user_feedback> Now, I have a dynamically created JavaScript file accessible via: /main/index.js Works fine. Though I wonder: How do I *e

[symfony-users] [Symfony 2] Questions about Forms and EntityManager

2010-12-29 Thread François
Hi everyone, I'm in trouble with something in the example of the Form documentation : http://docs.symfony-reloaded.org/guides/forms/overview.html#form-validation In fact, I'd like to save my form like in the example : namespace Application\HelloBundle\Entity; class Registration { public fu

[symfony-users] sfWidgetFormChoice

2010-12-29 Thread emanu.ti
Hi, I want to use sfWidgetFormChoice with "multiple" => true parameter. Here is my code: 'leavewhenempty' => new sfWidgetFormChoice( array('multiple' => true, 'expanded' => true, 'choices' => Doctrine_Core::getTable('FilaDeAtendimento')- >getOptionsLeaveWhenEmpty())

Re: [symfony-users] doctrine:generate:entities generating classes in wrong folder?

2010-12-29 Thread c6dney c6dney
Same here, I didn't remember HowI fixed this. 2010/12/2 jopoli...@gmail.com > hi, my name is jorge, i've been recently working with de PR4 of the > symfony 2.0 sandbox, i was following the guide about symfony and > doctrine when i tried to generate the class for the user table that is > inside t

[symfony-users] routing chapter

2010-12-29 Thread Namata Winnie
i am in the routing section but currently when i run this " http://localhost:8080/frontend_dev.php/job/Sensio+Labs/Paris%2C+France/1/Web+Developer"; i get this: 500 | Internal Server Error | ReflectionException Class s does not exist stack trace - at **() in * SF_ROOT_DIR\lib\vendor\symf

[symfony-users] Doctrine version classes

2010-12-29 Thread Sebastien Armand [Pink]
1- When using the Doctrine plugin for symfony, and the versionable behavior, the version classes don't seem to be generated like specified in the Doctrine documentation. However the version classes for the forms are generated. Is there a way to generate the model classes too? 2- Now more important