[symfony-users] [Doctrine Migration] How to use one connection for generated migration diff files

2010-03-25 Thread jp_morvan
Hi, I've two connections in databases.yml : all: connection1: class: sfDoctrineDatabase param: dsn: 'mysql:host=myhost;dbname=dbname1;' username: username password: pwd connection2: class: sfDoctrineDatabase param: dsn:

[symfony-users] Re: How to include javascript files in web/js/ui/ in symfony?

2010-03-01 Thread jp_morvan
Hi, Did you try this : use_javascript('ui/jquery.ui.core.js'); symfony add 'js/' On 1 mar, 16:00, SymfonyNewbie shore.cl...@gmail.com wrote: I tried this:     use_javascript('jquery.ui.core.js','/js/ui/'); But it reports:  The position /js/ui/ does not exist -- If you want to report a

[symfony-users] Re: How to include javascript files in web/js/ui/ in symfony?

2010-03-01 Thread jp_morvan
? On 3月1日, 下午11时36分, jp_morvan sacri...@free.fr wrote: Hi, Did you try this :   use_javascript('ui/jquery.ui.core.js'); symfony add 'js/' On 1 mar, 16:00, SymfonyNewbie shore.cl...@gmail.com wrote: I tried this:     use_javascript('jquery.ui.core.js','/js/ui/'); But it reports

[symfony-users] Re: handle processForm()

2010-02-27 Thread jp_morvan
Hi, Did you try in you model file to override the method setName() ? public function setName($name){ $letter = strtoupper(substr($name, 0, 1)); $this-setLetter($letter); parent::setName($name); } On 27 fév, 10:51, verox pawel.rz...@gmail.com wrote: I'm trying this while creating new

[symfony-users] Re: How to get form object in preSave()

2010-02-24 Thread jp_morvan
On 24 fév, 14:52, Dong YANG jojoyangd...@gmail.com wrote: Hello everyone,         I would like to know if is that possible to get form object in preSave() method?         In fact, before save the form value (fill in by user), I want to treate the input value in preSave() method. But I

[symfony-users] Re: How to get form object in preSave()

2010-02-24 Thread jp_morvan
.     I hope that my example is clear and any suggest is welcome.     Regards, JoJo 2010/2/24 jp_morvan sacri...@free.fr On 24 fév, 14:52, Dong YANG jojoyangd...@gmail.com wrote: Hello everyone,         I would like to know if is that possible to get form object in preSave

[symfony-users] Re: Task configure:database is not defined

2010-02-24 Thread jp_morvan
Hi, Verify that php.ini for php cli is activated and is well configurated. Try to use php ./symfony configure:database in your project, sometimes, symfony is already installed and another symfony is launch. On 24 fév, 22:18, Trung Huynh forrestgu...@gmail.com wrote: Hi After setting up the