On Sat, Jul 31, 2010 at 8:44 AM, Jacob Beard <jbea...@cs.mcgill.ca> wrote:
> On Sat, 2010-07-31 at 15:57 +0800, Xun Long Gui wrote:
>
>
>> >
>> > 3) There seems to be no way to have executable content on a transition.  Is
>> > this under development?
>> >
>> I do not find any executable content on a transition in W3C's SCXML
>> specification recommendtaion, so i am not clear what you mean.
>>
>
>
> In http://www.w3.org/TR/scxml/#N102C2
> Immediate children of <transition> above are executable content that is
> run after the <onexit> handler for this state and before the <onentry>
> handler in the target state. See 3.12 Executable Content
>
<snip/>

Here is a simple example from the canonical microwave state machine [1]

  <transition event="time" target="cooking">
      <assign name="timer" expr="timer + 1"/>
  </transition>

So it should be possible to generate such from the plugin.

-Rahul

[1] 
http://svn.apache.org/repos/asf/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/env/jexl/microwave-02.xml


> Jake
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to