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"
;
>> 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
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-
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.
-