This works as long as otherVar is not a number or empty, I believe..
On 10/24/05, Marc Attiyeh <[EMAIL PROTECTED]> wrote:
> All -
>
>
>
> I want to do something like this:
>
>
>
> <j:set var="foo" value="${bar.something.${othervar}.maven.rocks}"/>
>
>
>
> unfortunately, maven is kindly telling me this is not possible (via
> multiple stack traces). I searched around and found this:
>
>
>
> <j:set var="foo"
> value="${context.getVariable('bar.something.'+othervar+'.maven.rocks')}"
> />
>
>
>
> However, now I get multiple NumberFormatExceptions (maybe something to
> do with the plus sign?)
>
>
>
> Can anyone tell me how to nest an expression in another one? Thanks!
>
>
>
> -marc
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]