Re: [symfony-users] Re: Symfony2 configuration types - which one to choose?

2011-06-05 Thread Marcelo Prizmic
mix. annotation for entities. 2011/6/3 Dmitry Bykadorov dmitry.bykado...@gmail.com Thanks, Christophe! You're right, PHP configuration I've never using. But for my projects I need some code conventions ) E.g. only YAML or only Annotations. Now I'm trying to use XML in my bundles.

Re: [symfony-users] [symfony2] many to one relation in form

2011-06-09 Thread Marcelo Prizmic
2011/6/8 Rigoberto Reyes sv rigoberto.re...@gmail.com class ProductType extends AbstractType { public function buildForm(FormBuilder $builder, array $options) { $builder-add('name'); $builder-add('price','money',array('currency'='EUR')) $builder-add('description');

Re: [symfony-users] Re: datetime widget single_text format

2011-06-17 Thread Marcelo Prizmic
I use $builder-add('fecha_creacion', 'birthday', array('widget' = 'choice', 'pattern'='dd/MM/', 'format'=3)); but you have to fix symfony/component/form/extension/core/type/datetype.php in line 96 intead of $pattern =

Re: [symfony-users] [s2][doctrine2] Update LifeCycleCallBack event not working [beta5]

2011-06-21 Thread Marcelo Prizmic
Hi Oscar Could you post some code about how to use per or post events? Thanks Marcelo 2011/6/20 oscar balladares liebegr...@gmail.com Hi everybody!. I'm using Yaml configuration for doctrine metadata. All others events (prePersist, postPersist, preRemove, postRemove) are working properly,

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-22 Thread Marcelo Prizmic
+1 split 2011/6/21 Jeremiah Dodds jeremiah.do...@gmail.com On Tue, Jun 21, 2011 at 12:02 PM, Luis Cordova cordo...@gmail.com wrote: splitting is counterproductive, we can always hit delete I myself hit a ton of deletes even with sf2 and I am for sf2, so i think people is having too thin

Re: [symfony-users] [s2][doctrine2] Update LifeCycleCallBack event not working [beta5]

2011-06-22 Thread Marcelo Prizmic
class; if I do the same for preUpdate, or postUpdate, it will be ignored, like it doesn't check the method. Regards! 2011/6/20 Marcelo Prizmic mpriz...@gmail.com Hi Oscar Could you post some code about how to use per or post events? Thanks Marcelo 2011/6/20 oscar balladares liebegr