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 Display Modes
  #1 (permalink)  
Old 02-18-2009, 12:37 AM
Senior Member
 
Posts: 63
Default How I call function checkMail

I create zimlet and I want to use some function of zimbra.
I want to call function checkMail like you click Get Mail button.
Anyone know what's code I need to put in my java script file.

thank you for reply.
Reply With Quote
  #2 (permalink)  
Old 02-18-2009, 02:27 PM
Zimbra Employee
 
Posts: 115
Default

Quote:
Originally Posted by ohm_g7 View Post
I create zimlet and I want to use some function of zimbra.
I want to call function checkMail like you click Get Mail button.
Anyone know what's code I need to put in my java script file.

thank you for reply.
you can do something like..
Code:
	try {
		var q = appCtxt.getSearchController().currentSearch.query;
		appCtxt.getSearchController().search({query:q});
	} catch(e) {
	}
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0