Re: T5 Customize Returned List.

2010-10-19 Thread ael
Ahhh Now i understand i can access the source field using getter in the page class Therefore i don't need to use property anymore. I will try it. Thanks Everyone. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Customize-Returned-List-tp3218486p3218850.html

Re: T5 Customize Returned List.

2010-10-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Oct 2010 08:08:07 -0200, ael wrote: Sorry i will made it clear. Page Class @Property private TableSource sourceA; public List getSource(){ return List; } Template {$sourceA.value} public String getValue() { if (sourceA.value == 1) { retur

RE: T5 Customize Returned List.

2010-10-19 Thread ael
customize the value. Ex. {$sourceA.value} output is "1" then i will make it "OK". -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Customize-Returned-List-tp3218486p3218778.html Sent from the Tapestry - User mailing list a

RE: T5 Customize Returned List.

2010-10-19 Thread Jim O'Callaghan
riginal Message- From: ael [mailto:alan-lua...@dash.com.ph] Sent: 19 October 2010 10:02 To: users@tapestry.apache.org Subject: Re: T5 Customize Returned List. Hello Hmm it is returned as a List. @Property private TableSource source; public List getSource(){ return List; }

Re: T5 Customize Returned List.

2010-10-19 Thread ningdh
Hi, Don't quiet understand your problem. Do you mean object type casting? - Original Message - From: "ael" To: Sent: Tuesday, October 19, 2010 5:01 PM Subject: Re: T5 Customize Returned List. > > Hello > > Hmm it is returned as a List. > >

Re: T5 Customize Returned List.

2010-10-19 Thread ael
Hello Hmm it is returned as a List. @Property private TableSource source; public List getSource(){ return List; } {$source.value} That is my problem... -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Customize-Returned-List

Re: T5 Customize Returned List.

2010-10-18 Thread ningdh
Hi, Why not do it in Java? public String getLabel() { if (==1) { return "OK"; } if (==2) { return "Cancel"; } } .tml ${label} - Original Message - From: "ael" To: Sent: Tuesday, October 19, 2010 12:09 PM Subject: T5 Customize Returned

T5 Customize Returned List.

2010-10-18 Thread ael
: 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