commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert" <rmcint...@bull-enterprises.com>
Subject RE: [Jelly] Invoking methods (was: WhileTag)
Date Mon, 07 Oct 2002 16:36:59 GMT
Thanks again James and Bob :-)

- Rober

-----Original Message-----
From: James Strachan [mailto:james_strachan@yahoo.co.uk] 
Sent: Monday, October 07, 2002 11:24 AM
To: Jakarta Commons Developers List
Subject: Re: [Jelly] Invoking methods (was: WhileTag)

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>



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