[symfony-users] Re: custom validator with sfValidator

2010-12-23 Thread bedomon
Yes use a validator callback and put it in the post validator On 23 déc, 09:47, jimpass wrote: > Hi, > I'd like to create a custom validator for a sfWidgetFormInputText. > This validator have to ensure than the value entered is greater than a > value stored in the database. > Is it possible ? --

[symfony-users] Re: Getting the value of a field from an another template???

2010-06-04 Thread bedomon
Ok thanks for reply, I try it and report the result On 4 juin, 15:04, pghoratiu wrote: > You just set it up in the action of step3 so it's available in the > template. > >    gabriel > > On Jun 4, 3:12 pm, bedomon wrote: > > > Hi, > > > I work on symfo

[symfony-users] Getting the value of a field from an another template???

2010-06-04 Thread bedomon
Hi, I work on symfony 1.0.21, and get a probleme with a form. My form got 3 step with for each an execute and validate method in action class. Catching the value of a field in the action class is not a problem, but how i can get the value of a select tag of the first page in the template of the th

[symfony-users] Re: In the Jobeet tutorial day 4 what is the 'a' parameter to createQuery do?

2010-05-17 Thread bedomon
I think it is an alias for the table. Get a look on this page: http://www.symfony-project.org/doctrine/1_2/en/06-Working-With-Data in the Create New Query section you will find your answer. On 15 mai, 22:42, Garry Freemyer wrote: > I looked over google till my eyes bled. I do not find any expl

[symfony-users] Re: Testing credentials

2010-05-14 Thread bedomon
27;3')-> >     isFlash('notice', '/foo/')-> >   end() > ; > > I only have trouble with the isAttribute() method of this tester, I > can not seem to accomplish this example test, but everything else > works great! > > You can learn more about

[symfony-users] Testing credentials

2010-05-12 Thread bedomon
Hi, Some of my actions need special credential, and I want to make test on this feature. I dont's use the sfGuardPlugin in my apps so I don't think i can use it for testing. If someone can explain how I can do this test. (I hope you understand my english) thanks -- If you want to report a vuln