[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    Re: [scxml-eclipse] User Feedback
From:       Rahul Akolkar <rahul.akolkar () gmail ! com>
Date:       2010-07-31 15:48:42
Message-ID: AANLkTikHYpp9DF586HSE0y1f=DG==tYJdNtFG76AcdXB () mail ! gmail ! com
[Download RAW message or body]

On Sat, Jul 31, 2010 at 8:44 AM, Jacob Beard <jbeard4@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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic