Sorry if I was not clear enough. I do not need to get expression. I need to set 
it. So instead of getExpression I need something like setExpression. I could 
use public constructor of DecisionCondition maybe but when I do something like 
this:

  | Decision decision1 = (Decision) procDef.getNode("decision1");
  | decision1.getDecisionConditions().add(new DecisionCondition("one", 
"#{money==\"one\"}"));
  | 
I get NullPointerException cause getDecisionConditions() returns null and not 
empty list.

Another thing is Decision class has decisionExpression field

  | public class Decision extends Node implements Parsable {
  |     ...  
  |     String decisionExpression = null;
  | 
  | 
And again there is no way to set it programmaticaly.

Any suggestions?

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to