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-06-2010, 08:53 AM
Member
 
Posts: 12
Default What JavaScript files do I need to load to get the Zimlet environment?

I am trying to use JSunit to test some JavaScript code in my zimlet.

To do this, I create an HTML file and include my JavaScript files. But because my zimlet depends on Zimbra's JavaScript I have to also include the correct Zimbra JavaScript files.

My question: Exactly which JavaScript files do I need to include to capture all the necessary Zimlet code?

I tried something like this:

<script type="text/javascript"

src="https://zimbra.example.com/zimbra/res/I18nMsg,AjxMsg,ZMsg,ZmMsg,AjxKeys,ZmKeys,ZdMsg,Ajx TemplateMsg.js.zgz?v=091214175450&skin=bones"></script>
<script type="text/javascript"

src="https://zimbra.example.com/zimbra/js/Startup1_1_all.js.zgz?v=091214175450"></script>
<script type="text/javascript"

src="https://zimbra.example.com/zimbra/js/Startup1_2_all.js.zgz?v=091214175450"></script>
<script type="text/javascript"

src="https://zimbra.example.com/service/zimlet/res/Zimlets-nodev_all.js.zgz?language=en&country=US"></script>


But this was not enough (I would get errors complaining about missing classes). Any suggestions?
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.