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 10-30-2008, 03:26 PM
Trained Alumni
 
Posts: 48
Default Zimlet DwtDialog -- removing buttons?

How can I remove a button from a standard DwtDialog dialog box? I've figured out how to rename one of the standard buttons (e.g. this._dialog.getButton(DwtDialog.OK_BUTTON).setTex t) but what about removing one completely?

Last edited by grahamb; 10-31-2008 at 10:39 AM..
Reply With Quote
  #2 (permalink)  
Old 10-31-2008, 05:17 PM
Trained Alumni
 
Posts: 48
Default

I found the solution in ZmZimletBase.js:

this._dialog.setButtonVisible(DwtDialog.CANCEL_BUT TON, false);

Let me please reiterate the plea for proper Zimlet documentation! Please!
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.