Ian P. Christian wrote:
> Maybe you can already- but the way a form element is output should be 
> modifiable pragmatically, not just by using a manual method in the 
> template.  For example, if you want errors to appear below a input, 
> rather then above, and you want to use table-less form layers - you'd 
> specify a different formatter class and it would just work.  But.. I 
> should RTFS to find out of this is already possible ;)

worked it out, for those interested...

sfWidgetFormSchema::addFormFormatter($name, sfWidgetFormSchemaFormatter 
$formatter)

then you set it...

$schema->setFormFormatterName('list');


2 are build in, list and table.

you can write your own as long as they extend sfWidgetFormSchemaFormatter

more to come soon :)

-- 

Ian P. Christian ~ http://pookey.co.uk

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
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