2008年9月17日星期三

[fw-mvc] Location of view scripts for ViewScript form decorator

Hi,

After significant amount of suffering and struggling to get ViewScript form decorator to work I gave up. :)

Where the views should be placed?

The message that I get from the exception is not very useful.

Here is the stack trace.

Plugin by name Signup was not found in the registry.
#0 /home/emo/workspaces/softtech/cpays/lib/Zend/Form.php(1973): Zend_Loader_PluginLoader->load('signup')
#1 /home/emo/workspaces/softtech/cpays/lib/Zend/Form.php(1996): Zend_Form->_getDecorator('signup', NULL)
#2 /home/emo/workspaces/softtech/cpays/lib/Zend/Form.php(2052): Zend_Form->addDecorator('signup', NULL)
#3 /home/emo/workspaces/softtech/cpays/lib/Zend/Form.php(2074): Zend_Form->addDecorators(Array)
#4 /home/emo/workspaces/softtech/cpays/app/default/model/form/Signup.php(26): Zend_Form->setDecorators(Array)
#5 /home/emo/workspaces/softtech/cpays/app/default/controllers/SignupController.php(6): Afn_Form_Signup->__construct()
#6 /home/emo/workspaces/softtech/cpays/lib/Zend/Controller/Action.php(502): SignupController->indexAction()
#7 /home/emo/workspaces/softtech/cpays/lib/Zend/Controller/Dispatcher/Standard.php(293): Zend_Controller_Action->dispatch('indexAction')
#8 /home/emo/workspaces/softtech/cpays/lib/Zend/Controller/Front.php(914): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /home/emo/workspaces/softtech/cpays/html/index.php(73): Zend_Controller_Front->dispatch()
#10 {main}
Regards,
Emil Ivanov

--
My place to share my ideas:
http://vladev.blogspot.com

http://carutoo.com

没有评论: