Also, a Loop will let you do something like:

<t:loop source="MonthlyBills" value="monthlyBill">
  <t:textfield size="3" value="monthlyBill"/>
</t:loop>

With a property:

@Property
private int /* or whatever */ monthlyBill;

Michael

On 4 September 2012 16:52, Russell John-Baptiste <rjb...@yahoo.com> wrote:

> Sorry if this was answered or shown else where but i'm not seeing it.
>
> I have an array called MonthlyBills[12] in my page class.
>
> In my template, how can I reference each index?
>
> <t:textfield t:id="jan" size="3" value="MonthlyBills[0]"/>
> <t:textfield t:id="feb" size="3" value="MonthlyBills[1]"/>
> <t:textfield t:id="mar" size="3" value="MonthlyBills[2]"/>
> ...etc.
>
> does not work.
>
> Cheers.

Reply via email to