[symfony-users] sfForm postValidator issue

2008-11-15 Thread Rytis Daugirdas
Hello, I've noticed that my password sfValidatorSchemaCompare validator that is set as the post validator is run even if the passwords it compares do not pass the regular validation. For example, I place a restriction of 8 character minimum length on the password field. Even if the password enter

[symfony-users] Re: "save and next" action on admin generator edit page

2008-11-15 Thread rosbif
After working on this, the problem I am seeing is that if you add an action to the edit form, the button will only do a GET, so you can't post the data in the form and perform an action on it (updating the entry). this is the code I use in the generator.yml: _save_and_edit_next:

[symfony-users] Re : [symfony-users] Re: "save and next" action on admin generator edit page

2008-11-15 Thread Loïc Vernet
Or create your own admin generator theme... That's just a second "save button"... The only thing that will differ is the rediction after the action. So you just have to know wich submit button was used and redirect to the correct page. ++ De : rosbif <[EMAIL

[symfony-users] sfWidgetFormInputFile Not working ?

2008-11-15 Thread fredlab
Hey, I followed the sf 1.2 admin gen tutorial. Then I added a file field to my author table and regenerated everything. Then in authorform.class.php, I added $this->widgetSchema['file'] = new sfWidgetFormInputFile(); When I want to create a new author and attach a file, I get : This form is mu

[symfony-users] Re: sfForm postValidator issue

2008-11-15 Thread ken
check sfGuardUserForm from sfGuardPlugin for example snippet On Nov 15, 6:43 pm, "Rytis Daugirdas" <[EMAIL PROTECTED]> wrote: > Hello, > > I've noticed that my password sfValidatorSchemaCompare validator that is set > as the post validator is run even if the passwords it compares do not pass > th

[symfony-users] Reorganizing plugin repositories

2008-11-15 Thread Kris Wallsmith
Hello everyone, This is notice that I will be reorganizing the following plugins' Subversion repositories on Tuesday November 18: DbFinderPlugin sfAssetsLibraryPlugin sfControlPanelPlugin sfModerationPlugin sfPagerNavigationPlugin sfPropelActAsSortableBehaviorPlugin sfPropelSpamTagBehaviorPlugi

[symfony-users] Re: Reorganizing plugin repositories

2008-11-15 Thread Jill Elaine
I want to work on sfAssetsLibraryPlugin. Anyone else already working on this plugin? On Nov 15, 2:18 pm, Kris Wallsmith <[EMAIL PROTECTED] project.com> wrote: > Hello everyone, > > This is notice that I will be reorganizing the following plugins'   > Subversion repositories on Tuesday November 18

[symfony-users] Re: sfWidgetFormInputFile Not working ?

2008-11-15 Thread [EMAIL PROTECTED]
I've already ticket this in http://trac.symfony-project.org/ticket/4946 Is there any widget for file upload in sf1.2 admin generator, that has the options to show and remove the current image? On Nov 15, 3:50 pm, fredlab <[EMAIL PROTECTED]> wrote: > Hey, > > I followed the sf 1.2 admin gen tuto

[symfony-users] Re: sfWidgetFormInputFile Not working ?

2008-11-15 Thread [EMAIL PROTECTED]
Just found it. sfWidgetFormInputFileEditable. Can't believe symfony 1.2 is this good. On Nov 16, 1:25 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I've already ticket this inhttp://trac.symfony-project.org/ticket/4946 > > Is there any widget for file upload in sf1.2 admin generator, that