Re: [fw-general] Apply ajax in Zend Framework

2007-07-21 Thread minglee
Yes. I will try it after I get familiar with ZF! Chad Minick-2 wrote: Another alternative to prototype is jquery, It's quite a bit smaller in size than prototype, and in some way's it does things better than prototype. I prefer prototype over jquery for large web applications, and

Re: [fw-general] Apply ajax in Zend Framework

2007-07-20 Thread Joó Ádám
Hi minglee, if you'd like to install firebug offline, just save (with a right-click) the .xpi file to your harddisc instead of install. Than you can open it with firefox from disc, and install it the same way. Ádám On 7/20/07, minglee [EMAIL PROTECTED] wrote: Thanks Dillon, I have some

Re: [fw-general] Apply ajax in Zend Framework

2007-07-20 Thread Ronald Becher
Hi minglee, I daresay, you should check the server's error log for more information. ;) Or using firebug, it really is a great piece of software and i'm happy with it using it in every day's work (in fact i can't get it, how i did without it ...) Regarding prototype: An actual version of

Re: [fw-general] Apply ajax in Zend Framework

2007-07-20 Thread till
Hi, On 7/20/07, Ronald Becher [EMAIL PROTECTED] wrote: Hi minglee, I daresay, you should check the server's error log for more information. ;) Or using firebug, it really is a great piece of software and i'm happy with it using it in every day's work (in fact i can't get it, how i did without

Re: [fw-general] Apply ajax in Zend Framework

2007-07-20 Thread minglee
Got it Adam! Thanks! I will try it out! Joó Ádám wrote: Hi minglee, if you'd like to install firebug offline, just save (with a right-click) the .xpi file to your harddisc instead of install. Than you can open it with firefox from disc, and install it the same way. Ádám On

Re: [fw-general] Apply ajax in Zend Framework

2007-07-20 Thread minglee
Hi Ronald, Thanks a lot for your advice, yes, it is very useful to check out server log. For prototype.js and script.acoul.us, I had tried on phpCake, yes, very convenient and easy. But for ZF, there is no such automation. Talking about broadband, yes, you're right in most cases, but some crowded

Re: [fw-general] Apply ajax in Zend Framework

2007-07-20 Thread minglee
Hi Ronald. My problem solved. I should call in ajax /ZF_dir/controller/action, but I did /controller/action. Server log showed that error. And firebug showed several coding mistakes. It is sharp. Cheers and thanks! Ronald Becher wrote: Hi minglee, I daresay, you should check the server's

Re: [fw-general] Apply ajax in Zend Framework

2007-07-20 Thread minglee
Hi Adam. I installed firebug and solved my problem. Firebug is really sharp. Cheers and thanks! Calvin Joó Ádám wrote: Hi minglee, if you'd like to install firebug offline, just save (with a right-click) the .xpi file to your harddisc instead of install. Than you can open it with

Re: [fw-general] Apply ajax in Zend Framework

2007-07-20 Thread minglee
Hi batoon! I solve the problem. I made a mistake on just calling /controller/action, while it should be /ZF_dir/controller/action. In addition, firebug helped a lot in finding out several errors threw by ZF. Cheers! Calvin batoon wrote: 1.

Re: [fw-general] Apply ajax in Zend Framework

2007-07-19 Thread Dillon Woods
On 7/18/07, minglee [EMAIL PROTECTED] wrote: However, when printing xmlHttp.responseText, it displayed content of my another application's xmlHttp.responseText. I think there must be something wrong with cache, but how should I do with the zend framework's cache in this case? Are you using

Re: [fw-general] Apply ajax in Zend Framework

2007-07-19 Thread minglee
Thanks Dillon, I have some problem with Firebug, because my environment is SuseLinux in WMware, so I can't install Firebug online, but I did not find download item for installation. My javascript is quite simple the core is several functions handling xmlHttp, the code is from a book named Ajax

Re: [fw-general] Apply ajax in Zend Framework

2007-07-18 Thread Dillon Woods
On 7/17/07, minglee [EMAIL PROTECTED] wrote: 1. Because ZF is using rewrite, how should I call the server-side action, for example: If I want to call registerAction in /topath/application/controllers/visitor.php, can I call like /visitor/register-- my .js file is in /topath/public/script/?

Re: [fw-general] Apply ajax in Zend Framework

2007-07-18 Thread minglee
Thank you very much both, batoon and Dillon. I solved the calling problem, I call validateAction in visitor.php ( which also includes registerAction, from its view page ajax calls validation) using '/validate', it works: xmlHttp.readyState showed 4, and xmlHttp.status 200. However, when printing

Re: [fw-general] Apply ajax in Zend Framework

2007-07-17 Thread batoon
1. /topath/application/controllers/VisitorController.php. Yes you can do it. 2. $this-getResponse()-setBody()... $this-getResponse()-setHeader()... minglee wrote: I am new to Zend Framework(ZF), and got confused when coding ajax: 1. Because ZF is using rewrite, how should I call the