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

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 07-02-2008, 04:09 PM
Intermediate Member
 
Posts: 17
Default Zimlets: How do you get an instance to the main Tool Bar?

I have found numerous examples of how to create a tool bar (DwtToolBar), but I am having trouble finding out how to get the main tool bar that contains "Mail", "Address Book", "Calendar", etc.
Once I get this, I can use it to call addChild to add the button I need to add.

Does anyone know what I need to call to get this from within a Zimlet?
Reply With Quote
  #2 (permalink)  
Old 08-12-2008, 09:26 AM
Intermediate Member
 
Posts: 17
Default Resolved for now...

I was told that the hooks to do this have not been implemented yet.
Currently, you have to add buttons using ZmApp.registerApp.

We were able to do this a little easier by creating a ZmChicletButton and adding it to the appChooser. It was still tricky, but probably not as complicated as using ZmApp.registerApp.

I also had to override several other tabs and events to avoid some negative side-effects.
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.