That could be the issue, I am inserting in the context the objects I want to expose to scxml and so if now the context depends on the state I must update the state context with my unique per session one.
You will understand that for a WEB Application (I am using SCXML as Controller) I need my session to be unique and I take care of areas of course to keep a namespace aware architecture. Now the question is could you paste here a snippet of code that will make the trick of exporting my unique context to each state the application reaches? Thanks, -Nestor --- Rahul Akolkar <[EMAIL PROTECTED]> wrote: > On 11/1/06, Nestor Urquiza <[EMAIL PROTECTED]> > wrote: > > Hi guys, > > I have been running now for 6 months my project > > without any update from svn. I decided to go for > the > > release today since I wanted to debug something. > > > > Something weird is happenning with jexl returning > > always "false" for any evaluation. > > > > With an example I have in my scxml: > > <n:transition event="SendPinReq" > > > cond="clientProfile.getCurrentApplication().getAppId() > > eq '2'" target="aIDLE2UPSENDb"/> > > > > This is used by: > > JexlEvaluator#evalCond(final Context ctx, final > String > > expr) > > > > where > > > expr="clientProfile.getCurrentApplication().getAppId() > > eq '2'" > > > > > > But that code does not get really evaluated and > > JexlEvaluator#evalCond(Context, String) returns > false. > > > <snip/> > > Can you post a small (but complete) document (or > better, JUnit test > case) that illustrates the issue you're seeing? That > will definitely > help. The namespace (below) looks OK. > > The other change made while in sandbox was that each > state has its own > context (though it can view variables in the parent > contexts, like > blocks in Java) -- previously there was a flat > context for the entire > document. > > Bearing that in mind, are the <var> declarations > visible to the > <transition>? If not, you'll need to move them up > along the ancestor > heirarchy to a visible location. > > -Rahul > > > > > > I did not give it a try but can it be the > namespace > > control that I read was recently added? I use > <n:... > > for all of my statements since I am using a custom > > schema based on the one w3c posted ... something > like: > > > > <n:scxml version="1.0" initialstate="IDLE" > > xmlns:n="http://www.w3.org/2005/07/scxml" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > xsi:schemaLocation="http://www.w3.org/2005/07/scxml > > http://pathtoserverhere/scxml.xsd"> > > > > Any help greatly appreciated. > > > > Thanks, > > > > -Nestor > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________________________________________________ Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster. (http://advision.webevents.yahoo.com/mailbeta) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
