I'm a newbie using ZF. I have a form that is posting data back on itself.
After writing to db, I'd like to do a redirect. I set up the redirector in
the init like this:
public function init(){
$this->_redirector=$this->_helper->getHelper('Redirector');
}
and then tried using it in the post'd function to no avail. I tried to just
make a redirect method but even this wasn't working such as this:
public function redirectsampleAction(){
$this->_redirector->gotoUrl('http://www.sun.com');
return;
}
I can see the _redirector if i print_r($this) but I just keep getting 'there
is an error' - BTW, how do I determine what the error is?
thanks for help
--
View this message in context:
http://www.nabble.com/simple-problem-getting-%24this-%3E_redirector-to-work-tf4053587s16154.html#a11514249
Sent from the Zend Framework mailing list archive at Nabble.com.