Results 1 to 2 of 2

Thread: How to write formatter?

  1. #1
    tdesorbaix is offline Zimlet Guru & Moderator
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default How to write formatter?

    hi all,

    I read on the blog that there is formatter that we can use and I quote this :

    "We'd also like to encourage people to write their own formatters. There is a framework on the server-side for writing formatters, and it is actually quite easy. The Zip formatter, for example, is less then two pages of code."

    I'd like to write my own formatter so can someone explain how I can do that?
    What is this framework? where is it?

  2. #2
    schemers is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    228
    Rep Power
    9

    Default

    The ability to easily add a formatter without building from source hasn't materialized yet. If you grab the source you can look at this directory for all the formatters:

    http://svn.sourceforge.net/viewvc/zi...ice/formatter/

    And this file needs to be updated to "plugin" a new formatter (look at the UserServlet() constructor):

    http://svn.sourceforge.net/viewvc/zi...va?view=markup

    Ideally we should be reading the extra plugins from server-side extensions and/or local config. We probably could make UserServlet.addFormatter public so it could be called from an extension.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 01-28-2007, 12:46 PM
  2. read and write access from OE to Zimbra email-address-book
    By john99 in forum Zimbra Connector for Outlook
    Replies: 1
    Last Post: 06-17-2006, 10:32 AM
  3. Manage who can write email to who
    By vlskip in forum Administrators
    Replies: 5
    Last Post: 03-03-2006, 12:02 PM
  4. Replies: 1
    Last Post: 02-15-2006, 09:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •