Should just be the same as refreshing the other parts of your page, unless
I've misunderstood.  The ActionStack helper just calls a normal action, so
you can just use whatever XHR calls you normally use to pull /home/menu

I think I may have missed your point, however!

M



mapes911 wrote:
> 
> Hi all,
> 
> I've created a site that has a menu that is pushed onto the action stack
> in a class extending Zend_Controller_Plugin_Abstract.
> 
>         $menuAction = clone($request);
>         $menuAction->setActionName('menu')
>                 ->setControllerName('home');
>         $actionStack->pushStack($menuAction);
> 
> and then rendered in my main layout file
> 
>     <?php echo $this->layout()->menu; ?>
> 
> This seems to work great and the menu is loaded with every page that uses
> my main layout.
> But, I'd like to be able to "refresh" or reload this menu on certain
> occasions without reloading my page, is there a way for me to do this? 
> I've done a similar thing with many parts of my pages but not with actions
> that are pushed onto this stack, so I'm not sure where to start.
> 
> Any ideas?
> Thanks in advance
> 

-- 
View this message in context: 
http://www.nabble.com/Refreshing-or-reloading-a-menu-that-was-loaded-using-the-action-stack-tp23329137p23354085.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to