[jboss-user] [JBoss jBPM] - [JBPM process xml] java method argument problem
patriarch24
do-not-reply at jboss.com
Fri May 22 09:37:27 EDT 2009
Hi all,
I have some trouble using a java task :
| <java name="some java action" class="some.package.JavaAction"
| method="action" >
| <field name="intField">
| <int value="1" />
| </field>
| <arg>
| <object class="some.package.Arg" init="#{unit}" />
| </arg>
| <transition to="wait2" />
| </java>
|
I don't know how to pass the variable unit, stored in the execution context, to the method action of JavaAction, taking one parameter of its type. This xml leads to an empty (default constructed) Arg object.
Thanks for any help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232731#4232731
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232731
More information about the jboss-user
mailing list