-
1. Re: Business process injection doesn't work in a Seam compon
chawax Sep 28, 2007 5:04 AM (in response to chawax)Forgot to tell that I use Seam 2.0.0 BETA 1 and JBPM 3.2.2
-
2. Re: Business process injection doesn't work in a Seam compon
chawax Sep 28, 2007 8:45 AM (in response to chawax)I solved my problem ! In fact my Seam component with action methods was both a "JBPM listener" and "JSF listener". It had methods with @StartTask end @EndTask annotations, that were called from a JSF page. I finally thought that it was not a good architecture choice, so I splitted my Seam component in a JSF listener component (with @StartTask and @EndTask annotated methods) and a JBPM listener component. And the injection of business process instance and variables into this JBPM listener worked !
So what I see is that you can't have @StartTask and @EndTask methods in a JBPM listener. Is it something expected or is it a bug ? And if this is not a bug, could anyone explain to me the reason of all this ?
Thanks in advance -
3. Re: Business process injection doesn't work in a Seam compon
nebukadnezzar Oct 7, 2007 4:35 AM (in response to chawax)I think i've got the same problem.
Everything works fine except the injection from the business-process-scope
the variable is in the jbpm tables...
has anyone a hint on this?
do I have to resume the process additionally to starting the task?
because when a method of my SFSB is called from the jpdl the injection works fine.
but not from my.xhtml
using Seam 1.2.1GA