Re: Binding an array and accessing elements of that array in a template

2012-09-07 Thread RJB III
You guys were right...[of course]... Thanks a million. Here's my abbreviated final solution: JAVA: @Property private Integer index= 0; @Persist @Property Integer year; @Property private Integer[] funDays = new Integer[13]; public Integer getFunDay() {

Re: Binding an array and accessing elements of that array in a template

2012-09-04 Thread Michael Prescott
Also, a Loop will let you do something like: With a property: @Property private int /* or whatever */ monthlyBill; Michael On 4 September 2012 16:52, Russell John-Baptiste wrote: > Sorry if this was answered or shown else where but i'm not seeing it. > > I have an array called MonthlyBi

Re: Binding an array and accessing elements of that array in a template

2012-09-04 Thread trsvax
If you make a method in your page class public String monthlyBill(Integer index) { return monthlyBill[index]; } I think you can this in the tml file -- View this message in context: http://tapestry.1045711.n5.nabble.com/Binding-an-array-and-accessing-elements-of-that-array-in-a-temp