<?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: Conditional validator in Symfony, another approach</title>
	<atom:link href="http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/</link>
	<description>web development tips</description>
	<lastBuildDate>Mon, 22 Feb 2010 14:03:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: virtualize</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-5077</link>
		<dc:creator>virtualize</dc:creator>
		<pubDate>Thu, 15 Oct 2009 13:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-5077</guid>
		<description>Thanks for this hint, saved me some troubles.</description>
		<content:encoded><![CDATA[<p>Thanks for this hint, saved me some troubles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricky</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-4500</link>
		<dc:creator>Ricky</dc:creator>
		<pubDate>Tue, 08 Sep 2009 09:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-4500</guid>
		<description>Nice snippet, found it really useful.

Ended up modifying it a bit to suit my needs, but your original concept helped a lot!

Cheers</description>
		<content:encoded><![CDATA[<p>Nice snippet, found it really useful.</p>
<p>Ended up modifying it a bit to suit my needs, but your original concept helped a lot!</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blog.barros.ws &#187; Using embedFormForEach in Symfony, Part II</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-568</link>
		<dc:creator>blog.barros.ws &#187; Using embedFormForEach in Symfony, Part II</dc:creator>
		<pubDate>Sat, 31 Jan 2009 15:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-568</guid>
		<description>[...] supply data only for 3, so it will throw an validation error. To avoid this, we need to implement a conditional validation. Remember on constructor we saved the variable ncars? We&#8217;ll use it here to remove removed [...]</description>
		<content:encoded><![CDATA[<p>[...] supply data only for 3, so it will throw an validation error. To avoid this, we need to implement a conditional validation. Remember on constructor we saved the variable ncars? We&amp;#8217;ll use it here to remove removed [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamil Adryjanek</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-526</link>
		<dc:creator>Kamil Adryjanek</dc:creator>
		<pubDate>Mon, 19 Jan 2009 12:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-526</guid>
		<description>Really useful, Thanks.</description>
		<content:encoded><![CDATA[<p>Really useful, Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-448</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 02 Jan 2009 23:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-448</guid>
		<description>YES! I love you. This is perfect. You rock. Have my babies.</description>
		<content:encoded><![CDATA[<p>YES! I love you. This is perfect. You rock. Have my babies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Böhni</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-312</link>
		<dc:creator>Fred Böhni</dc:creator>
		<pubDate>Tue, 16 Dec 2008 11:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-312</guid>
		<description>Works like a charm, thanks!</description>
		<content:encoded><![CDATA[<p>Works like a charm, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rpsblog.com &#187; A week of symfony #97 (3-&#38;gt;9 november 2008)</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-174</link>
		<dc:creator>rpsblog.com &#187; A week of symfony #97 (3-&#38;gt;9 november 2008)</dc:creator>
		<pubDate>Sun, 09 Nov 2008 23:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-174</guid>
		<description>[...] Conditional validator in Symfony, another approach [...]</description>
		<content:encoded><![CDATA[<p>[...] Conditional validator in Symfony, another approach [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fredlab</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-173</link>
		<dc:creator>Fredlab</dc:creator>
		<pubDate>Sun, 09 Nov 2008 09:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-173</guid>
		<description>Carlos,

Thanks for your answers. I found an easy hack for 1.2 and thought it was a bug. See ticket http://trac.symfony-project.org/ticket/4871#comment:3 as well as Fabien answers.

I will try you idea to see if it works with 1.2

Thanks 

Frédéric</description>
		<content:encoded><![CDATA[<p>Carlos,</p>
<p>Thanks for your answers. I found an easy hack for 1.2 and thought it was a bug. See ticket <a href="http://trac.symfony-project.org/ticket/4871#comment:3" rel="nofollow">http://trac.symfony-project.org/ticket/4871#comment:3</a> as well as Fabien answers.</p>
<p>I will try you idea to see if it works with 1.2</p>
<p>Thanks </p>
<p>Frédéric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-166</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 06 Nov 2008 22:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-166</guid>
		<description>Thanks Carlos, your reply was very helpful! :)</description>
		<content:encoded><![CDATA[<p>Thanks Carlos, your reply was very helpful! <img src='http://blog.barros.ws/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos Barros</title>
		<link>http://blog.barros.ws/2008/11/05/conditional-validator-in-symfony-another-approach/comment-page-1/#comment-165</link>
		<dc:creator>Carlos Barros</dc:creator>
		<pubDate>Thu, 06 Nov 2008 21:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=53#comment-165</guid>
		<description>Hi Frederic,

Unfortunately I still didn&#039;t install Symfony 1.2 here so I don&#039;t have experience with this helper. But looking at the code, I&#039;m afraid this helper won&#039;t do what u want. My suggestion is to create the link by your own, using something like this:&lt;pre lang=&quot;html&quot;&gt;&lt;a href=&quot;&lt;?=url_for(&#039;author/list&#039;) ? rel=&quot;nofollow&quot;&gt;?filters[author_id]=&lt;?=$author-&gt;getId()?&gt;&amp;filter=filter&quot;&gt;articles&lt;/a&gt;&lt;/pre&gt;

And then enable author_id (I&#039;m assuming author_id is you column name) filter in the article view. I didn&#039;t use link_to here because it does not allows to add URI parameters (well, I read that Symfony 1.2 allows this, but didn&#039;t know how it works). Also, this link works with Symfony 1.1 admin generator, not sure it will work for 1.2 version. 

Hope this helps</description>
		<content:encoded><![CDATA[<p>Hi Frederic,</p>
<p>Unfortunately I still didn&#8217;t install Symfony 1.2 here so I don&#8217;t have experience with this helper. But looking at the code, I&#8217;m afraid this helper won&#8217;t do what u want. My suggestion is to create the link by your own, using something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a href=&quot;&lt;?=url_for('author/list') ? rel=&quot;nofollow&quot;&gt;?filters[author_id]=&lt;?=$author-&gt;getId()?&gt;&amp;filter=filter&quot;&gt;articles&lt;/a&gt;</pre></div></div>

<p>And then enable author_id (I&#8217;m assuming author_id is you column name) filter in the article view. I didn&#8217;t use link_to here because it does not allows to add URI parameters (well, I read that Symfony 1.2 allows this, but didn&#8217;t know how it works). Also, this link works with Symfony 1.1 admin generator, not sure it will work for 1.2 version. </p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
</channel>
</rss>

