commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <rahul.akol...@gmail.com>
Subject Re: [scxml] Transition without changing a state
Date Sat, 18 Jun 2011 16:53:14 GMT
On Sat, Jun 18, 2011 at 9:39 AM, Artem Vovk <vovk.artem@googlemail.com> wrote:
> Hi,
>
> Is it a valid scxml expression in apache commons?
>
<snip/>

If you mean transition, yes, target-less transitions are valid (a.k.a.
stay transitions).


> <transition event="internal" cond="_eventdata['name'] eq 'cancelclick'">
>        <send event="'send_event'" targettype="'outside'" namelist="cancel" />
> </transition>
>
> Because I trigger this event, but send does not works.
>
<snap/>

You should see the EventDispatcher#send() call if the transition is
indeed followed (event triggered and guard condition is true).

-Rahul


>
> Cheers Artem
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message