Re: [SCXML] Polling in datamodel

2009-05-11 Thread Linda Erlenhov
) { Node nodeValue = (Node) value; } scope.put(name, scope, value); 2009/5/5 Linda Erlenhov linda.erlen...@gmail.com Hello. I´m back with another thousand questions! Still with my datamodel like this: scxml version=1.0 initialstate=176

[SCXML] Polling in datamodel

2009-05-05 Thread Linda Erlenhov
Hello. I´m back with another thousand questions! Still with my datamodel like this: scxml version=1.0 initialstate=176 xmlns:cs= http://commons.apache.org/scxml; xmlns=http://www.w3.org/2005/07/scxml; datamodel data name=DynamicData Data_1 xmlns= id=1

Re: [SCXML] getting set datats in the datamodel

2009-04-23 Thread Linda Erlenhov
Hello again! This seems to work, since we now can see that data has changed. Unfortunately, we seem to have missed out an important part of the question. In addition to being notified when a data value is set, we also would like to be able to get/recieve the new data value aswell as the name (in

Re: [SCXML] getting set datats in the datamodel

2009-04-20 Thread Linda Erlenhov
Hello I think I´ve done some mixing between two things that doesn´t work together as I hoped it would. I have this Datamodel, the scxml document starts like this: scxml version=1.0 initialstate=INIT xmlns:cs= http://commons.apache.org/scxml;

Re: [SCXML] Timers in SCXML

2009-04-15 Thread Linda Erlenhov
to proceed, any idéas? Is there anything I might have forgotten in my java files since it doesn´t work there? best regards //Linda On Tue, Apr 14, 2009 at 9:11 PM, Rahul Akolkar rahul.akol...@gmail.comwrote: On Tue, Apr 14, 2009 at 8:19 AM, Linda Erlenhov linda.erlen...@gmail.com wrote: Hello

Re: [SCXML] Timers in SCXML

2009-04-14 Thread Linda Erlenhov
Hello! This may be a stupid question but: I have read through the code for the simple scheduler and I´m not sure i understand what happens. We have written a simple scxml for a small statechart containing two states with timers and used the simple scheduler as described in your previous e-mail.

Re: [SCXML] getting set datats in the datamodel

2009-04-06 Thread Linda Erlenhov
and generate the corresponding SCXML document. B.R. -- Armel 2009/3/31 Linda Erlenhov linda.erlen...@gmail.com Hello again! I have a problem with my datamodel. Or rather the fetching of datas that are used in the datamodel. I have my editor for building statemachines graphical

Re: [SCXML] getting set datats in the datamodel

2009-04-06 Thread Linda Erlenhov
Hello again! I´m not sure how to explain what I want to do. The task I have is to build an editor that you then can use to build simulations of applications. An application can be a cd-player for instance. What already exists is an editor for building GUI:s without coding (not build by me) and an

[SCXML] getting a state id.

2009-03-11 Thread Linda Erlenhov
Hello I´m back with sort of the same (but then again not) problem as I´ve asked previousley. It´s about fetching ID:s again. I have an SCXML file that looks on the form like this: ?xml version=1.0 encoding=ISO-8859-1? scxml id=runsim state id=176 initial transition event=1 cond=!1 target=0 var

[SCXML] more Evaluator/Context questions

2009-03-05 Thread Linda Erlenhov
Hello! This is my plan: My guards are boolean expressions and the boolean variables that the expression consists of are updated in onEntry/onExit. I use a listner for _when_ the update should be done. The trouble is that I´m not shure _where/how_ the updating is done. Since this should be done

[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

Re: [SCXML] Executor Questions

2009-02-19 Thread Linda Erlenhov
do with the context and evauator in my model, can I work around it somehow? best regards //Linda On Tue, Feb 17, 2009 at 1:52 PM, Linda Erlenhov linda.erlen...@gmail.comwrote: Hello I have just begun using the Apache SCXML and I have encountered a problem. This is what already is: I have