[symfony-users] Re: project:deploy & rsync on windows

2009-08-12 Thread avorobiev
For using rsync on a windows machine you need: 1. Install cwRsync from http://www.itefix.no/i2/node/10650; 2. In the script /trunk/lib/vendor/symfony/lib/task/project/ sfProjectDeployTask.class.php change line 160 from: $this->log($this->getFilesystem()->sh("rsync --progress $dryRun $parameter

[symfony-users] Re: Add values after form submit

2009-03-11 Thread avorobiev
Place for adding of additional values to the submitted array is form validator for that field, because you need transform it to get valid values. Form can be used in some places (frontend + backend), and must work equal... That is why adding of additional values in controller action isn't good dea

[symfony-users] Re: Indicator for required fields

2009-03-01 Thread avorobiev
Schema->setDefaultFormFormatterName('Required'); ... } } All of this steps was described at the link http://groups.google.com/group/symfony-devs/browse_thread/thread/4c81264521f8bc60 On Feb 26, 1:42 pm, Tomasz Ignatiuk wrote: > It is not good solution because using css

[symfony-users] Re: Indicator for required fields

2009-02-25 Thread avorobiev
Look at http://groups.google.com/group/symfony-devs/browse_thread/thread/4c81264521f8bc60 On Feb 24, 2:20 pm, Tomasz Ignatiuk wrote: > On 16 Sty, 13:35, Thomas Dedericks wrote: > > > > > Hi, > > > Not tested: > > > public function configure() { > > >         ... > > >         # add * torequire

[symfony-users] Re: sfWidgetFormInputFileEditable - unexpected field

2009-01-02 Thread avorobiev
Add validation rule for checkbox field in the form declaration: public function configure() { parent::configure(); ... $this->validatorSchema['with_delete'] = new sfValidatorBoolean(); } For more information look at http://trac.symfony-project.org/ticket/5524 On 30 дек 2008,