2008年10月18日星期六

[fw-mvc] Zend_Dojo AJAX Requests

Hi all,

Currently I am busy with a project that loads every page with an AJAX
request. But that is giving me a problem with Zend_Dojo. When I am using
Zend_Form, it will render the Form correctly, but it doesn't load the
Dijit form widgets. It is because I can't execute the dojo.require()
statements in the AJAX requests. Currently, I am giving some JavaScript
with the AJAX response, but I don't know how to retrieve the
dojo.require() and onload statements from the dojo view helper.

Does anybody know how I should take this problem and get the
dojo.require() and onload statements from the Dojo view helper, so I can
include them in the AJAX response and execute them on the client side?

--
Regards,

Pieter Kokx
MaakSite.net
PHP Developer

没有评论: