You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Rich Baldwin <Ri...@noaa.gov> on 2002/11/18 19:42:21 UTC

Use of velocityCounts

Thought I had the use of velocityCounts figured out.  Can someone tell
me what's wrong?  I am replacing my webmacro indexing attribute w/
velocity code.

<select name="startMonth">
## #foreach( $month in $months indexing $i)
#foreach( $month in $months)
<option value="$velocityCounts">$month
#end
</select>

Thanks, Rich



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Use of velocityCounts

Posted by Rich Baldwin <Ri...@noaa.gov>.
Never mind $velocityCount.

Rich Baldwin wrote:

> Thought I had the use of velocityCounts figured out.  Can someone tell
> me what's wrong?  I am replacing my webmacro indexing attribute w/
> velocity code.
>
> <select name="startMonth">
> ## #foreach( $month in $months indexing $i)
> #foreach( $month in $months)
> <option value="$velocityCounts">$month
> #end
> </select>
>
> Thanks, Rich
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>