On Sat, Jun 11, 2011 at 7:48 AM, Artem Vovk <vovk.ar...@googlemail.com> wrote: > I have found under your link only some svn-diffs(?) files but not JEXL > Evaluator, can u provide a link with JEXL 2.0 Evaluator/Context > Thanks :) > <snip/>
You'd have to study and apply the diff as appropriate. I have what you have ATM, at some point it will be included in Commons SCXML. -Rahul > Cheers Artem > > On Jun 8, 2011, at 10:40 PM, Rahul Akolkar wrote: > >> 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