Results 1 to 4 of 4

Thread: dropping multiple entities to zimlet

  1. #1
    Join Date
    Feb 2008
    Posts
    11
    Rep Power
    7

    Default dropping multiple entities to zimlet

    I have a JSP zimlet which accepts drag'n'drop of ZmContact.
    When I drop multiple contact objects there at once zimbra merges them to one object. And those object properties comes in request to JSP merged like: name= fname1, fname2, fname3...; email=email1, email2, email3 and so on.

    Is there any way to avoid this?
    I want each dropped entity performed one request, then next dropped entity another request.

    Any ideas?

  2. #2
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    I don't think there is any way to avoid this.
    But you can still split the string with the "," char.

  3. #3
    Join Date
    Feb 2008
    Posts
    11
    Rep Power
    7

    Default

    Don't think this will work since any fields may contain "," characters

  4. #4
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    The solution is to get only the id of the contact.
    Since the basic request is done with GET method, it is very limited and you should not get any field that have unlimited lentgh by this method.
    So just send the id of your contact to the jsp page and in the jsp you can get all the information you want about the contact with just the id.
    You ll just have to look a little at zimbra source code to find how to get a contact by the id.

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. Outlook 2007 Beta error
    By bersrker in forum Zimbra Connector for Outlook
    Replies: 13
    Last Post: 07-17-2008, 07:38 AM
  3. Replies: 5
    Last Post: 01-11-2008, 04:34 AM
  4. Domain Admin Error: Permission Denied
    By shanson in forum Administrators
    Replies: 3
    Last Post: 05-29-2007, 05:48 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 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
  •