commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nestor Urquiza <nest...@yahoo.com>
Subject [SCXML] Using Static methods from JEXL
Date Fri, 09 Feb 2007 19:30:34 GMT
Hi guys,
Just wondering if someone was able to use from JEXL
something like:

<var name="foo" expr="MyClass.myStaticMethod()">


Right now I can do:
<var name="foo" expr="myInstance.myNonStaticMethod()">

given the fact that I previously have:
MyClass myInstance = new MyClass();
rootCtx.set("myinstance", myinstance );

Thanks for the help in advance,

-Nestor


 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

---------------------------------------------------------------------
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