[scxml] send tag doesn't work with delay

2012-12-14 Thread Riccardo Manoni
I edited stopwatch.xml like below, but the send tag seems doesn't work. Once entered in "paused" state, it doesn't move to "stop" state as it should (2 seconds after). Only if i remove the tag "delay" or if i put delay="'0'" than the state "paused" move to "stop" (but immediatly). http://www.w3.o

Re: [SCXML] updte data model

2012-12-12 Thread Riccardo Manoni
[News] I'm here again to say you that now i understoond how to get/set datamodel from java method (the main question), so the last unanswered question now is why the "delay" tag don't work to me. Il giorno 13/dic/2012, alle ore 01:16, Riccardo Manoni ha scritto: > Unf

RE: [SCXML] updte data model

2012-12-12 Thread Riccardo Manoni
at why 'delay' isn't working. - Jim -Original Message- From: Riccardo Manoni [mailto:arduinowifishi...@gmail.com] Sent: Wednesday, December 12, 2012 5:28 PM To: user@commons.apache.org Subject: RE: [SCXML] update data model Removing the "delay", the "send&qu

RE: [SCXML] update data model

2012-12-12 Thread Riccardo Manoni
Removing the "delay", the "send" work. The state change immediatly from "paused" to "stopped". So now we know that the problem is the "delay". Any help will be greatly appreciated. - To unsubscribe, e-mail: user-unsubscr...@common

RE: [scxml] update data model

2012-12-12 Thread Riccardo Manoni
Thanks for the reply, Jim. I edited stopwatch.xml like below, but the send tag seems don't work. Once entered in "paused" state, it don't move to "stop" state as it should. http://www.w3.org/2005/07/scxml"; version="1.0" initialstate="reset">

[scxml] update data model

2012-12-12 Thread Riccardo Manoni
Hi all, i'm new to scxml so here i am with a (maybe dumb..) question: is it possible to update the datamodel or "raise" an event from a java method? For example, in the StopWatch use case, can i force the life cycle to go in "reset" state when 10sec elapsed? My intention is let the data model kno