[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-user
Subject:    Re: [scxml] JEXL map in scxml
From:       Artem Vovk <vovk.artem () googlemail ! com>
Date:       2011-06-11 13:22:32
Message-ID: 666922D8-0A48-4A74-A13E-6630AEE3B638 () gmail ! com
[Download RAW message or body]

Ok, thanks!

Cheers Artem
On Jun 11, 2011, at 2:39 PM, Rahul Akolkar wrote:

> On Sat, Jun 11, 2011 at 7:48 AM, Artem Vovk <vovk.artem@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.artem@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-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic