You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by GF <ga...@gmail.com> on 2008/03/17 08:29:46 UTC

[S2] variable of variable in OGNL?

I have something like
%{#application.one.two.three}

is it possible to do something like:

%{#application.%{stringVariable}.two.three}

Thanks.

Re: [S2] variable of variable in OGNL?

Posted by Laurie Harper <la...@holoweb.net>.
GF wrote:
> I have something like
> %{#application.one.two.three}
> 
> is it possible to do something like:
> 
> %{#application.%{stringVariable}.two.three}

Perhaps something like %{#application[stringVariable].two.three}?

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org