Search:

Type: Posts; User: scotty; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    5,146

    Not easily. You'll still need to create the...

    Not easily. You'll still need to create the Zimlet front-end in Javascript, and to be able to use PHP for the backend without the proxy, you'd need to be running Zimbra behind an Apache server with...
  2. Replies
    3
    Views
    1,764

    I've found it easiest to debug zimlets using...

    I've found it easiest to debug zimlets using Firefox + firebug, Chrome + firebug lite or developer tools, or Safari 4 with the developer tools turned on. All those options support...
  3. Build a RESTful web service and protect it with...

    Build a RESTful web service and protect it with OAuth. The zimlet will need to store the consumer, access and request tokens, but it never needs users' usernames and passwords. OAuth can also work...
  4. Replies
    3
    Views
    1,263

    You can read the config file from the JSP.

    You can read the config file from the JSP.
  5. Replies
    1
    Views
    1,392

    Create the extra buttons before you create the...

    Create the extra buttons before you create the dialog, with something like this:



    myzimlet.prototype.setupDialog =
    function() {
    var infoButtonId = Dwt.getNextId();
    this._infoButton...
  6. Replies
    2
    Views
    1,719

    You can also define it as a resource in your...

    You can also define it as a resource in your Zimlet xml file:



    <resource>more_info.png</resource>


    Then use getResource to get the URL for it:
  7. Replies
    13
    Views
    4,529

    I don't think you can get the AccountCache...

    I don't think you can get the AccountCache singleton directly; it's used internally. However, it looks like you can use the Provisioning singleton and the get() method:



    Provisioning prov =...
  8. Replies
    13
    Views
    4,529

    Use the instructions at...

    Use the instructions at http://wiki.zimbra.com/index.php?title=Building_Zimbra_using_Perforce to download the source, then look in ZimbraServer/src/java/com/zimbra/cs.
  9. Replies
    13
    Views
    4,529

    Add this to the top of your .jsp:

    Add this to the top of your .jsp:



    <&#37;@ page import="com.zimbra.cs.account.*, com.zimbra.cs.zimlet.*" %>
  10. Replies
    13
    Views
    4,529

    Put something like this in your .jsp ...

    Put something like this in your .jsp


    String name = null;
    Provisioning prov = Provisioning.getInstance();
    javax.servlet.http.Cookie[] cookies = request.getCookies();
    String...
  11. Replies
    1
    Views
    1,465

    Your Zimlet would need a JSP to run on the...

    Your Zimlet would need a JSP to run on the backend; the JSP could call your scripts and return output or status information to the JavaScript (client) side of the Zimlet.
  12. Replies
    8
    Views
    2,739

    Your code creates a new, empty message......

    Your code creates a new, empty message... msg.from and msg.subject will be undefined until you set them.

    To get an existing message, you'll need to do one of the following:

    set your zimlet up...
  13. Thread: Logging zimlets

    by scotty
    Replies
    1
    Views
    1,637

    /opt/zimbra/log/mailbox.log

    /opt/zimbra/log/mailbox.log
  14. Replies
    12
    Views
    5,146

    You'd need to write a shim to the PHP API, like a...

    You'd need to write a shim to the PHP API, like a REST or SOAP web service, or just a basic web page, then access that interface from your Zimlet via the Zimbra Proxy.


    // call the web service to...
  15. Attach a listener to the folder tree view, in...

    Attach a listener to the folder tree view, in your zimlet initialization:


    FolderChange.prototype.init = function() {
    var treeView =...
Results 1 to 15 of 15