commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <rahul.akol...@gmail.com>
Subject Re: [scxml] null as return value from a method
Date Fri, 14 Jul 2006 06:34:36 GMT
On 7/3/06, Nestor Urquiza <nestoru@yahoo.com> wrote:
> Hello fellas,
> Seems like the return value from methods called from
> the SCXML file must be String right? I am asking
> because of the fact that the below fails if the method
> createContentRequestTr returns null.
>
<snip/>

It doesn't have to evaluate to String. It can be whatever
org.apache.commons.jexl.Expression#evaluate(Context) returns.

What is the failure? (sorry, I'm not on a dev box to try this ATM).

-Rahul


> <n:var name="parentTrId"
> expr="userProfile.createContentRequestTr(
> UserProfileReq, askedContent, askedMkName )"/>
>
> Thanks!
>

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


Mime
View raw message