commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject Re: [Jelly] Invoking methods (was: WhileTag)
Date Mon, 07 Oct 2002 16:23:30 GMT
From: "Robert" <rmcintosh@bull-enterprises.com>
> That clears it up for me, thanks James. One quick question, can the
> parameter of a method call be a variable in the context? Using your
> example:
> ${plantViewRemote.foo(a, b, 123, 'hello')}
>
> I'm guessing/assuming/hoping that the 'a' and 'b' can be variables in
> the JellyContext, while 'hello' in this case is a static parameter?

Yes. a and b are vairables in the JellyContext, 123 is a number and 'hello'
is a String. (Strings can use ' or " to encode themselves). Its actually
Jexl that does all the magic here.

James
-------
http://radio.weblogs.com/0112098/

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message