[stringtemplate-interest] problem with first(attribute) expression when attribute is a list of hashes
Terence Parr
parrt at cs.usfca.edu
Wed Jan 23 18:09:53 PST 2008
On Dec 14, 2007, at 11:40 AM, matt at thataddress.com wrote:
>
> $first(list_attribute):{ $it.hash_member$ }$
>
> This approach resulted in an empty string (and I verified that the
> member I want to reference is in fact passed into the template). Is
> there some other way to do what I want, that I'm missing? I'm using
> StringTemplate 3.1b1.
Oh, and the reason for this one is that the result of first is in fact
a map, but then it sends out a stream of its values just like
$mymap$
Ter
More information about the stringtemplate-interest
mailing list