<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Snippet: Symfony Forms &#8211; Setting the Form Formatter</title> <atom:link href="http://erisds.co.uk/symfony/snippet-symfony-forms-setting-the-form-formatter/feed" rel="self" type="application/rss+xml" /><link>http://erisds.co.uk/symfony/snippet-symfony-forms-setting-the-form-formatter</link> <description>Web development, Symfony, Wordpress and general geekery</description> <lastBuildDate>Wed, 10 Mar 2010 10:22:19 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.1</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Rolf Ernst</title><link>http://erisds.co.uk/symfony/snippet-symfony-forms-setting-the-form-formatter/comment-page-1#comment-422</link> <dc:creator>Rolf Ernst</dc:creator> <pubDate>Sun, 29 Nov 2009 16:45:19 +0000</pubDate> <guid
isPermaLink="false">http://erisds.co.uk/?p=222#comment-422</guid> <description>This only works with dynamically generated forms and not say forms generated via the the form generation commands with verbose templates. For that you have to generate a whole new model tree structure, mostly clone it and make manual changes. It&#039;s a big drawback and I would hope the developers will fix it somehow that you can specify the formatter on the command itself. (Verbose templates generate a full form, not just the form generation tag). Since the CRUD operations for the front-end almost always result in you adjusting you the results for your specific needs (I add fieldset legends, turn on niceforms, etc.) this is a major pain in the neck.</description> <content:encoded><![CDATA[<p>This only works with dynamically generated forms and not say forms generated via the the form generation commands with verbose templates. For that you have to generate a whole new model tree structure, mostly clone it and make manual changes. It&#8217;s a big drawback and I would hope the developers will fix it somehow that you can specify the formatter on the command itself. (Verbose templates generate a full form, not just the form generation tag). Since the CRUD operations for the front-end almost always result in you adjusting you the results for your specific needs (I add fieldset legends, turn on niceforms, etc.) this is a major pain in the neck.</p> ]]></content:encoded> </item> <item><title>By: Oncle Tom</title><link>http://erisds.co.uk/symfony/snippet-symfony-forms-setting-the-form-formatter/comment-page-1#comment-135</link> <dc:creator>Oncle Tom</dc:creator> <pubDate>Mon, 22 Jun 2009 08:16:06 +0000</pubDate> <guid
isPermaLink="false">http://erisds.co.uk/?p=222#comment-135</guid> <description>No problem :) you can also setup a global formatter from a project configuration file with&lt;code&gt;sfWidgetFormSchema::setDefaultFormFormatterName(&#039;yourFormatter&#039;);&lt;/code&gt;It&#039;s pretty neat to override the default table one without modifying your forms definitions.</description> <content:encoded><![CDATA[<p>No problem :) you can also setup a global formatter from a project configuration file with</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table
cellspacing="0" cellpadding="0"><tbody><tr><td
style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br
/></div></td><td><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sfWidgetFormSchema::setDefaultFormFormatterName('yourFormatter');</div></td></tr></tbody></table></div><p>It&#8217;s pretty neat to override the default table one without modifying your forms definitions.</p> ]]></content:encoded> </item> <item><title>By: ErisDS</title><link>http://erisds.co.uk/symfony/snippet-symfony-forms-setting-the-form-formatter/comment-page-1#comment-120</link> <dc:creator>ErisDS</dc:creator> <pubDate>Wed, 17 Jun 2009 20:29:35 +0000</pubDate> <guid
isPermaLink="false">http://erisds.co.uk/?p=222#comment-120</guid> <description>Thanks for the compliments. I love Symfony but anyone who uses it knows that the documentation is lacking. I hope to fill in a few gaps with my blog!</description> <content:encoded><![CDATA[<p>Thanks for the compliments. I love Symfony but anyone who uses it knows that the documentation is lacking. I hope to fill in a few gaps with my blog!</p> ]]></content:encoded> </item> <item><title>By: Oncle Tom</title><link>http://erisds.co.uk/symfony/snippet-symfony-forms-setting-the-form-formatter/comment-page-1#comment-117</link> <dc:creator>Oncle Tom</dc:creator> <pubDate>Wed, 17 Jun 2009 16:16:18 +0000</pubDate> <guid
isPermaLink="false">http://erisds.co.uk/?p=222#comment-117</guid> <description>Nice code and tip. Indeed it&#039;s not a very documented area of sfForms.
Code digging ;-)</description> <content:encoded><![CDATA[<p>Nice code and tip. Indeed it&#8217;s not a very documented area of sfForms.<br
/> Code digging ;-)</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 3/15 queries in 0.032 seconds using disk

Served from: DSX4001-21.guardiandns.com @ 2010-03-11 03:58:21 -->