[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4162) jBPM context ijointo the current conversation doesn't work with @ResumeProcess
bb bb (JIRA)
jira-events at lists.jboss.org
Tue May 5 10:15:46 EDT 2009
jBPM context ijointo the current conversation doesn't work with @ResumeProcess
------------------------------------------------------------------------------
Key: JBSEAM-4162
URL: https://jira.jboss.org/jira/browse/JBSEAM-4162
Project: Seam
Issue Type: Bug
Components: BPM
Affects Versions: 2.1.2.CR1
Environment: WinXp,Eclipse Europa,Seam 2.1.2.cr1
Reporter: bb bb
I have a task associating page, and when the user click the start link, i would like to invoke the beginHumanTask method in the current conversation.
But If I removed the propagation="none attribute, I get the following error:
begin method invoked from a long-running conversation, try using @Begin(join=true) on method: beginHumanTask"
I try to use the @ResumeProcess(definition="processName") by this method, but It's didn't work.
(s:link propagation=join doesn't work too)
JSF page:
<s:link
action="#{processmgr.beginHumanTask()}"
taskInstance="#{item}"
value="start"
propagation="none"/> !!!!!!!!!!!!!!!!!!!!!!! (If I remove this line i get exception)
SEAM component method:
@BeginTask
public String beginHumanTask() {
//some operation
}
I try to propagate the processId for this method, but I always get the same exception:
begin method invoked from a long-running conversation, try using @Begin(join=true) on method: beginHumanTask"
<s:link ...>
<f:param name="processId" value="#{item.processInstance.id}"/>
</s:link>
@RequestParameter
Long processId
@ResumeProcess(definition="processName")
@BeginTask
public String beginHumanTask() {
//some operation
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list