Hi,
I am sorry I could not reply before. Then,
Using templating thru //state/@src is useful for
including reusable FSM as mean of whole states.
XInclude/XML Entities are useful for including chunks
of SCXML logic.
I am not sure how the first works but seems like
commons-scxml would parse just
Hi Rahul,
While java can be used of course and I use it for a
lot of helper methods like the one you propose for the
given example, it breaks the needed separation of
concerns for my case.
The rule about the name of the pet can change tomorrow
when a new parameter is added to the equation, let
Another interesting tag is script which eventually
would allow to accomplish any complex calculations and
of course supports functions because it uses
ECMAScript however I read at w3c:
script is included for reasons of backward
compatability with CCXML. It may be removed in future
versions of
On 1/5/07, Nestor Urquiza [EMAIL PROTECTED] wrote:
Another interesting tag is script which eventually
would allow to accomplish any complex calculations and
of course supports functions because it uses
ECMAScript however I read at w3c:
script is included for reasons of backward
compatability
I'll go for Entities and in the meanwhile I'll
request/suggest to SCXML spec to include at least one
way for code reuse thru functions/templates.
Thanks,
-Nestor
--- Rahul Akolkar [EMAIL PROTECTED] wrote:
On 1/5/07, Nestor Urquiza [EMAIL PROTECTED] wrote:
Hi Rahul,
While java can be
Hello guys,
I need to apply DRY ;-) so I do not want to be
duplicating SCXML code that is to be included in many
different states.
Just wondering about the options we have here:
1)XInclude
2)A special tag from scxml???
3) Any other idea?
Thanks,
-Nestor
On 11/1/06, Nestor Urquiza [EMAIL PROTECTED] wrote:
Hello guys,
I need to apply DRY ;-) so I do not want to be
duplicating SCXML code that is to be included in many
different states.
Just wondering about the options we have here:
1)XInclude
2)A special tag from scxml???
3) Any other idea?
On 11/1/06, Craig McClanahan [EMAIL PROTECTED] wrote:
On 11/1/06, Nestor Urquiza [EMAIL PROTECTED] wrote:
Hello guys,
I need to apply DRY ;-) so I do not want to be
duplicating SCXML code that is to be included in many
different states.
Just wondering about the options we have here: