2009年6月25日星期四

Re: [fw-mvc] _forward() and custom context in contextSwitch

afx114 wrote:
>
> I have a custom context that is working fine -- except after I call
> _forward to move from one action to another. I get the following error:
> Error: Context "webwidget" does not exist
>

Here is the full error:

Error: Context "webwidget" does not exist

#0
/usr/share/pear/ZendFramework-1.8.3/library/Zend/Controller/Action/Helper/ContextSwitch.php(1239):
Zend_Controller_Action_Helper_ContextSwitch->hasContext('webwidget', true)
#1
/usr/share/pear/ZendFramework-1.8.3/library/Zend/Controller/Action/Helper/ContextSwitch.php(257):
Zend_Controller_Action_Helper_ContextSwitch->hasActionContext('flickr',
'webwidget')
#2
/usr/share/pear/ZendFramework-1.8.3/library/Zend/Controller/Action/Helper/AjaxContext.php(75):
Zend_Controller_Action_Helper_ContextSwitch->initContext(NULL)
#3
/home/username/application/default/controllers/AppimgtagController.php(16):
Zend_Controller_Action_Helper_AjaxContext->initContext()
#4
/usr/share/pear/ZendFramework-1.8.3/library/Zend/Controller/Action.php(132):
AppimgtagController->init()
#5
/usr/share/pear/ZendFramework-1.8.3/library/Zend/Controller/Dispatcher/Standard.php(261):
Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http),
Object(Zend_Controller_Response_Http), Array)
#6
/usr/share/pear/ZendFramework-1.8.3/library/Zend/Controller/Front.php(945):
Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
Object(Zend_Controller_Response_Http))
#7 /home/username/application/default/bootstrap.php(50):
Zend_Controller_Front->dispatch()
#8 /home/username/html/index.php(23): Bootstrap->__construct('username')
#9 {main}
--
View this message in context: http://www.nabble.com/_forward%28%29-and-custom-context-in-contextSwitch-tp24212567p24212594.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: