Hi Ate, Woonsan, 

Is there a way to access nested child actions from a parent custom action in 
scxml? 

In version scxml-2.0-M1 I could do this in the onexecute of a custom action: 

for (Action action : getParent().getActions()) {
       if (action instanceof MyChildAction) {
              // do things with child action


In M1 the Executable.getActions() would list all actions, also the nested child 
actions contained in a parent action.  In the most recent code the 
Executable.getActions() only lists the parent action, NOT it's children. 


I want to do something like this: 

<onentry>
         <ntd:parentAction>
                    <ntd:childAction ... />
                    <ntd:childAction .../>
         </ntd:parentAction>
</onentry>

So how to access the childActions from the parentAction's onExecute? 


thanks in advance, 

Rinke


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to