commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Scarozza <xan.sc...@gmail.com>
Subject Re: [scxml] there is a working example?
Date Tue, 22 May 2012 08:35:45 GMT
so at this moment we cant use EL or any other system to access
directly to var in datamodel. right?
(for any version 0.9, 0.10 and 1.0)

bye


2012/5/22 Jacob Beard <jbeard4@cs.mcgill.ca>:
> Regarding project status, see this thread posted last week:
> http://mail-archives.apache.org/mod_mbox/commons-dev/201205.mbox/browser
>
> Jake
>
> On Mon, May 21, 2012 at 5:15 PM, Alessandro Scarozza
> <xan.scale@gmail.com> wrote:
>> first of all, THZ
>>
>> last stable release are 0.9
>> there is also 0.10 and 1.0
>> whis is the more feature version?
>>
>> second question: this project are alive? there is anyone that commit
>> for commons SCXML?
>>
>> bye
>>
>>
>>
>> 2012/5/21 Jacob Beard <jbeard4@cs.mcgill.ca>:
>>> Hi,
>>>
>>> Sorry, I don't have enough experience with Commons SCXML to answer that
>>> question.
>>>
>>> I mentioned the <script> tag, because in the examples in the SCXML spec,
>>> variables in the datamodel are exposed as local variables to the scripting
>>> context which executes the contents of SCXML nodes with executable content,
>>> such as @expr, @cond and <script>. In the SCXML spec, JavaScript is used
as
>>> the scripting language, but I think SCXML Commons allows other scripting
>>> languages, such as EL. When non-JavaScript scripting languages are used,
>>> it's less clear how the data model is exposed to the script context, and
>>> this is somewhat implementation-dependent as well, which is why I suggested
>>> a solution in which JavaScript is used as the scripting language. It seems
>>> Commons SCXML may support using JavaScript as scripting language in the J6
>>> branch.
>>>
>>> That's about the extent of my knowledge on this subject.
>>>
>>> Cheers,
>>>
>>> Jake
>>>
>>> On Mon, May 21, 2012 at 1:47 PM, Alessandro Scarozza <xan.scale@gmail.com>wrote:
>>>
>>>> i dont need scripts, i need to access to variables directly
>>>>
>>>> <data id="oneValue" expr="0"></data>
>>>>  <transition event="alfa" cond= "oneValue ===  0" target="two">
>>>> </transition>
>>>>
>>>> there is some indication in homepage but there is no working example
>>>> i need to include some EL library? yes? no? which java code i need to
>>>> use var directly?
>>>>
>>>> PS my Working Group is working to an application that reading xml
>>>> generate java application that use commons SCXML whith gui for
>>>> navigate automatically statechart
>>>>
>>>>
>>>>
>>>>
>>>> 2012/5/21 Alessandro Scarozza <xan.scale@gmail.com>:
>>>> > sure but for my exam i must extend fuctionality of Commons
>>>> >
>>>> >
>>>> >
>>>> > 2012/5/21 Jacob Beard <jbeard4@cs.mcgill.ca>:
>>>> >> Hi,
>>>> >>
>>>> >> Just to be clear, SCXML Commons and SCION are both implementations
of
>>>> the
>>>> >> SCXML specification, so you could also use SCION to develop SCXML.
>>>> Because
>>>> >> SCION is written in JavaScript, scripting is trivial.
>>>> >>
>>>> >> Cheers,
>>>> >>
>>>> >> Jake
>>>> >>
>>>> >>
>>>> >> On Mon, May 21, 2012 at 12:19 PM, Alessandro Scarozza <
>>>> xan.scale@gmail.com>
>>>> >> wrote:
>>>> >>>
>>>> >>> sorry but i need to use SCXML for university
>>>> >>>
>>>> >>> I explain better my problem in ML
>>>> >>>
>>>> >>> thz a lot
>>>> >>>
>>>> >>>
>>>> >>> 2012/5/21 Jacob Beard <jbeard4@cs.mcgill.ca>:
>>>> >>> > Hi,
>>>> >>> >
>>>> >>> > I'm replying off-list, because my answer is not related
to the SCXML
>>>> >>> > Commons implementation of SCXML.
>>>> >>> >
>>>> >>> > There are a few user interface-related SCXML examples described
here:
>>>> >>> > https://github.com/jbeard4/SCION
>>>> >>> >
>>>> >>> > They are hosted here: https://github.com/jbeard4/scion-demos
>>>> >>> >
>>>> >>> > There are many test cases here which are used for automated
testing:
>>>> >>> > https://github.com/jbeard4/scxml-test-framework
>>>> >>> >
>>>> >>> > These examples and test cases are designed to be run under
SCION,
>>>> >>> > which is an SCXML implementation in JavaScript. It is possible
to run
>>>> >>> > SCION under Java via Rhino, although I still need to write
>>>> >>> > documentation describing this.
>>>> >>> >
>>>> >>> > If you have any questions, please don't hesitate to ask.
Cheers,
>>>> >>> >
>>>> >>> > Jake
>>>> >>> >
>>>> >>> > On Sun, May 20, 2012 at 4:13 PM, Alessandro Scarozza
>>>> >>> > <xan.scale@gmail.com> wrote:
>>>> >>> >> hi to all,
>>>> >>> >>
>>>> >>> >> i need a full working example for SCXML, in particular
with
>>>> evalutator
>>>> >>> >> online i just find stopwatch, but i need a more complex
example (xml
>>>> >>> >> and java)
>>>> >>> >>
>>>> >>> >> anyone can help me?
>>>> >>> >>
>>>> >>> >>
>>>> >>> >> thz
>>>> >>> >>
>>>> >>> >>
>>>> >>> >>
>>>> >>> >> --
>>>> >>> >> Alessandro Scarozza
>>>> >>> >> http://www.google.com/profiles/xan.scale
>>>> >>> >>
>>>> >>> >>
>>>> ---------------------------------------------------------------------
>>>> >>> >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>>>> >>> >> For additional commands, e-mail: user-help@commons.apache.org
>>>> >>> >>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> --
>>>> >>> Alessandro Scarozza
>>>> >>> http://www.google.com/profiles/xan.scale
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Alessandro Scarozza
>>>> > http://www.google.com/profiles/xan.scale
>>>>
>>>>
>>>>
>>>> --
>>>> Alessandro Scarozza
>>>> http://www.google.com/profiles/xan.scale
>>>>
>>
>>
>>
>> --
>> Alessandro Scarozza
>> http://www.google.com/profiles/xan.scale
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>



-- 
Alessandro Scarozza
http://www.google.com/profiles/xan.scale

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


Mime
View raw message