Thanks, Nathan, yes, I just googled the problem, found the bug (657),
got 1.6.2 (I had been using 1.6.1) and that took care of it.
Nathan Bubna wrote:
Which version of Velocity? $velocityHasNext doesn't work right in 1.6
and is absent in earlier versions. You should use 1.6.2.
On Tue, Mar 3
Which version of Velocity? $velocityHasNext doesn't work right in 1.6
and is absent in earlier versions. You should use 1.6.2.
On Tue, Mar 31, 2009 at 8:34 AM, Steve Cohen wrote:
> Given this macro, which will only be called with lists of size >=2 and whose
> members are Strings representing da
Given this macro, which will only be called with lists of size >=2 and
whose members are Strings representing dates
#if ( $list.size() == 2)
#foreach( $member in $list )#if( $velocityHasNext )${member}#else and
${member}#end#end
#else
#foreach( $member in $list )#if( $velocityHasNext )${member