I'm surprised Tapestry didn't complain when you have an annotation @Property
on the item and also a matching explicit getter.  In the .tml I think you
should use distinct naming for the source and value arguments as the
behavior might not be what you expect otherwise (T5 is case insensitive in
this area?).  Why don't you try:


.java
@Property
private TableSource source;
@Property
private List<TableSource> sources;
**no explicit get methods**


.tml
<t:loop source="Sources" value="source" >
          {source.attribute}
</t:loop>

...where attribute is a property with a public getter on the TableSource
class.

Regards,
Jim.

-----Original 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<TableClass>.


@Property
private TableSource source;


public List<TableClass> getSource(){
     return List<TableClass>;
}

<t:loop source="Source" value="source" >
          {$source.value}
</t:loop> 


That is my problem...


-- 
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-Customize-Returned-List-tp3218486p3
218709.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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to