Hi, Why not do it in Java?
public String getLabel() { if (==1) { return "OK"; } if (==2) { return "Cancel"; } } .tml ${label} ----- Original Message ----- From: "ael" <alan-lua...@dash.com.ph> To: <users@tapestry.apache.org> Sent: Tuesday, October 19, 2010 12:09 PM Subject: T5 Customize Returned List. > > Hello everyone i have a List which is returned from a Database. Then i want > to customize its returned value. > Is that possible? > > > > <t:loop source="Source" value="source" > > {$source.value} > </t:loop> > > > > Ex. {$source.value} if value == 1 it will display OK if value == 2 it will > display Cancel. > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-Customize-Returned-List-tp3218486p3218486.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >