I'm trying to get a value from an array into a s:textbox element: it works if I take a hard coded index like:
<s:textarea value="%{languageHelper.myHauptuebbeschr[0]}" />
but when I try to use a dynamic index it doesn'T work:
<s:textarea value="%{languageHelper.myHauptuebbeschr[attr.number]}" />
Number is not empty, I can get the value via
<s:property value="%{#attr.number}" />
So how can I use the number variable as index for my array?