Re: [SCXML] Transition/Var question

2009-03-12 Thread Rahul Akolkar
On Thu, Mar 12, 2009 at 11:01 AM, Linda Erlenhov linda.erlen...@gmail.com wrote: Hello again. I have made som improvements in my code, but now new intresting and funny things have happened instead. I have this very simple file: -- scxml

Re: [SCXML] Transition/Var question

2009-03-02 Thread Rahul Akolkar
On Mon, Mar 2, 2009 at 5:07 AM, Linda Erlenhov linda.erlen...@gmail.com wrote: Hello Yes this is what I want to do, but I don´t understand how (1) is done. With the getEngine you get the rootContext, The rootContext describes ALL var:s in the StateMachine as I understand, snip/ No, just the

[SCXML] Transition/Var question

2009-02-27 Thread Linda Erlenhov
Hello I have in my Transitions added var on the form: transition cond=${cancelOutcome eq 'success'} target=editExit varname=outcome expr=cancel/ /transition (This example is taken directly from the SCXML specification) In my statemachine (a

Re: [SCXML] Transition/Var question

2009-02-27 Thread Linda Erlenhov
Hello again! snip followed by introspection like so: getEngine().getRootContext().get(outcome); /snip The problem with that approach is that i won´t know the names of my var:s. The idéa is: I´m building an graphical editor for Statecharts, where you can model a statemachine with some