The actions called with the action helper are all called
inside the same request process as your main action, so
you can't use Zend_Layout for giving the sub-actions different
layouts.
Perhaps you could render the action-specific layouts inside
the layout itself, using $this->render($layout), and calling
the action helper inside that? Not 100% sure if that'll work
though. Another way could be to use the layout parameter to
simply switch to a different viewscript inside the sub action
instead of changing the layout.
--
Jani Hartikainen
http://codeutopia.net/
On Thu, 23 Oct 2008 22:38:04 +0300, Marko Korhonen
<[EMAIL PROTECTED]> wrote:
Hi,
I make calls to another actions with action view helper.
$this->action(action, controller, module, params_array)
For example, I want to call some module/controller/action for the
content of
the left pane.
I also pass the param "layout" in action call.
BUT, when I expect the rendered action call rendered with layout I
defined
as param,
my main view changes it's layout.
Is this bug or expected behaviour and how should I resolve this?
kr, Marko