[symfony-devs] Re: Extending the sfForm system

2009-04-16 Thread Matthias N.
Hm.. yet another hack, but it could save my day(s), I'll give it a try :-) But I still hope that the form system will get some attention for sf 1.3 as there seem to be tons of issues. regards, Matthias On 16 Apr., 00:38, Jonathan Wage wrote: > Maybe for the label value of each widget, could

[symfony-devs] Re: Extending the sfForm system

2009-04-15 Thread Jonathan Wage
Maybe for the label value of each widget, could you store an object instead of a string? And implement a __toString() method on this object so that it behaves the same. This way the label object can contain main label, sub label and the additional context information. So retrieve the label object t

[symfony-devs] Re: Extending the sfForm system

2009-04-15 Thread Matthias N.
On 15 Apr., 16:24, Tonio wrote: > Something like   > :http://www.symfony-project.org/api/1_2/sfWidgetFormSchema#method_sethelp What I need is a way to manage additional things. AFAIK this is not possible not even when creating a manual template. I think I need to create a ticket. regards, Mat

[symfony-devs] Re: Extending the sfForm system

2009-04-15 Thread Tonio
Something like : http://www.symfony-project.org/api/1_2/sfWidgetFormSchema#method_sethelp ? Tonio On Apr 15, 4:00 pm, "Matthias N." wrote: > Hi, > > I need to add some things to the form system but I'm not sure if it is > possible at all.. > > I think the problem is that classes are hardcoded