<?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: Using embedFormForEach in Symfony, Part II</title>
	<atom:link href="http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/</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: Carlos Barros</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-7123</link>
		<dc:creator>Carlos Barros</dc:creator>
		<pubDate>Thu, 28 Jan 2010 13:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-7123</guid>
		<description>Hey..
Hmm, looks like you have a loop here.. Maybe you have a form that embeds another form that in turn links somehow with the parent, so when you
save the first, it calls save in the embedded form that in turns will call save in the parent and start the endless loop. Probably something like this is happening.

Carlos</description>
		<content:encoded><![CDATA[<p>Hey..<br />
Hmm, looks like you have a loop here.. Maybe you have a form that embeds another form that in turn links somehow with the parent, so when you<br />
save the first, it calls save in the embedded form that in turns will call save in the parent and start the endless loop. Probably something like this is happening.</p>
<p>Carlos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iki488</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-7086</link>
		<dc:creator>iki488</dc:creator>
		<pubDate>Tue, 26 Jan 2010 18:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-7086</guid>
		<description>I carlos,

I know it is much to ask, but is it possible tu speak directly via email or gtalk or something? 

About the errors, I&#039;m getting an error about nested function limit, basically, it call and recall always the same sequence of function :s

Fatal error: Maximum function nesting level of &#039;100&#039; reached, aborting!

sfFormObject-&gt;save( )	../actions.class.php:192
19	0.1949	15614060	sfFormObject-&gt;doSave( )	../sfFormObject.class.php:130
20	0.1949	15614124	sfFormObject-&gt;updateObject( )	../sfFormObject.class.php:159
21	0.1953	15614476	sfFormDoctrine-&gt;doUpdateObject( )	../sfFormObject.class.php:183
22	0.1953	15614544	Doctrine_Record-&gt;fromArray( )	../sfFormDoctrine.class.php:148
23	0.1959	15616056	Doctrine_Record-&gt;set( )	../Record.php:1967
24	0.1959	15616900	PluginEnaSavedFilter-&gt;setFilterObject( )	../Record.php:1432
25	0.1960	15617268	BaseEnaSavedFilter-&gt;setFilterObject( )	../PluginEnaSavedFilter.class.php:18
26	0.1960	15617648	sfDoctrineRecord-&gt;__call( )	../sfDoctrineRecord.class.php:0
27	0.1961	15619152	call_user_func_array ( )	../sfDoctrineRecord.class.php:212
28	0.1961	15619428	Doctrine_Record-&gt;set( )	../sfDoctrineRecord.class.php:0
29	0.1961	15619960	PluginEnaSavedFilter-&gt;setFilterObject( )	../Record.php:1432
30	0.1962	15620328	BaseEnaSavedFilter-&gt;setFilterObject( )	../PluginEnaSavedFilter.class.php:18
31	0.1962	15620708	sfDoctrineRecord-&gt;__call( )	../sfDoctrineRecord.class.php:0
32	0.1962	15622212	call_user_func_array ( )	../sfDoctrineRecord.class.php:212
33	0.1962	15622488	Doctrine_Record-&gt;set( )


And it recall that again and again...</description>
		<content:encoded><![CDATA[<p>I carlos,</p>
<p>I know it is much to ask, but is it possible tu speak directly via email or gtalk or something? </p>
<p>About the errors, I&#8217;m getting an error about nested function limit, basically, it call and recall always the same sequence of function :s</p>
<p>Fatal error: Maximum function nesting level of &#8216;100&#8242; reached, aborting!</p>
<p>sfFormObject-&gt;save( )	../actions.class.php:192<br />
19	0.1949	15614060	sfFormObject-&gt;doSave( )	../sfFormObject.class.php:130<br />
20	0.1949	15614124	sfFormObject-&gt;updateObject( )	../sfFormObject.class.php:159<br />
21	0.1953	15614476	sfFormDoctrine-&gt;doUpdateObject( )	../sfFormObject.class.php:183<br />
22	0.1953	15614544	Doctrine_Record-&gt;fromArray( )	../sfFormDoctrine.class.php:148<br />
23	0.1959	15616056	Doctrine_Record-&gt;set( )	../Record.php:1967<br />
24	0.1959	15616900	PluginEnaSavedFilter-&gt;setFilterObject( )	../Record.php:1432<br />
25	0.1960	15617268	BaseEnaSavedFilter-&gt;setFilterObject( )	../PluginEnaSavedFilter.class.php:18<br />
26	0.1960	15617648	sfDoctrineRecord-&gt;__call( )	../sfDoctrineRecord.class.php:0<br />
27	0.1961	15619152	call_user_func_array ( )	../sfDoctrineRecord.class.php:212<br />
28	0.1961	15619428	Doctrine_Record-&gt;set( )	../sfDoctrineRecord.class.php:0<br />
29	0.1961	15619960	PluginEnaSavedFilter-&gt;setFilterObject( )	../Record.php:1432<br />
30	0.1962	15620328	BaseEnaSavedFilter-&gt;setFilterObject( )	../PluginEnaSavedFilter.class.php:18<br />
31	0.1962	15620708	sfDoctrineRecord-&gt;__call( )	../sfDoctrineRecord.class.php:0<br />
32	0.1962	15622212	call_user_func_array ( )	../sfDoctrineRecord.class.php:212<br />
33	0.1962	15622488	Doctrine_Record-&gt;set( )</p>
<p>And it recall that again and again&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos Barros</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-7078</link>
		<dc:creator>Carlos Barros</dc:creator>
		<pubDate>Tue, 26 Jan 2010 11:58:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-7078</guid>
		<description>Hi iki488, 

What errors are you getting? It&#039;s a bit hard to understand it without actually seeing some sample and/or code of what you are trying to do.

Regards

Carlos Barros</description>
		<content:encoded><![CDATA[<p>Hi iki488, </p>
<p>What errors are you getting? It&#8217;s a bit hard to understand it without actually seeing some sample and/or code of what you are trying to do.</p>
<p>Regards</p>
<p>Carlos Barros</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iki488</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-7065</link>
		<dc:creator>iki488</dc:creator>
		<pubDate>Mon, 25 Jan 2010 18:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-7065</guid>
		<description>I Carlos, thank you for this post, it is one of the first time I see an article using form serialization in symfony. Actually, this topic is what I&#039;m searching for. I tried to adapt your idea to my project, but it gives me errors that I couldn&#039;t manage to solve...

Would be really cool if you could help me with this :

For my project, I embed only one subform, but it is actually a filter form from my user module generated by the admin generator in my backend. What I&#039;m trying to do is to embed this form in the form of another module, called &quot;saved_filter&quot;. The purpose of this module is to store the criteria entered in the subform, to be able to reuse them anytime the user will want. So a &quot;saved_filter&quot; form contains a name (inputtext), a filter_object field (textarea, will contain the serialization of the subform) and the subform itself (to remind, it is a filter form object from another module &quot;user&quot; generated by the admin generator in my backend). So I need to be able to make CRUD operation on my &quot;saved_filter&quot; object plus be able to &quot;execute&quot; it, meaning to get the resulting list of users corresponding to the criteria of the subform. 

I&#039;m stuck for days on the implementation of this... 

If you can help me, please, I would really really appreciate</description>
		<content:encoded><![CDATA[<p>I Carlos, thank you for this post, it is one of the first time I see an article using form serialization in symfony. Actually, this topic is what I&#8217;m searching for. I tried to adapt your idea to my project, but it gives me errors that I couldn&#8217;t manage to solve&#8230;</p>
<p>Would be really cool if you could help me with this :</p>
<p>For my project, I embed only one subform, but it is actually a filter form from my user module generated by the admin generator in my backend. What I&#8217;m trying to do is to embed this form in the form of another module, called &quot;saved_filter&quot;. The purpose of this module is to store the criteria entered in the subform, to be able to reuse them anytime the user will want. So a &quot;saved_filter&quot; form contains a name (inputtext), a filter_object field (textarea, will contain the serialization of the subform) and the subform itself (to remind, it is a filter form object from another module &quot;user&quot; generated by the admin generator in my backend). So I need to be able to make CRUD operation on my &quot;saved_filter&quot; object plus be able to &quot;execute&quot; it, meaning to get the resulting list of users corresponding to the criteria of the subform. </p>
<p>I&#8217;m stuck for days on the implementation of this&#8230; </p>
<p>If you can help me, please, I would really really appreciate</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-6921</link>
		<dc:creator>Carl</dc:creator>
		<pubDate>Thu, 21 Jan 2010 08:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-6921</guid>
		<description>When I originally commented I clicked the &quot;Notify me when new comments are added&quot; checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service?Thanks</description>
		<content:encoded><![CDATA[<p>When I originally commented I clicked the &quot;Notify me when new comments are added&quot; checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service?Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dead fish &#187; Blog Archive &#187; Doctrine Horror</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-6833</link>
		<dc:creator>dead fish &#187; Blog Archive &#187; Doctrine Horror</dc:creator>
		<pubDate>Fri, 15 Jan 2010 13:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-6833</guid>
		<description>[...] want to add FooBarBazForm via sfForm::embedFormForEach a couple of times (similar to the use case described here), you suddenly have the problem that your embedded form for the appended new FooBarBaz object [...]</description>
		<content:encoded><![CDATA[<p>[...] want to add FooBarBazForm via sfForm::embedFormForEach a couple of times (similar to the use case described here), you suddenly have the problem that your embedded form for the appended new FooBarBaz object [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erin</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-5934</link>
		<dc:creator>Erin</dc:creator>
		<pubDate>Thu, 03 Dec 2009 05:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-5934</guid>
		<description>I&#039;ve written up a tutorial on how to implement a dynamic expanding form using symfony&#039;s embedded forms. If you&#039;re interested check out http://ezzatron.com/2009/12/03/expanding-forms-with-symfony-1-2-and-doctrine/ and let me know what you think. Any feedback would be most welcome.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve written up a tutorial on how to implement a dynamic expanding form using symfony&#8217;s embedded forms. If you&#8217;re interested check out <a href="http://ezzatron.com/2009/12/03/expanding-forms-with-symfony-1-2-and-doctrine/" rel="nofollow">http://ezzatron.com/2009/12/03/expanding-forms-with-symfony-1-2-and-doctrine/</a> and let me know what you think. Any feedback would be most welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-4165</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Mon, 03 Aug 2009 23:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-4165</guid>
		<description>Thanks Carlos :)

Yes that was it, somehow my escaping_strategy was set to true in settings.yml...</description>
		<content:encoded><![CDATA[<p>Thanks Carlos <img src='http://blog.barros.ws/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Yes that was it, somehow my escaping_strategy was set to true in settings.yml&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos Barros</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-4161</link>
		<dc:creator>Carlos Barros</dc:creator>
		<pubDate>Mon, 03 Aug 2009 18:13:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-4161</guid>
		<description>Hi Matthew...

Im not yet using Symfony 1.2 (I stopped for some months developing for symfony) so Im not sure about this.. But, did u check your escaping strategy?? 

Carlos</description>
		<content:encoded><![CDATA[<p>Hi Matthew&#8230;</p>
<p>Im not yet using Symfony 1.2 (I stopped for some months developing for symfony) so Im not sure about this.. But, did u check your escaping strategy?? </p>
<p>Carlos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://blog.barros.ws/2009/01/01/using-embedformforeach-in-symfony-part-ii/comment-page-1/#comment-4043</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Fri, 31 Jul 2009 17:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.barros.ws/?p=106#comment-4043</guid>
		<description>Hi Carlos and Jordi and thanks for this tutorial :)

I&#039;m having difficulty with the add_car part of the form.   The HTML returned by executeAddCar() action and the render(null) ?&gt; call in the template is being escaped so that actual HTML tags appear in the browser and not the form.

I&#039;m using Symfony version 1.2.5

Please help:)

Many thanks, Matthew</description>
		<content:encoded><![CDATA[<p>Hi Carlos and Jordi and thanks for this tutorial <img src='http://blog.barros.ws/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m having difficulty with the add_car part of the form.   The HTML returned by executeAddCar() action and the render(null) ?&gt; call in the template is being escaped so that actual HTML tags appear in the browser and not the form.</p>
<p>I&#8217;m using Symfony version 1.2.5</p>
<p>Please help:)</p>
<p>Many thanks, Matthew</p>
]]></content:encoded>
	</item>
</channel>
</rss>
