Is there a timeline for when the ZF+ZVE+ZL components are going to show
up in the tree? Since, I'm currently a loyal and heavy user of the ZVE
infrastructure (one facebook app and two other sites). I was curious as
to when I was going to have to start thinking about managing the "bugs"
that will come out of the updates...
One of the barriers to my putting ZF into my "big" site (millions of
page views) is pending on ZF 1.1 since it'll have the necessary support
for what I really need -- without the worries of having to do a bunch of
fixes.
Thanks,
--koblas
Pádraic Brady wrote:
Hi Adam,
The way the current proposal version (which is alpha at best) works is
that it requires a change to the ViewRenderer class to allow for
Request substitution. Mainly this was because ViewRenderer was stuck
on the original request data so much that relying on it to update view
script names was difficult.
You can either add this method to ViewRenderer yourself - it's just a
simple setter/getter pair and no other fancy coding. Or I think you
can disable ViewRenderer for your sub-controllers and set the Response
body manually.
Hope this throw some light on the subject :).
Paddy
P.S. The current code was only ever intended to support a proposal
(i.e. I assumed a proposal did not require actual working code beyond
a demo implementation) but so far I've heard of ZVE in use on about
5-6 projects whose team is in contact every week or so with me.
You'll be glad to hear that whatever the rough cut version's flaws
are, work will progress on an official version (Layouts will be
delegated to Zend_Layout instead however) in the near future which
will do away with such uncertainties and support some extra edge
cases. If you have any other issues feel free to contact me.
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com
----- Original Message ----
From: Adam Torrino <[EMAIL PROTECTED]>
To: fw-general@lists.zend.com
Sent: Wednesday, September 19, 2007 3:10:33 PM
Subject: [fw-general] ZVE dispatch controller action
Hi all,
LOVE Zend_View Enhanced and have begun using it for a large project...
only problem I've noticed is when trying to render the result of a
controller action into a layout.
The idea is to have a Sidebar controller just for this purpose, and
each action being a separate sidebar "widget", and no publicly mapped
routes of course.
In layout:
echo $this->controller('tagCloud', 'sidebarwidgets', null, array());
Gives:
Fatal error: Call to undefined method
Zend_Controller_Action_Helper_ViewRenderer::setRequest() in
/www/project1/Zend/View/Helper/Controller.php on line 56
Seen this on the astrumfutura blog too but no resolution - I know its
a work in progress...any ideas on this?
------------------------------------------------------------------------
Catch up on fall's hot new shows
<http://us.rd.yahoo.com/tv/mail/tagline/falltv/evt=47093/*http://tv.yahoo.com/collections/3658%20>
on Yahoo! TV. Watch previews, get listings, and more!
------------------------------------------------------------------------
Check out
<http://us.rd.yahoo.com/evt=51201/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE5NWVzZGVyBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDYXV0b3MtbmV3Y2Fy>
the hottest 2008 models today at Yahoo! Autos.