Hi Chris, i'm not sure if it helps, but you can avoid parsing the same
file multiple times.
You can parse the scxml network once and save the SCXML object. Then
you can create many instances of SCXMLExecutor and set the network of
each of them to be the pre-parsed SCXML object (using the
setStateMa
Hi,
problem: i would like to assign to a variable, v1, the value of
another variable, v2, but the name "v2" is the result of an
expression. For example, assume you have an inspect event that should
assign to a predetermined variable the value of the variable whose
name is passed as payload to the
other two alternatives may be:
1) use the expr attribute of the log element.
2) create a custom action, e.g. "eval" that does just what you are asking.
On Fri, Jul 30, 2010 at 15:08, Christopher Dragert
wrote:
> Hello,
>
> I'm trying to find an elegant way to call a method from an object using
>
Hi, is the param child of the send element supported?
i added the following in the onentry of a node but got no parser debug
messages while loading the scxml file and the parameter doesn't seem
to be added to the params argument of the dispatcher's send method
(though the event is sent correctly).
Hi, we got the approval the release our visual editor i mentioned a
few weeks back. If you are interested in using/testing/contributing_to
it, it is available at: http://code.google.com/p/scxmlgui/
thanks,
fabrizio.
-
To unsubscr
Hi, concerning the wiki page:
http://wiki.apache.org/commons/SCXML/Tutorials/Templating
There the src attribute is given the value:
"accept-connection.scxml?call-id=incoming-line".
How is the parameter call-id used/accessed?
Would the same be possible also with xinclude?
thanks,
fabrizio.
-
Hi, i would appreciate if somebody could clarify the working of
templates as exemplified here:
http://wiki.apache.org/commons/SCXML/Tutorials/Templating
i tried the following scenario:
===file a.scxml:
http://www.w3.org/2005/07/scxml";>
=
problems caused by reusing the result of the parser.
thanks,
fabrizio.
On Wed, Jun 2, 2010 at 17:18, Rahul Akolkar wrote:
> On Wed, Jun 2, 2010 at 8:08 PM, Fabrizio Morbini wrote:
>> Hi, if we have the following case:
>> 2 scxml files: a.scxml and b.scxml
>> in a
Hi, if we have the following case:
2 scxml files: a.scxml and b.scxml
in a.scxml, 2 different nodes use the src attribute to source the
content from other 2 different nodes defined in b.scxml (using the
syntax src="b.scxml#node_i").
is the file b.scxml completely parsed for every instance of src
Hi, i'm using the src attribute to include external content (i haven't
yet spent time in figuring our how to use xinclude).
I load the initial scxml file using a url like "file:C:/path/file.scxml".
Inside file.scxml some node uses the src attribute set to (for
example) src="include1.scxml#node34".
Hi, i need to associate some executable action to each scxml state.
These executable actions need to access objects available at the
moment the scxml executor is started.
I looked at the following options:
1) event (btw, i haven't found this in the scxml standard, why is it
in Apache commons scxml?
tamap = {s1.entry=null}
>> DEBUG 10:14:23.135 [Thread-1 ] [SCXMLExecutor ]
>> Current States: [s5]
>>
>> here are the modified files:
>> =file a.scxml=
>>
>> http://www.w3.org/2005/07/scxml";
>> xmlns:cs="http://commons.apache.org/scxml";
>> version="1.0"
>>
On Thu, May 6, 2010 at 10:37, Rahul Akolkar wrote:
> Ah, too much cut and paste. Since this assignment isn't necessarily
> using a location expression, use:
>
>
>
> For details, see:
>
> http://commons.apache.org/scxml/guide/datamodel.html#assign
>
> Alternatively, the could be made to store X
=end of file b.scxml==========
thanks,
fabrizio.
On Thu, May 6, 2010 at 09:52, Rahul Akolkar wrote:
> On Thu, May 6, 2010 at 11:34 AM, Fabrizio Morbini wrote:
>> Hi, i'm experimenting with the src attribu
Hi, i'm experimenting with the src attribute to reuse fsm. I'm having
some trouble with returning a value from an included fsm to the
calling state.
I'm using this description at
http://shale.apache.org/shale-dialog-scxml/index.html, in particular
the section about subdialogs from which it seems p
15 matches
Mail list logo