You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jaan Tark <ja...@mail.ee> on 2007/05/16 11:52:53 UTC

expression evaluation, injection

hi

in a jsp file:
<s:property value="index"/>
<s:property value="#session.mydata.myarray[...?...].textfield"/>

how can i inject the
index' value to 'myarray' index


rgds

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


Re: expression evaluation, injection

Posted by Jaan Tark <ja...@mail.ee>.
my question, my answer :)

made a mistake by trying to escape ...

<s:property value="#session.mydata.myarray[index].textfield"/>


rgds

On 16.05.2007 12:52, Jaan Tark wrote:
> hi
>
> in a jsp file:
> <s:property value="index"/>
> <s:property value="#session.mydata.myarray[...?...].textfield"/>
>
> how can i inject the
> index' value to 'myarray' index
>
>
> rgds
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


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