commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artem Vovk <vovk.ar...@googlemail.com>
Subject [scxml] JEXL map in scxml
Date Wed, 08 Jun 2011 08:31:19 GMT
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?


Cheers Artem

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message