On Mon, May 24, 2010 at 5:23 AM, Andrew Mansfield <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to