On Dec 18, 2003, at 8:54 PM, Mike Kienenberger wrote:


I programmically converted over a bunch of webobjects templates into velocity
templates, and am now finding I need to remove the {}s around the #foreach
item variable.


1) #foreach (${item} in ${list})

2) #foreach ($item in $list)

Is there a practical reason why the first notation fails to populate $item?

I'm guessing it's purely a technical reason (doesn't get parsed properly,
maybe creates a variable named "{item}" instead).

technical reason == bug :)



-Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Geir Magnusson Jr                                   203-247-1713(m)
[EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to