<?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 for Dan&#039;s Blog</title>
	<atom:link href="http://blog.kendell.org.uk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kendell.org.uk</link>
	<description></description>
	<lastBuildDate>Mon, 23 Jan 2012 18:46:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Zend_Form_Decorator_ViewScript by Daniel</title>
		<link>http://blog.kendell.org.uk/2009/12/08/zend_form_decorator_viewscript/#comment-1992</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 23 Jan 2012 18:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://macdan.net/?p=28#comment-1992</guid>
		<description>Sorry, I&#039;ve not been a very attentive blogger. :( 
For the sake of anyone else who may come across this page...

What it essentially gives you is a view-within-a-view. If you&#039;ve used Zend_Layout, then you&#039;ve already come across this kind of thing. In the same way that a controller has it&#039;s own view, when you apply a ViewScript decorator to a form, you are giving the form it&#039;s own view which will be rendered when you echo the form object out. So, once you&#039;ve set the ViewScript decorator, created your view for the form, it&#039;s just business as usual. Assign the form to the controller view, and echo it out inside your controller view script.

The form view scripts themselves can be located anywhere on your &quot;view script path&quot; that is configured by the View application resource, &quot;resources.view.basePath&quot; in application.ini.</description>
		<content:encoded><![CDATA[<p>Sorry, I&#8217;ve not been a very attentive blogger. <img src='http://blog.kendell.org.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
For the sake of anyone else who may come across this page&#8230;</p>
<p>What it essentially gives you is a view-within-a-view. If you&#8217;ve used Zend_Layout, then you&#8217;ve already come across this kind of thing. In the same way that a controller has it&#8217;s own view, when you apply a ViewScript decorator to a form, you are giving the form it&#8217;s own view which will be rendered when you echo the form object out. So, once you&#8217;ve set the ViewScript decorator, created your view for the form, it&#8217;s just business as usual. Assign the form to the controller view, and echo it out inside your controller view script.</p>
<p>The form view scripts themselves can be located anywhere on your &#8220;view script path&#8221; that is configured by the View application resource, &#8220;resources.view.basePath&#8221; in application.ini.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Form_Decorator_ViewScript by joseph</title>
		<link>http://blog.kendell.org.uk/2009/12/08/zend_form_decorator_viewscript/#comment-769</link>
		<dc:creator>joseph</dc:creator>
		<pubDate>Sat, 25 Sep 2010 18:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://macdan.net/?p=28#comment-769</guid>
		<description>I think this is a start but why nobody shows the big picture?
so is example.phtml different from the view associated to the controller instantiating the form? where will everything be shown?
let&#039;s say there is indexAction creating the form.if the form uses example.phtml as viewscript, index.phtml is supposed to show the form with whatever formating gave to it in example.phtml?</description>
		<content:encoded><![CDATA[<p>I think this is a start but why nobody shows the big picture?<br />
so is example.phtml different from the view associated to the controller instantiating the form? where will everything be shown?<br />
let&#8217;s say there is indexAction creating the form.if the form uses example.phtml as viewscript, index.phtml is supposed to show the form with whatever formating gave to it in example.phtml?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

