On Wed, Jun 8, 2011 at 4:31 AM, Artem Vovk <vovk.ar...@googlemail.com> wrote:
> Hi,
>
>   I'm trying to create and send JEXL map, I wrote:
>
>  <cs:var name="one" expr="{ 'test' : 2}"/>
>  <send event="'event1'" target="receiver" targetType="x-ajax"
> namelist="one"/>
>
>  But SCXML interpreter shows an exception :
>  WARNUNG: EXPRESSION_ERROR (eval('{ 'test' : 2}'):Lexical error at line 1,
> column 10.  Encountered: ":" (58), after : ""):
>  What is wrong with this syntax?
>
<snip/>

Its not JEXL 1.x syntax, which is default. JEXL 2.x syntax will
require a suitable Evaluator/Context implementation. You can either
provide one yourself or try the one attached to this ticket [1].

-Rahul

[1] https://issues.apache.org/jira/browse/SCXML-114

>
> Cheers Artem
>

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

Reply via email to