Issues

ZF-6380: The use of the dialog helper does not exist.

Issue Type: Bug Created: 2009-04-22T08:34:38.000+0000 Last Updated: 2009-04-22T20:44:38.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Jay M. Keith (jmkeith) Assignee: Benjamin Eberlei (beberlei) Tags: - ZendX_JQuery

Related issues: Attachments:

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:

<pre class="literal">
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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts