You have to use the evaluator. evaluator = scInstance.getEvaluator(); ctx = scInstance.getRootContext();
Object o = evaluator.eval(ctx, NameOfValueInDataModel); Jocke 2010/6/17 Jorge Moratinos <[email protected]> > > > > > > > > > > Hi! > > I`ve a problem with the SCXML, i use custom actions, and everything is > fine, but, if i have to insert a data from the model data i had generated > with the next code line: > > > > <cs:Myfunction valueA="NameOfValueInDataModel"/> > > > > NameOfValueDataModel contains the value passed at payload in one > transition. After the execution of this line, the value of valueA in my > class are the string "NameOfValueInDataModel", not the value contained at > context variable. > > > > Please help me! > > > > Thanks > > > _________________________________________________________________ > Los cochazos de los famosos Patrick Dempsey, Tom Cruise o Michael Douglas > presumen de automóvil > http://motor.es.msn.com/coches/galeria.aspx?cp-documentid=152634169 >
