On May 14, 3:08 pm, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> On Wed, May 14, 2008 at 2:44 PM, thomas.s <[EMAIL PROTECTED]> wrote:
> > This way I can only choose between the default symfony formatter, or
> > am I missing something? What if I want to use my own formatter?
>
> You can write your own formatter, extending
> sfWidgetFormSchemaFormatter, with just the end of the class name as an
> identifier. Here's a div based example :
>
> class sfWidgetFormSchemaFormatterDiv extends sfWidgetFormSchemaFormatter
Then I have to rename my custom formatter from
myWidgetFormSchemaFormatterList (extending
sfWidgetFormSchemaFormatterList) to
sfWidgetFormSchemaFormatterListCustom or something different starting
with sfWidgetFormSchemaFormatterList.
Thomas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---