Hi all,

I’m using the preDispatch() method in a controller to detect if the action is called from a _forward() .

public function preDispatch()
{
if ($this->getRequest()->isDispatched()) {
$this->_isForward = true;
}
}


But no matter from where I’m calling the action, directly or via _forward(), $this->getRequest()->isDispatched() always return true.

What is strange, is that it seems it was working a few svn versions ago… But now I’m not sure.

Is there a bug? Or am I not using a good strategy to detect a _forward()?

--
Laurent Melmoux - [EMAIL PROTECTED]
Annecy - France

Reply via email to