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 08-03-2010, 07:08 AM
Starter Member
 
Posts: 1
Default Problem about ZmPreferencesPage

Hello everyone

I have a little problem, I want to create a new page in the "preferences".

So I created a DwtTreeItem in the ZmOverview of the "preferences".

Now I want to create the page that corresponds to it, I saw that the object ZmPreferencesPage can do it. So I need some more information about that to link my DwtTreeItem to the ZmPreferencesPage.

I create my DwtTreeItem in the overview of the preferences.

com_zimbra_quotero_HandlerObject.prototype.onShowV iew = function(viewId, isNewView)
(
if(com_zimbra_quotero_HandlerObject.prototype.Stri ngContains(viewId,"PREF"))
(
var app = appCtxt.getCurrentApp ();
var overview = app.getOverview ();
var = button_test
(
parent: overview.getTreeView (PREF_PAGE "). getHeaderItem ()
index: 2
text: "Test"
posStyle "ABSOLUTE_STYLE"
selectable: true,
forceNotifySelection: false,
forceNotifyAction: false,
singleClickAction: false,
id: "zti__main_Options__PREF_PAGE_PREF_TEST"
)

var Button_test= new test_treeitem DwtTreeItem (button_test);
if (overview.getTreeView (PREF_PAGE "))
(
overview.getTreeView (PREF_PAGE ").getHeaderItem().addChild(Button_test, 2);
)
)
)


Thanks in advance
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.