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 04-08-2010, 02:29 AM
Member
 
Posts: 11
Default How to debug zimlets?

I'm learning zimlets and usually redeploy them. Each of reploying zimlet, i have to restart ubuntu and after i see the changes of zimlet on my browser.
if i do it, I can's show the changes of zimlets on my browser but it take a long time.
Is there another way to implement the changes of zimlet on my browser without reboot server ubuntu?
Thanks!
Reply With Quote
  #2 (permalink)  
Old 04-08-2010, 02:54 AM
Moderator
 
Posts: 7,929
Default

ZCS 6.0:Zimlet Developers Guideev Environment Setup - Zimbra :: Wiki

Read the section "Zimlet Development Directory"
__________________
Reply With Quote
  #3 (permalink)  
Old 04-09-2010, 11:35 AM
Intermediate Member
 
Posts: 15
Default

I've found it easiest to debug zimlets using Firefox + firebug, Chrome + firebug lite or developer tools, or Safari 4 with the developer tools turned on. All those options support console.{error,log,warn,debug} for writing messages to the javascript console, and console.dir and console.dirxml for dumping JavaScript objects and XML objects to the console. Just remember to remove the console.* statements before making the zimlet available to testers or users.
Reply With Quote
  #4 (permalink)  
Old 04-12-2010, 12:37 AM
Member
 
Posts: 11
Default

Quote:
Originally Posted by uxbod View Post
ZCS 6.0:Zimlet Developers Guideev Environment Setup - Zimbra :: Wiki

Read the section "Zimlet Development Directory"
I have created _dev(zimlet-deployed/_dev) folder. Under _dev folder I have created zimlets folder.
ex: _dev/com_zimbra_simpletab
_dev/com_zimbra_simpletab.js
_dev/com_zimbra_simpletba.xml
However, when i change .js file and refresh browser, have no change in browser?
With the zimlet files are changed, how to be automatically reflected when the browser is refreshed?
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.