commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nestor Urquiza <>
Subject Re: [scxml] adding an xml to the datamodel
Date Sun, 30 Apr 2006 05:39:47 GMT
I finally got it ;-) and you said it already, the
datamodel is there in memory holding everything, not
only the special <datamodel> tag defined in the scxml
specs but also the context attached to the executor.

So I was missing two lines in my addDataToModel()

Node node = d.getNode();
rootCtx.set("bubp", node);

then I will answer my question:

Given a settings file:

<client clientId="mk1" clientPswd="passmk1"

The condition to test if appType is equal to SP using
jexl is:

<n:if cond="Data(bubp, 'client/@appType') eq 'SP'">

Thanks both of you guys!,

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message