hi all, i want to set my action controller from within a hidden filed in my view script form and when my form submitted zend framework router diagnose the action. like this:
A:
I suppose you have a HTML form. The easiest way would be to do a _forward() using the values you got from the form inside the the controller/action the form submits to.
jetru
2009-06-14 07:09:50
A:
In your controller
$action = $this->_getParam('action', 'default-action-name');
return $this->_forward($action); //assumes same controller and module
David Caunt
2009-06-23 20:05:38