<?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: Creating Tables with Zend_Form</title>
	<atom:link href="http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/</link>
	<description>Developer, Gamer, Thinker</description>
	<lastBuildDate>Tue, 07 Sep 2010 19:27:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Facebook Layouts</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-321</link>
		<dc:creator>Facebook Layouts</dc:creator>
		<pubDate>Fri, 12 Mar 2010 05:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-321</guid>
		<description>Thanks for the useful info...we are always looking for new blogs to link to.</description>
		<content:encoded><![CDATA[<p>Thanks for the useful info&#8230;we are always looking for new blogs to link to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend Framework Johny</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-318</link>
		<dc:creator>Zend Framework Johny</dc:creator>
		<pubDate>Tue, 09 Mar 2010 10:08:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-318</guid>
		<description>Article helped me a lot, thanks.</description>
		<content:encoded><![CDATA[<p>Article helped me a lot, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart McLeod</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-295</link>
		<dc:creator>Bart McLeod</dc:creator>
		<pubDate>Fri, 29 Jan 2010 13:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-295</guid>
		<description>The html did not come out as expected....</description>
		<content:encoded><![CDATA[<p>The html did not come out as expected&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart McLeod</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-294</link>
		<dc:creator>Bart McLeod</dc:creator>
		<pubDate>Fri, 29 Jan 2010 13:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-294</guid>
		<description>This helps in so far that I get a different exception AND it tries to set the placement option, but it fails, because it claims to have one already:

Fatal error: Uncaught exception &#039;Zend_Config_Exception&#039; with message &#039;Cannot create sub-key for &#039;label&#039; as key already exists&#039; in D:\ZendFramework\library\Zend\Config\Ini.php:293 Stack trace: #0 D:\ZendFramework\library\Zend\Config\Ini.php(295): Zend_Config_Ini-&gt;_processKey(Array, &#039;label.options.p...&#039;, &#039;append&#039;) #1 D:\ZendFramework\library\Zend\Config\Ini.php(295): Zend_Config_Ini-&gt;_processKey(Array, &#039;options.label.o...&#039;, &#039;append&#039;) #2 D:\ZendFramework\library\Zend\Config\Ini.php(295): Zend_Config_Ini-&gt;_processKey(Array, &#039;nieuwsbrief.opt...&#039;, &#039;append&#039;) #3 D:\ZendFramework\library\Zend\Config\Ini.php(260): Zend_Config_Ini-&gt;_processKey(Array, &#039;elements.nieuws...&#039;, &#039;append&#039;) #4 D:\ZendFramework\library\Zend\Config\Ini.php(134): Zend_Config_Ini-&gt;_processSection(Array, &#039;form&#039;) #5 D:\werk\cuddlefish\application\default\controllers\helpers\ContactForm.php(81): Zend_Config_Ini-&gt;__construct(&#039;../config/modul...&#039;) #6 D:\werk\cuddlefish\application\default\controllers\helpers\ContactForm.php(19): Default_Action_Helper_ContactForm-&gt;_ge in D:\ZendFramework\library\Zend\Config\Ini.php on line 293

If I remove the key that set the text on the label, I get no exception, but this output:

Array



Note the Array label I have now gotten. It is the result of:
elements.nieuwsbrief.options.label.options.placement = &quot;append&quot;

So it did not help, but I appreciate your effort!</description>
		<content:encoded><![CDATA[<p>This helps in so far that I get a different exception AND it tries to set the placement option, but it fails, because it claims to have one already:</p>
<p>Fatal error: Uncaught exception &#8216;Zend_Config_Exception&#8217; with message &#8216;Cannot create sub-key for &#8216;label&#8217; as key already exists&#8217; in D:\ZendFramework\library\Zend\Config\Ini.php:293 Stack trace: #0 D:\ZendFramework\library\Zend\Config\Ini.php(295): Zend_Config_Ini-&gt;_processKey(Array, &#8216;label.options.p&#8230;&#8217;, &#8216;append&#8217;) #1 D:\ZendFramework\library\Zend\Config\Ini.php(295): Zend_Config_Ini-&gt;_processKey(Array, &#8216;options.label.o&#8230;&#8217;, &#8216;append&#8217;) #2 D:\ZendFramework\library\Zend\Config\Ini.php(295): Zend_Config_Ini-&gt;_processKey(Array, &#8216;nieuwsbrief.opt&#8230;&#8217;, &#8216;append&#8217;) #3 D:\ZendFramework\library\Zend\Config\Ini.php(260): Zend_Config_Ini-&gt;_processKey(Array, &#8216;elements.nieuws&#8230;&#8217;, &#8216;append&#8217;) #4 D:\ZendFramework\library\Zend\Config\Ini.php(134): Zend_Config_Ini-&gt;_processSection(Array, &#8216;form&#8217;) #5 D:\werk\cuddlefish\application\default\controllers\helpers\ContactForm.php(81): Zend_Config_Ini-&gt;__construct(&#8216;../config/modul&#8230;&#8217;) #6 D:\werk\cuddlefish\application\default\controllers\helpers\ContactForm.php(19): Default_Action_Helper_ContactForm-&gt;_ge in D:\ZendFramework\library\Zend\Config\Ini.php on line 293</p>
<p>If I remove the key that set the text on the label, I get no exception, but this output:</p>
<p>Array</p>
<p>Note the Array label I have now gotten. It is the result of:<br />
elements.nieuwsbrief.options.label.options.placement = &#8220;append&#8221;</p>
<p>So it did not help, but I appreciate your effort!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Vayanis</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-293</link>
		<dc:creator>Andrew Vayanis</dc:creator>
		<pubDate>Sun, 24 Jan 2010 06:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-293</guid>
		<description>Hey,

I haven&#039;t played with the placement options too much, but I was able to set a placement option on a label by doing this:

elements.nieuwsbrief.options.label.options.placement = “append”

instead of:

elements.nieuwsbrief.options.decorators.label.options.placement = “APPEND”

Notice I took out the &#039;decorators&#039; specification between options and label. This makes sense as it is reflected by the non-config code you pasted that does work.</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I haven&#8217;t played with the placement options too much, but I was able to set a placement option on a label by doing this:</p>
<p>elements.nieuwsbrief.options.label.options.placement = “append”</p>
<p>instead of:</p>
<p>elements.nieuwsbrief.options.decorators.label.options.placement = “APPEND”</p>
<p>Notice I took out the &#8216;decorators&#8217; specification between options and label. This makes sense as it is reflected by the non-config code you pasted that does work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart McLeod</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-292</link>
		<dc:creator>Bart McLeod</dc:creator>
		<pubDate>Wed, 20 Jan 2010 10:34:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-292</guid>
		<description>I think I tried this kind of variations, but with no luck. It also makes no sense. The label decorator does take this kind of options, I am postive about that.

If I take the form as is, created throug .ini and after that I do
$form-&gt;nieuwsbrief-&gt;getDecorator(&#039;Label&#039;)-&gt;setOption(&#039;placement&#039;, &#039;APPEND&#039;);

it works fine.

So the option can be set for sure.

I found an entry in the mailing list that is somewhat instructieve, but does yield the same result. This assumes you should talk to the decorators array like this:
elements.decorators.5.options.placement = &quot;APPEND&quot;

The label is the fith default decorator if you dump getDecorators() on the nieuwsbrief element. There is however no difference in the result. It would be valuable if you tried, it is possible after all that a bug has entered the system somewhere.</description>
		<content:encoded><![CDATA[<p>I think I tried this kind of variations, but with no luck. It also makes no sense. The label decorator does take this kind of options, I am postive about that.</p>
<p>If I take the form as is, created throug .ini and after that I do<br />
$form-&gt;nieuwsbrief-&gt;getDecorator(&#8216;Label&#8217;)-&gt;setOption(&#8216;placement&#8217;, &#8216;APPEND&#8217;);</p>
<p>it works fine.</p>
<p>So the option can be set for sure.</p>
<p>I found an entry in the mailing list that is somewhat instructieve, but does yield the same result. This assumes you should talk to the decorators array like this:<br />
elements.decorators.5.options.placement = &#8220;APPEND&#8221;</p>
<p>The label is the fith default decorator if you dump getDecorators() on the nieuwsbrief element. There is however no difference in the result. It would be valuable if you tried, it is possible after all that a bug has entered the system somewhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Vayanis</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-291</link>
		<dc:creator>Andrew Vayanis</dc:creator>
		<pubDate>Tue, 19 Jan 2010 20:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-291</guid>
		<description>I would have to try it out to confirm, but I think it has to do with you putting the options on the label which doesn&#039;t take any options I don&#039;t think.  Have you tried:
elements.nieuwsbrief.options.decorators.placement = “append”?</description>
		<content:encoded><![CDATA[<p>I would have to try it out to confirm, but I think it has to do with you putting the options on the label which doesn&#8217;t take any options I don&#8217;t think.  Have you tried:<br />
elements.nieuwsbrief.options.decorators.placement = “append”?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart McLeod</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-290</link>
		<dc:creator>Bart McLeod</dc:creator>
		<pubDate>Mon, 18 Jan 2010 16:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-290</guid>
		<description>I found your article and I hoped it  would help me change the placement option of a decorator, and I tried it using syntax similar to use, but I get an error (using ZF 1.9.6 or very similar).

elements.nieuwsbrief.options.decorators.label.options.placement = &quot;APPEND&quot;

I also tried &quot;append&quot; (lowercase) with no luck. Doing this in the form works fine, but not through config. I get this error:

Fatal error: Uncaught exception &#039;Zend_Loader_PluginLoader_Exception&#039; with message &#039;Plugin by name &#039;APPEND&#039; was not found in the registry; used paths: Zend_Form_Decorator_: Zend/Form/Decorator/&#039; in D:\ZendFramework\library\Zend\Loader\PluginLoader.php:406 Stack trace: #0 D:\ZendFramework\library\Zend\Form\Element.php(1773): Zend_Loader_PluginLoader-&gt;load(&#039;APPEND&#039;) #1 D:\ZendFramework\library\Zend\Form\Element.php(2151): Zend_Form_Element-&gt;_getDecorator(&#039;APPEND&#039;, NULL) #2 D:\ZendFramework\library\Zend\Form\Element.php(1923): Zend_Form_Element-&gt;_loadDecorator(Array, &#039;placement&#039;) #3 D:\ZendFramework\library\Zend\Form\Element.php(312): Zend_Form_Element-&gt;getDecorators() #4 D:\ZendFramework\library\Zend\Form\Element.php(267): Zend_Form_Element-&gt;loadDefaultDecorators() #5 D:\ZendFramework\library\Zend\Form.php(1078): Zend_Form_Element-&gt;__construct(&#039;nieuwsbrief&#039;, Array) #6 D:\ZendFramework\library\Zend\Form.php(1009): Zend_Form-&gt;createElement(&#039;checkbox&#039;, &#039;nieuwsbrief&#039;, Array) #7 D:\ZendFramework\library\Zend\Form.php(1113): Zend_ in D:\ZendFramework\library\Zend\Loader\PluginLoader.php on line 406

Apparently ZF is looking for a plugin, while I just want to set an option on the decorator. Any clues what I am doing wrong? I will search for other articles of course, and check the mailing list. But I thought people might benefit if you can come up with an answer here.

Thank you!</description>
		<content:encoded><![CDATA[<p>I found your article and I hoped it  would help me change the placement option of a decorator, and I tried it using syntax similar to use, but I get an error (using ZF 1.9.6 or very similar).</p>
<p>elements.nieuwsbrief.options.decorators.label.options.placement = &#8220;APPEND&#8221;</p>
<p>I also tried &#8220;append&#8221; (lowercase) with no luck. Doing this in the form works fine, but not through config. I get this error:</p>
<p>Fatal error: Uncaught exception &#8216;Zend_Loader_PluginLoader_Exception&#8217; with message &#8216;Plugin by name &#8216;APPEND&#8217; was not found in the registry; used paths: Zend_Form_Decorator_: Zend/Form/Decorator/&#8217; in D:\ZendFramework\library\Zend\Loader\PluginLoader.php:406 Stack trace: #0 D:\ZendFramework\library\Zend\Form\Element.php(1773): Zend_Loader_PluginLoader-&gt;load(&#8216;APPEND&#8217;) #1 D:\ZendFramework\library\Zend\Form\Element.php(2151): Zend_Form_Element-&gt;_getDecorator(&#8216;APPEND&#8217;, NULL) #2 D:\ZendFramework\library\Zend\Form\Element.php(1923): Zend_Form_Element-&gt;_loadDecorator(Array, &#8216;placement&#8217;) #3 D:\ZendFramework\library\Zend\Form\Element.php(312): Zend_Form_Element-&gt;getDecorators() #4 D:\ZendFramework\library\Zend\Form\Element.php(267): Zend_Form_Element-&gt;loadDefaultDecorators() #5 D:\ZendFramework\library\Zend\Form.php(1078): Zend_Form_Element-&gt;__construct(&#8216;nieuwsbrief&#8217;, Array) #6 D:\ZendFramework\library\Zend\Form.php(1009): Zend_Form-&gt;createElement(&#8216;checkbox&#8217;, &#8216;nieuwsbrief&#8217;, Array) #7 D:\ZendFramework\library\Zend\Form.php(1113): Zend_ in D:\ZendFramework\library\Zend\Loader\PluginLoader.php on line 406</p>
<p>Apparently ZF is looking for a plugin, while I just want to set an option on the decorator. Any clues what I am doing wrong? I will search for other articles of course, and check the mailing list. But I thought people might benefit if you can come up with an answer here.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carrepossesseion</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-277</link>
		<dc:creator>carrepossesseion</dc:creator>
		<pubDate>Sun, 13 Sep 2009 19:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-277</guid>
		<description>As a Newbie, I am always searching online for articles that can help me. Thank you</description>
		<content:encoded><![CDATA[<p>As a Newbie, I am always searching online for articles that can help me. Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichelleJD</title>
		<link>http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/comment-page-1/#comment-274</link>
		<dc:creator>MichelleJD</dc:creator>
		<pubDate>Wed, 09 Sep 2009 23:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/2008/03/26/creating-tables-with-zend_form/#comment-274</guid>
		<description>In my opinion you are not right. I am assured. I can prove it. Write to me in PM, we will talk.
 

31924</description>
		<content:encoded><![CDATA[<p>In my opinion you are not right. I am assured. I can prove it. Write to me in PM, we will talk.</p>
<p>31924</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: www.vayanis.com @ 2010-09-09 10:11:33 -->