You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Fabrizio Morbini <fm...@gmail.com> on 2010/07/24 00:28:55 UTC

[scxml] send and param children

Hi, is the param child of the send element supported?

i added the following in the onentry of a node but got no parser debug
messages while loading the scxml file and the parameter doesn't seem
to be added to the params argument of the dispatcher's send method
(though the event is sent correctly).

<send event="test" namelist="var1" target="&#039;dispatcher&#039;"
type="&#039;testType&#039;">
   <param expr="&#039;yes&#039;" name="var2"></param>
</send>


thanks,
fabrizio.

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


Re: [scxml] send and param children

Posted by Rahul Akolkar <ra...@gmail.com>.
On Fri, Jul 23, 2010 at 6:28 PM, Fabrizio Morbini <fm...@gmail.com> wrote:
> Hi, is the param child of the send element supported?
>
> i added the following in the onentry of a node but got no parser debug
> messages while loading the scxml file and the parameter doesn't seem
> to be added to the params argument of the dispatcher's send method
> (though the event is sent correctly).
>
<snip/>

No, <param> children of <send> are not yet implemented. You may open a
JIRA issue as a reminder (with or without a patch to fix).

Ofcourse, until its implemented, the namelist attribute will need to
be used for all send parameters.

-Rahul



> <send event="test" namelist="var1" target="&#039;dispatcher&#039;"
> type="&#039;testType&#039;">
>   <param expr="&#039;yes&#039;" name="var2"></param>
> </send>
>
>
> thanks,
> fabrizio.
>

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