Dan Dorman wrote: > > The action functions aren't getting called twice, the output of the last > function is simply being prepended to the desired output for some reason. >
After digging around the Zend Framework code, I discovered the culprit: the Zend_View action helper clones the response object and then clears its body before appending text. However, when the nested call returns to the outer call, it ends up appending the text to the same response object. Adding another call to resetObjects after the response is returned fixes the problem, but is there a way around this without resorting to altering the ZF code directly? I tried doing something similar in the postDispatch method of my controller objects, but it was too late by that point. Any other ideas or guidance would be great. -- View this message in context: http://www.nabble.com/Nested-Calls-to-Zend_View-View-Action-Helper-tp15281249s16154p15313463.html Sent from the Zend Framework mailing list archive at Nabble.com.
