ZF-6380: The use of the dialog helper does not exist.
Description
According to the documentation one only needs to use $this->dialog($id, $content, $params, $attribs); in order to create a jQuery UI dialog.
Expected outcome: the use of $this->dialog("dialog", "content here", array(), array()); within a view script will produce the appropriate jQuery Dialog.
Actual outcome:
An exception will be thrown:
Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'Dialog' was not found in the registry; used paths: ZendX_JQuery_View_Helper_: ZendX/JQuery/View/Helper/ Zend_View_Helper_: Zend/View/Helper/'
Even though the appropriate paths are set.
Workaround: using $this->dialogContainer("dialog", "content here", array(), array()); will create the appropriate code to initiate a jQuery UI dialog
Comments
Posted by Benjamin Eberlei (beberlei) on 2009-04-22T20:44:35.000+0000
This is an documentation issue and is now fixed in trunk.