From: "Brett Porter" <[EMAIL PROTECTED]>
> Hi,
>
> I was wondering in what way this might be possible:
>
> <j:set var="filename" value="${ ${fileProperty} }" />
>
> fileProperty is "some.file.property", obtained by tokenizing a string
> filename = ${some.file.property}
>
> Is there any way to do this? I'm using this in Maven.
One way is to use the property name variable to lookup the variable. e.g.
<j:set var="varName" value="some.file.property"/>
<j:set var="filename" value="${context.getVariable(varName)}"/>
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>