Issues

ZF-10838: Add ZendX_JQuery_Form as a default element and decorator path

Issue Type: Bug Created: 2010-12-16T11:18:51.000+0000 Last Updated: 2010-12-17T11:00:05.000+0000 Status: Resolved Fix version(s): Reporter: Benoît Durand (intiilapa) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Form

Related issues: Attachments:

Description

I want to use the ZendX_JQuery_Form_Element in lazy load.

<pre class="highlight">
$form = new Zend_Form(array(
    'elements' => array(
        'type' => 'datePicker',
        'name' => 'date'
    )
));

Comments

Posted by Adam Lundrigan (adamlundrigan) on 2010-12-17T07:12:17.000+0000

ZendX_JQuery_Form will do what you are looking for:

<pre class="highlight">
$zf = new ZendX_JQuery_Form(array(
    'elements' => array(
        'date' => array(
            'type' => 'datePicker'
        )
    )
));

Posted by Benoît Durand (intiilapa) on 2010-12-17T10:24:13.000+0000

Outch, I never noticed this class >< My mistake. The solution is not the same between ZendX_Application_Resource* and ZendX_JQuery_Form_Element_*. If you look the issue ZF-8751, you have any class ZendX_Application, and the path is updated for the plugin loader. I made a patch in the same way.

Posted by Ramon Henrique Ornelas (ramon) on 2010-12-17T10:44:26.000+0000

Not an issue you should use ZendX_JQuery_Form that already resolved this.

Posted by Adam Lundrigan (adamlundrigan) on 2010-12-17T11:00:03.000+0000

Issue resolved: User should use ZendX_JQuery_Form instead of Zend_Form

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