It's possible.

Create your form formatted. OK, it's done

Now, register it in your widgetSchema with addFormFormatter (or something
like this) and enable it with setFormFormatter (or something like this).


2009/10/19 HAUSa <[email protected]>

>
> It is possible to make an own formatter for my forms. See the example:
>
> class kmFormFormatter extends sfWidgetFormSchemaFormatterTable{
>
>        protected $rowFormat             = '<tr><th>%label%</th><td>%field%
> %hidden_fields%</td><td><ul>%error%%help%</ul></td></tr>';
>        protected $errorListFormatInARow = '%errors%';
>        protected $errorRowFormatInARow  = '<li class="error">%error%</li>';
>        protected $helpFormat            = '<li>%help%</li>';
>
> }
>
> Is it possible to change the formatter that generates the i18n fields?
> And how do I do that?
> >
>


-- 
Alexandre Salomé -- [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to