Re: table row class value dependent on iterated object

2006-12-06 Thread Barry Books
I have this bean which takes an object and a primary key and returns even/odd and selected. The ognl to call it is below public class EvenOddSelected { private boolean even = true; public String getNext(MillId object, MillId selected) { String result = even ? "even"

Re: table row class value dependent on iterated object

2006-12-05 Thread Gurps
; >> It's almost like i need to set a value inside the evenOdd class such that >> when the loop calls getRowClass() it is derived from the object being >> iterated on (album.status). It is the status that i wish to show? >> >> I have seen the source to the stan

Re: table row class value dependent on iterated object

2006-12-05 Thread Jesse Kuhnert
s getRowClass() it is derived from the object being iterated on (album.status). It is the status that i wish to show? I have seen the source to the standard EvenOdd but how do I pass in a value to it? -- View this message in context: http://www.nabble.com/table-row-class-value-dependent-on-iterated-

table row class value dependent on iterated object

2006-12-05 Thread Gurps
dd but how do I pass in a value to it? -- View this message in context: http://www.nabble.com/table-row-class-value-dependent-on-iterated-object-tf2764675.html#a7709035 Sent from the Tapestry - User mailing list archive at Nabble.com. -