Upadte - Zend_ProgressBar_Adapter_JsPush + Ajax

2 messages Options
Embed this post
Permalink
Jeferson Rodrigo Almeida

Upadte - Zend_ProgressBar_Adapter_JsPush + Ajax

Reply Threaded More More options
Print post
Permalink
I've made a modification to the file zend/ProgressBar/Adapter/Adapter.php, cause it don't work with ajax calls, just executing the large proccess in a <iframe> tag.

With this modification, if you set the property ajaxAccess to false (using the setAjaxAccess()), the component will work in normal form (as the default zend component), bur if you set it to true, it will work with ajax calls, made by de same page.in the attachments is the file updated, and a example of use, wtih a ExtJS library ajax call.

I hope it can be usefull to you. Any doubt, please mail me.

--
Jeferson Rodrigo Almeida
Conputation Engineer
Curitiba - ParanĂ¡ - Brasil
[hidden email]



JsPush.php (6K) Download Attachment
principal.js (852 bytes) Download Attachment
A.J. Brown-3

Re: Upadte - Zend_ProgressBar_Adapter_JsPush + Ajax

Reply Threaded More More options
Print post
Permalink
Hello,

You may want to create a feature request in the issue tracker, and attach your changes there.  I'm sure this would be useful for many people, and the team could get it integrated into a future release.

http://framework.zend.com/issues/secure/Dashboard.jspa


On Mon, Feb 16, 2009 at 2:13 PM, Jeferson Rodrigo Almeida <[hidden email]> wrote:
I've made a modification to the file zend/ProgressBar/Adapter/Adapter.php, cause it don't work with ajax calls, just executing the large proccess in a <iframe> tag.

With this modification, if you set the property ajaxAccess to false (using the setAjaxAccess()), the component will work in normal form (as the default zend component), bur if you set it to true, it will work with ajax calls, made by de same page.in the attachments is the file updated, and a example of use, wtih a ExtJS library ajax call.

I hope it can be usefull to you. Any doubt, please mail me.

--
Jeferson Rodrigo Almeida
Conputation Engineer
Curitiba - ParanĂ¡ - Brasil
[hidden email]



--
A.J. Brown
web | http://ajbrown.org
phone | (937) 660-3969