Results 1 to 9 of 9

Thread: Get message details to JSP

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    9
    Rep Power
    8

    Default Get message details to JSP

    Hello!

    I have a problem with take message details (id, subject, from, to, body, attachment) to JSP file. I wrote the plugin and I use drag&drop function to put message to plugin.
    I know that I should use SOAP - so If You have any tutorials or solution - I'll be glad.

    Best regards
    rkmorgan

  2. #2
    Join Date
    Jan 2007
    Posts
    26
    Rep Power
    8

    Default

    You should be able to grab the JSPSample Zimlet out of the open source repository, and check out how we do it in that zimlet. This should give you an idea of how to grab these items through JSPs. The repository info is found here:

    SourceForge.net: Subversion

  3. #3
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by rkmorgan View Post
    Hello!

    I have a problem with take message details (id, subject, from, to, body, attachment) to JSP file. I wrote the plugin and I use drag&drop function to put message to plugin.
    I know that I should use SOAP - so If You have any tutorials or solution - I'll be glad.

    Best regards
    rkmorgan
    Take a look at the taglibs to pull data from Zimbra in a JSP manner. I believe there is a sample Zimlet that does almost exactly what you want to do, without having to worry about the SOAP.

  4. #4
    Join Date
    Aug 2007
    Posts
    9
    Rep Power
    8

    Default Get message details to JSP

    Hi!
    Thanks for answer!!

    My plugin has been based on com_zimbra_jspsample exmaple package. Yes I get ID and Subject of message correct, but when I try get other message information like: body, from, to, date the results are:

    id: 282
    subject: Zimlets-+test
    name:
    %28UNDEFINED+-+str+%27%24%7Bobj.name%7D%27+obj+%27%5Bobject+Obje ct%5D%27%29
    path: %28UNDEFINED+-+str+%27%24%7Bobj.path%7D%27+obj+%27%5Bobject+Obje ct%5D%27%29
    body:
    from: %28UNDEFINED+-+str+%27%24%7Bobj.from%7D%27+obj+%27%5Bobject+Obje ct%5D%27%29
    to: %28UNDEFINED+-+str+%27%24%7Bobj.to%7D%27+obj+%27%5Bobject+Object %5D%27%29[/SIZE][/SIZE][/SIZE][/SIZE]

    I add new params to xml file - but the results are not good.
    So - that is my problem. If You have any example codes or solution - pleace write.

    Best regards
    rkmorgan

  5. #5
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by rkmorgan View Post
    Hi!
    Thanks for answer!!

    My plugin has been based on com_zimbra_jspsample exmaple package. Yes I get ID and Subject of message correct, but when I try get other message information like: body, from, to, date the results are:

    id: 282
    subject: Zimlets-+test
    name:
    %28UNDEFINED+-+str+%27%24%7Bobj.name%7D%27+obj+%27%5Bobject+Obje ct%5D%27%29
    path: %28UNDEFINED+-+str+%27%24%7Bobj.path%7D%27+obj+%27%5Bobject+Obje ct%5D%27%29
    body:
    from: %28UNDEFINED+-+str+%27%24%7Bobj.from%7D%27+obj+%27%5Bobject+Obje ct%5D%27%29
    to: %28UNDEFINED+-+str+%27%24%7Bobj.to%7D%27+obj+%27%5Bobject+Object %5D%27%29[/SIZE][/SIZE][/SIZE][/SIZE]

    I add new params to xml file - but the results are not good.
    So - that is my problem. If You have any example codes or solution - pleace write.

    Best regards
    rkmorgan
    What source code version are you using?

  6. #6
    Join Date
    Aug 2007
    Posts
    9
    Rep Power
    8

    Default Get message details to JSP

    The com_zimbra_jspsamle version is: 1.0

    <zimlet name="com_zimbra_jspsample" version="1.0" description="JSPSample">


    When jspsample plugin has been loaded to ZIMBRA and I drag&drop message to this plugin, I receive correct ID and SUBJECT, PATH and NAME are empty.

  7. #7
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by rkmorgan View Post
    The com_zimbra_jspsamle version is: 1.0

    <zimlet name="com_zimbra_jspsample" version="1.0" description="JSPSample">


    When jspsample plugin has been loaded to ZIMBRA and I drag&drop message to this plugin, I receive correct ID and SUBJECT, PATH and NAME are empty.
    Sorry, I meant to ask what version of the Zimbra Server are you running.

Similar Threads

  1. Replies: 3
    Last Post: 07-19-2007, 02:00 AM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  3. Network Service Error with MIME encoded message
    By Glenham in forum Administrators
    Replies: 2
    Last Post: 10-17-2006, 09:37 AM
  4. Replies: 4
    Last Post: 08-10-2006, 10:55 PM
  5. Migration from Exchange 2003
    By goetzi in forum Administrators
    Replies: 13
    Last Post: 11-22-2005, 09:50 PM

Posting Permissions

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