This is probably more for velocity-users, but... :)

Let's say I add an String array to the context for a page.  I can
easily do something like this:

<ol>
  #foreach ($item in $list)
    <li>$item</li>
  #end
</ol>

But, I can't do any of these?

$list.length
$list[0]
$list.get(0)
$list.elementAt(0)


I thought I read in the documentation that all lists in VTL (Vectors,
ArrayLists, etc...) could operate with the get(int) method like in
List, but I guess that doesn't apply to arrays?

Thanks,
Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to