Search found 5 matches

by tkhandelwal
Thu Sep 28, 2017 11:50 am
Forum: Zimlets
Topic: Listener to catch adding emails to To field
Replies: 1
Views: 3500

Re: Listener to catch adding emails to To field

Try adding a event listener using this when the view is compose :

Code: Select all

appCtxt.getCurrentView()._recipients.getField("TO").addListener
by tkhandelwal
Wed Jun 28, 2017 12:33 pm
Forum: Zimlets
Topic: How to make a customize menu in the tab application area?
Replies: 1
Views: 3493

Re: How to make a customize menu in the tab application area?

A sample zimlet to create a new app (Tab application) via zimlet can be found here:

Code: Select all

https://github.com/Zimbra-Community/zimlets-foss/tree/9e07a36c6fa5a1bfb7a06edbdcce3aabffad3a81/Zimlet/src/zimlet/com_zimbra_example_simpletab
by tkhandelwal
Wed Jun 28, 2017 12:27 pm
Forum: Zimlets
Topic: Jetty seems to not be executing my Zimlet's JSP files
Replies: 1
Views: 5594

Re: Jetty seems to not be executing my Zimlet's JSP files

By default it is disabled to compile the zimlet's JSP. You can enable it at server level using the command:

Code: Select all

 zmprov ms hostname zimbraZimletJspEnabled TRUE
by tkhandelwal
Tue Jun 21, 2016 9:04 am
Forum: Zimlets
Topic: [SOLVED] Creating a new tag menu
Replies: 4
Views: 4979

Re: Creating a new tag menu

As mentioned by cdamon , button listener is what is missing here which refresh's the context .

You can try adding this code :

Code: Select all

tagSubButton.addListener(DwtEvent.ONMOUSEOVER, new AjxListener(this, function() {
            controller._setTagMenu(actionsMenu);
      }));
by tkhandelwal
Fri Jun 03, 2016 8:41 am
Forum: Zimlets
Topic: Simple toolbar button.
Replies: 3
Views: 3385

Re: Simple toolbar button.

You should be adding an onClick handler to the button which would be called on button click event: var viewType = appCtxt.getViewTypeFromId(viewId); // get the index of "View" menu so we can display the button after that var buttonIndex = 0; for (var i = 0; i < toolbar.opList.length; i++) ...