No you don't need a getter/setter for the index value in your class (unless you have a pure class with no .page spec?) ...If you just define the index property in the .page spec file tapestry will make it "just work" for you. (aka add the getter/setters for you automatically at runtime)
On 1/26/06, Aj Gregory <[EMAIL PROTECTED]> wrote: > > but then you have to create a get/setIndex() in your java class (right?) > which I wanted to avoid since I don't need to access the value in the > class just the html... > > -Aj > > Chris Chiappone wrote: > > I believe the @For has that ie. <span jwcid="@For" index=ognl:index" > .../> > > > > ~chris > > > > On 1/26/06, Aj Gregory <[EMAIL PROTECTED]> wrote: > > > >> Is there a way to specify some kind of temporary variable in the index > >> parameter of the For component so I can pass it to the components > inside > >> the for loop without declaring the variable in the backing page class? > >> > >> -Aj > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > > -- > > ~chris > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
