[jboss-user] [JBoss Seam] - @StartTask and @EndTask in different methods

dgallego do-not-reply at jboss.com
Fri Sep 1 07:41:04 EDT 2006


Hi, I'm modifying the TODO-list example in order to start and end tasks with different <s:link>.

I want a button to start the task (invoking @StartTask method) and a method to stop the task.

If I hit the startTask method, the task is started (I see it in jbpm database), but if then I hit the stopTask method, the following exception is launched:



  | javax.faces.el.EvaluationException: Exception while invoking expression #{todoList.stopTask}
  | [...]
  | Caused by: java.lang.IllegalStateException: no task instance associated with context
  | 

Thanks in advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968904#3968904

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968904



More information about the jboss-user mailing list