You are right, JEXL 1.1 supports it.
Thanks a bunch,
-Nestor
--- Rahul Akolkar <[EMAIL PROTECTED]> wrote:
> On 2/9/07, Nestor Urquiza <[EMAIL PROTECTED]> wrote:
> > 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 );
> >
> <snip/>
>
> I'd expect static invocation to work similarly (will
> need JEXL 1.1), i.e. if:
>
> rootCtx.set("System", System.class);
>
> then:
>
> <var name="currentTimeMillis"
> expr="System.currentTimeMillis()" />
>
> -Rahul
>
>
> > Thanks for the help in advance,
> >
> > -Nestor
> >
> >
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]