<?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: Adding &#8220;empty&#8221; to list-find, for the lazy</title>
	<atom:link href="http://cakealot.com/2009/04/adding-empty-to-list-find/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakealot.com/2009/04/adding-empty-to-list-find/</link>
	<description>cakephp and stuff</description>
	<lastBuildDate>Fri, 30 Jul 2010 20:22:55 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ajushi</title>
		<link>http://cakealot.com/2009/04/adding-empty-to-list-find/comment-page-1/#comment-212</link>
		<dc:creator>Ajushi</dc:creator>
		<pubDate>Tue, 27 Oct 2009 03:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://cakealot.com/?p=317#comment-212</guid>
		<description>how about adding
array(&#039;empty&#039; =&gt; &#039;&#039;) on the options param of $form-&gt;input(&#039;field&#039;, $param);

?</description>
		<content:encoded><![CDATA[<p>how about adding<br />
array(&#8217;empty&#8217; =&gt; &#8221;) on the options param of $form-&gt;input(&#8217;field&#8217;, $param);</p>
<p>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kjell</title>
		<link>http://cakealot.com/2009/04/adding-empty-to-list-find/comment-page-1/#comment-109</link>
		<dc:creator>Kjell</dc:creator>
		<pubDate>Wed, 15 Apr 2009 09:26:38 +0000</pubDate>
		<guid isPermaLink="false">http://cakealot.com/?p=317#comment-109</guid>
		<description>:) - the &quot;&lt;?php&quot; and &quot;&amp;nbsp&quot; aside - for snippets use &quot;&lt;pre&gt;&quot; to preserve indention and stuff.. 

And if you want to make it fancy use &lt;pre class=&quot;sh_php&quot;&gt;.</description>
		<content:encoded><![CDATA[<p>:) &#8211; the &#8220;&lt;?php&#8221; and &#8220;&amp;nbsp&#8221; aside &#8211; for snippets use &#8220;&lt;pre>&#8221; to preserve indention and stuff.. </p>
<p>And if you want to make it fancy use &lt;pre class=&#8221;sh_php&#8221;&gt;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Crookes</title>
		<link>http://cakealot.com/2009/04/adding-empty-to-list-find/comment-page-1/#comment-104</link>
		<dc:creator>Neil Crookes</dc:creator>
		<pubDate>Tue, 14 Apr 2009 20:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://cakealot.com/?p=317#comment-104</guid>
		<description>What about:
&lt;pre class=&quot;sh_php&quot;&gt;&lt;code&gt;class AppHelper extends Helper {
  function beforeRender() {
    if ($this instanceof FormHelper) {
      $this-&gt;Html-&gt;tags[&#039;selectstart&#039;] .= &#039;&lt;option value=&quot;&quot;&gt;&nbsp;&lt;/option&gt;&#039;;
    }
  }
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>What about:</p>
<pre class="sh_php"><code>class AppHelper extends Helper {
  function beforeRender() {
    if ($this instanceof FormHelper) {
      $this->Html->tags['selectstart'] .= '&lt;option value=""&gt;&amp;nbsp;&lt;/option&gt;';
    }
  }
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kjell</title>
		<link>http://cakealot.com/2009/04/adding-empty-to-list-find/comment-page-1/#comment-101</link>
		<dc:creator>Kjell</dc:creator>
		<pubDate>Tue, 14 Apr 2009 17:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://cakealot.com/?p=317#comment-101</guid>
		<description>FormHelper extends AppHelper - so that wouldn&#039;t really work. I could either overwrite the form.php (bad) or extend FormHelper in order to overwrite input/select (good). The latter would require to add and use a custom form helper, which also means i need to rewrite all views. A task i tried to avoid. So no gain from doing so.

I think the above the only way to go if you don&#039;t want to touch the baked form views at all.</description>
		<content:encoded><![CDATA[<p>FormHelper extends AppHelper &#8211; so that wouldn&#8217;t really work. I could either overwrite the form.php (bad) or extend FormHelper in order to overwrite input/select (good). The latter would require to add and use a custom form helper, which also means i need to rewrite all views. A task i tried to avoid. So no gain from doing so.</p>
<p>I think the above the only way to go if you don&#8217;t want to touch the baked form views at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leo</title>
		<link>http://cakealot.com/2009/04/adding-empty-to-list-find/comment-page-1/#comment-100</link>
		<dc:creator>leo</dc:creator>
		<pubDate>Tue, 14 Apr 2009 13:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://cakealot.com/?p=317#comment-100</guid>
		<description>Theoretically, wouldn&#039;t you rather throw something in your app_helper.php to accomplish that? I believe this belongs to the View. Sorry, as I&#039;m too lazy, no code right now :)
But handy anyway, thanks.</description>
		<content:encoded><![CDATA[<p>Theoretically, wouldn&#8217;t you rather throw something in your app_helper.php to accomplish that? I believe this belongs to the View. Sorry, as I&#8217;m too lazy, no code right now :)<br />
But handy anyway, thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
