Thanks jocke, Now is working!!


Jorge

El 17/06/2010, a las 10:02, jocke eriksson <[email protected]> escribió:

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to