I think zimba was headed toward the solution you mentioned was a bit hacky (and yes, I'd agree):
// get the action parameter from the request object $this->getContext()->getRequest()->getParameter(AG_ACTION_ACCESSOR); zimba correct me if I'm wrong. --Bob On 9/6/05, Greg Donald <[EMAIL PROTECTED]> wrote: > On 9/6/05, zimba-tm <[EMAIL PROTECTED]> wrote: > > try the $this->getContext()->getParameter(AG_ACTION_NAME) > > getParameter() isn't available in the context object: > > Fatal error: Call to undefined method Context::getParameter() > > > So I tried $this->getController()->getParameter(AG_ACTION_NAME). > > Still doesn't work, even using the controller: > > Notice: Use of undefined constant AG_ACTION_NAME > > > -- > Greg Donald > Zend Certified Engineer > MySQL Core Certification > http://destiney.com/ > _______________________________________________ > agavi-dev mailing list > [email protected] > http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev > _______________________________________________ agavi-dev mailing list [email protected] http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev
