weijia / trimpath

Automatically exported from code.google.com/p/trimpath
0 stars 0 forks source link

array access #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I have an array of arrays...
2.
3.

What is the expected output? What do you see instead?

I would like to do:

{for x in workflowlist}
   ${x[0]} 
{/for}

...maybe this works normally, it is the jsp EL stuff getting in the way...

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by carlemueller on 25 Apr 2008 at 12:11

GoogleCodeExporter commented 8 years ago
I found a workaround, it was JSP-EL 2.0 f'ing with me. Do this in JSPs:

$<%="{x[0]}"%>

Mwahahahahah. Scriptlets to the rescue!

Original comment by carlemueller on 25 Apr 2008 at 12:16