Results 1 to 4 of 4

Thread: How to debug zimlets?

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    11
    Rep Power
    6

    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!

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

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

    Read the section "Zimlet Development Directory"

  3. #3
    Join Date
    Oct 2009
    Posts
    11
    Rep Power
    6

    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?

  4. #4
    Join Date
    Mar 2008
    Location
    Stanford, CA
    Posts
    15
    Rep Power
    7

    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.

Similar Threads

  1. 'Couldn't access Yahoo! Zimbra Desktop server"
    By chirag1 in forum Error Reports
    Replies: 37
    Last Post: 06-12-2011, 05:14 PM
  2. [SOLVED] Sudden problem synching with gmail
    By bouchardpie in forum Error Reports
    Replies: 8
    Last Post: 09-09-2010, 09:50 AM
  3. Can no longer start desktop
    By foobaz in forum General Questions
    Replies: 12
    Last Post: 04-02-2010, 04:06 PM
  4. [SOLVED] Zimbra desktop slowed down the system
    By hvle in forum General Questions
    Replies: 5
    Last Post: 03-23-2009, 05:32 PM
  5. Moving to different server
    By AaronW1000 in forum Installation
    Replies: 2
    Last Post: 07-03-2008, 07:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •