[symfony-users] Re: Own form formatter

2009-10-07 Thread Davide Borsatto
The form book is not fully written, and IMHO, it will not be completed (at least not soon). My suggestion is to look into the default formatters and see how they work. If i remember well, they just define the html using object protected properties, so you can extend the default formatter and

[symfony-users] Re: Own form formatter

2009-10-07 Thread Richtermeister
Hey Hausa, that's fairly easy. Just look at, say, the sfWidgetFormSchemaFormatterList class and create a class that extends it. In that class you can do some major changes just by updating the template properties, like $rowFormat, $decoratorFormat, etc.. Then just tell your form to use that