[stringtemplate-interest] listing attributes of elements in collection

Dieter Frej dieter_frej at gmx.net
Sun Jul 13 13:44:48 PDT 2008


Hi,

I have the following structure of data in Java:

class u
- List<inputColumns> inputColumns

class inputColumns
- String identifier

What I now actually want to do is to list the identifiers of the inputColumns separated by ", ". How can I do that? The most obvious version

$u.inputColumns.identifier; separator=", "$

throws an exception. Did anyone understand what I want to do? Is there a solution for this problem...

Thanks in advance

Daniel
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx


More information about the stringtemplate-interest mailing list