One more thing: it is not mandatory to have a validator for every field. 
So, if one of your widget does not have to be validated, you can just 
omit the validator.

Fabien

--
Fabien Potencier
Sensio CEO - symfony lead developer
http://www.sensiolabs.com/
http://www.symfony-project.com/
Sensio Labs
Tél: +33 1 40 99 80 80


joshua may wrote:
> Drudging up a potentially old thread now..?
> 
> But anyway, will the new forms/validation stuff obviate the need for
> validator.yml files? I've been toying a bit with the sfForm stuff
> (trying to work backward from the unit tests), and it seems to very
> much break the DRY style that I'm used to in symfony. I mean, it's not
> *difficult*, but I'm finding a lot of copy/paste of 'new
> sfStringValidator()' kind of deal (or whatever it is now - I haven't
> got the code open).
> 
> Or..should I just wait for the new docs?
> 
> (As an aside, how to do I get sfForm to render with a submit button?
> Or do I do that manually? Hrm. I'll just wait for docs, I guess..!)
> 
> Ta,
> Josh
> 
> On Nov 13, 4:25 am, Fabien POTENCIER <[EMAIL PROTECTED]
> project.com> wrote:
>> There is a missing piece... and this is the most important one, the
>> sfForm class.
>>
>> This class will be the class most people will interact with to use forms
>> /validation in the action and display the form in the template.
>>
>> Everything is pretty stable now, and I hope to be able to commit the
>> thing this week.
>>
>> I will also post my slides later this week from the IPC Conference where
>> I presented the new system.
>>
>> Fabien
>>
>> --
>> Fabien Potencier
>> Sensio CEO - symfony lead 
>> developerhttp://www.sensiolabs.com/http://www.symfony-project.com/
>> Sensio Labs
>> Tél: +33 1 40 99 80 80
>>
>> Ian P. Christian wrote:
>>> Matthias N. wrote:
>>>> IMHO there is still something missing that integrates the widgets into
>>>> the view layer.. respectively I have no idea how to use them in the
>>>> templates.
>>>> I guess Fabien is working on that integration!?
>>> That woudl explain the lack of announcement! I've not had time to look
>>> unfortunately...
>>> Exciting times :)
> > 
> 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to