velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Chodakowski" <jas...@hyperworx.com>
Subject Template not rendering
Date Sun, 03 Apr 2005 12:51:54 GMT
Any thoughts as to why this template snippet won't render? CatMap is a
java.util.HashMap - should it be a Hashtable instead?

Thoughts?

Thanks,

J --

#foreach($Category in $CatMap.keysSet())
#set($SKUS = $CatMap.get($Category))
<P><B>${Category.Name}</B></P>
<!-- Category ${Category.Name} -->
#foreach($SKU in $SKUS)
<a href="/foo?do=snot&id=${SKU.Id}">${SKU.Description}</a><BR>
#end
<!-- End Category ${Category.Name} -->
#end

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message