commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <rahul.akol...@gmail.com>
Subject Re: [SCXML] - Conditional Loops
Date Mon, 24 May 2010 13:43:09 GMT
On Mon, May 24, 2010 at 5:23 AM, Andrew Mansfield <AMansfie@globeop.com> wrote:
> Hi,
>
> Is there any way we can model conditional loops in an scxml document ?
>
> Preferably I would like to be able to use the next object iteration from
> the super state as a var of a sub state nested loop.
>
<snip/>

The W3C Working Group is considering the addition of an iterative
construct in the next draft, <scxml:foreach>, for similar
requirements.

ATM, one option would be to write a custom action [1] for this. See
implementation of standard action <scxml:if> to get started on such an
implementation.

-Rahul

[1] http://commons.apache.org/scxml/guide/custom-actions.html


> Regards,
> Andy
>
>

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


Mime
View raw message