ZimletJS: Difference between revisions

(start somewhere.)
 
No edit summary
Line 1: Line 1:
Rather allot needs to be writtenby those that understand the intents of the JS API
Rather allot needs to be writtenby those that understand the intents of the JS API


Line 9: Line 8:
  ../ZmCalendarApp.js:  AjxDispatcher.registerMethod("GetCalController", "CalendarCore", new AjxCallback(this, this.getCalController));
  ../ZmCalendarApp.js:  AjxDispatcher.registerMethod("GetCalController", "CalendarCore", new AjxCallback(this, this.getCalController));
  Tasks_all.js:          var cc = AjxDispatcher.run("GetCalController");
  Tasks_all.js:          var cc = AjxDispatcher.run("GetCalController");
== AjxCallback ==





Revision as of 13:44, 28 September 2008

Rather allot needs to be writtenby those that understand the intents of the JS API


AjxDispatcher

appears to be a way for anyone to register a global function that can then be run 'by name'

ie.

../ZmCalendarApp.js:   AjxDispatcher.registerMethod("GetCalController", "CalendarCore", new AjxCallback(this, this.getCalController));
Tasks_all.js:           var cc = AjxDispatcher.run("GetCalController");


AjxCallback

Verified Against: Date Created: 2008
Article ID: https://wiki.zimbra.com/index.php?title=ZimletJS Date Modified: 2008-09-28



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search