Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-23-2007, 04:24 PM
Project Contributor
 
Posts: 31
Default Invoke Cachining??

I have the following code that
sends out a WebDAV request to me server. I have attached it to the single click handler. The first time I click on the Zimlet, it makes the remote calls and works fine. The second time I click on the Zimlet, I see that the java script runs, however the HTTP requests are NEVER sent to the remote server. I have to do a refresh in the Zimbra brower to get it to resend again. Is there some sort of caching that I can control so that is always sends these remote requests??

var reqHeader = {"Xythos-Method": "MKCOL"};

var url = ZmZimletBase.PROXY + AjxStringUtil.urlEncode (this.SERVER+ "/Email");

AjxRpc.invoke (null, url, reqHeader, new AjxClientCallback(this, this._resultCallback), true);
Reply With Quote
  #2 (permalink)  
Old 01-23-2007, 06:15 PM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by jfavero View Post
I have the following code that
sends out a WebDAV request to me server. I have attached it to the single click handler. The first time I click on the Zimlet, it makes the remote calls and works fine. The second time I click on the Zimlet, I see that the java script runs, however the HTTP requests are NEVER sent to the remote server. I have to do a refresh in the Zimbra brower to get it to resend again. Is there some sort of caching that I can control so that is always sends these remote requests??

var reqHeader = {"Xythos-Method": "MKCOL"};

var url = ZmZimletBase.PROXY + AjxStringUtil.urlEncode (this.SERVER+ "/Email");

AjxRpc.invoke (null, url, reqHeader, new AjxClientCallback(this, this._resultCallback), true);
I haven't seen this behavior before. You might want to go grab firebug, and see if you are getting some script error after the data is returned. That would keep it from being executed the next time you click.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.