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:[email protected]] 
Sent: 19 October 2010 10:02
To: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to