[scxml] Transition without changing a state

2011-06-18 Thread Artem Vovk
Hi, Is it a valid scxml expression in apache commons? 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. Cheers Artem

Re: [scxml] Transition without changing a state

2011-06-18 Thread Rahul Akolkar
On Sat, Jun 18, 2011 at 9:39 AM, Artem Vovk vovk.ar...@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

Re: [scxml] Transition without changing a state

2011-06-18 Thread Artem Vovk
I have already found a solution, for triggering i have used type TriggerEvent.SIGNAL_EVENT with it, it doesn't work, but if I use TriggerEvent.CALL_EVENT it works. In the description of TriggerEvent class I have found : Specific event types have been defined in reference to SCXML, where can I