| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | 
08-24-2007, 05:02 AM
| | | 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 | 
08-24-2007, 08:26 AM
| | Zimbra Employee | |
Posts: 26
| | 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 | 
08-24-2007, 08:54 AM
| | Zimlet Guru & Moderator | |
Posts: 467
| | Quote:
Originally Posted by rkmorgan 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. | 
08-25-2007, 12:36 AM
| | | 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 | 
08-25-2007, 11:17 PM
| | Zimlet Guru & Moderator | |
Posts: 467
| | Quote:
Originally Posted by rkmorgan 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? | 
08-27-2007, 12:07 AM
| | | 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. | 
08-27-2007, 08:53 AM
| | Zimlet Guru & Moderator | |
Posts: 467
| | Quote:
Originally Posted by rkmorgan 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. | 
08-28-2007, 05:39 AM
| | | Get message details to JSP Zimbra server version is 4.5 | 
09-03-2007, 11:57 PM
| | | Get message details to JSP Hello!! So - have You got any solution of my problem. It is very important for me.
Thanks for any help!
Best regards
rkmorgan | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |