$this->getContext()->getController()->forward(AG_ERROR_404_MODULE, AG_ERROR_404_ACTION);
- David > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of J. Erik Heinz > Sent: Thursday, September 29, 2005 6:38 PM > To: agavi-dev mailinglist > Subject: [agavi-dev] redirect to a default errorpage > > Hi, > > Problem: > I have an action show, where as well a parameter is assigned in the > url. This parameter is required to get a View::SUCCESS. > eg: > http://localhost/sandbox/index.php?module=Sandbox&action=Show&aid=12 > > When the parameter is missing i want to redirect to the errorpage of > the Default Module, eg: > webapp/modules/default/views/IndexErrorView.class.php. > > When i specify: return View::SUCCESS it will forward me to the > webapp/modules/Sandbox/views/ShowErrorView.class.php. > > How can i manage it to redirect to the default error-page? > > webapp/config/setting.ini just specify the errorpage within the > module.. > > Regards Erik > -- > J. Erik Heinz > Keyboard-samuraing in process > _______________________________________________ > 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
