or this...lol

http://svn.astrumfutura.org/zendframework/trunk/library/Proposed/Zend/View/Helper/Partial.php

Never have so many heads bumped the same wall...;). I do think cross-module 
partials are useful. The problem doing it is configuring a new View assuming it 
has no interaction with a controller. The ViewRenderer would likely work though 
it's lodged in the Controller.


 
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com


----- Original Message ----
From: Ralph Schindler <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, June 25, 2007 10:54:11 PM
Subject: Re: [fw-general] Two-Step View, subclassing controller, etc

Matthew Weier O'Phinney wrote:
> 
> Partials have been on my to-do list for a while now. They actually don't
> require any changes on the view level; you can very simply create a new
> View object in the helper, setup the environment from the old view
> object (minus the variables), assign variables as passed, and then
>
 render the "partial" view. I just need to write good test cases for
> them, and determine the syntax for pulling them.

You mean like this: ;)
http://svn.ralphschindler.com/repo/Xend/library/Xend/Layout/ViewHelper/Partial.php







      Get the free Yahoo! toolbar and rest assured with the added security of 
spyware protection.
 





       
____________________________________________________________________________________Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/

Reply via email to