[jboss-dev-forums] [jBPM Development] - Re: Adding comments and attachments to the particular task
uvijayreddy657
do-not-reply at jboss.com
Mon Oct 10 03:33:54 EDT 2011
uvijayreddy657 [http://community.jboss.org/people/uvijayreddy657] created the discussion
"Re: Adding comments and attachments to the particular task"
To view the discussion, visit: http://community.jboss.org/message/630814#630814
--------------------------------------------------------------
I am using richfaces Editor component. Once I say submit button I am invoking the TaskClient's addComment method to add comments to particular task. It is supposed to save, but it is not saving the data. Any other parameters do we need to pass?
public void addComment(TaskSummary taskSummary) {
try {
taskClient.getTasksAssignedAsPotentialOwner(userid, groupids,
"en-UK", taskSummaryHandler);
BlockingAddCommentResponseHandler commentHandler = new BlockingAddCommentResponseHandler();
taskSummary.getTask().setDescription(taskSummary.getComment().getText());
taskSummary.getTask().setSubject(taskSummary.getComment().getText());
*taskClient.addComment(taskSummary.getTaskId(), taskSummary.getComment(),*
* commentHandler);*
//commentHandler.execute(1000);
//commentHandler.wait(1000);
} catch (Exception e) {
e.printStackTrace();
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630814#630814]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111010/0313a16f/attachment.html
More information about the jboss-dev-forums
mailing list