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

Description

I want to use the ZendX_JQuery_Form_Element in lazy load.


$form = new Zend_Form(array(
    'elements' => array(
        'type' => 'datePicker',
        'name' => 'date'
    )
));

Comments

ZendX_JQuery_Form will do what you are looking for:


$zf = new ZendX_JQuery_Form(array(
    'elements' => array(
        'date' => array(
            'type' => 'datePicker'
        )
    )
));

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.

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

Issue resolved: User should use ZendX_JQuery_Form instead of Zend_Form