Issues

ZF-8440: ZendX_JQuery View Helpers error in doc

Issue Type: Docs: Improvement Created: 2009-12-02T03:23:55.000+0000 Last Updated: 2009-12-16T13:53:24.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Sasa Stamenkovic (umpirsky) Assignee: Benjamin Eberlei (beberlei) Tags: - ZendX_JQuery

Related issues: Attachments:

Description

On http://framework.zend.com/manual/en/…

$view->jQuery ->setRenderMode(ZendX_JQuery::RENDER_JAVASCRIPT | ZendX_JQuery::RENDER_JQUERY_ON_LOAD);

should be replaced with

$view->jQuery() ->setRenderMode(ZendX_JQuery::RENDER_JAVASCRIPT | ZendX_JQuery::RENDER_JQUERY_ON_LOAD);

Comments

Posted by Sasa Stamenkovic (umpirsky) on 2009-12-04T17:47:09.000+0000

On http://framework.zend.com/manual/en/…

Example 65.3. Showing jQuery Form View Helper Usage

datePicker("startDate", '', array('defaultDate' => '+7', 'minDate' => '+7', 'onClose' => 'myJsonFuncCechkingValidity')); ?> Javascript callbacks should be under Zend\_Json\_Expr: datePicker("startDate", '', array('defaultDate' => '+7', 'minDate' => '+7', 'onClose' => new Zend\_Json\_Expr('myJsonFuncCechkingValidity'))); ?> Please fix this as well.

Posted by Benjamin Eberlei (beberlei) on 2009-12-16T13:53:22.000+0000

Fixed

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