velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkatesh Prasad Ranganath <comfortably007numb-pyt...@yahoo.com>
Subject Re: Irritating velocity problem (v 1.4)
Date Tue, 08 Jun 2004 05:59:44 GMT
Venkatesh Prasad Ranganath wrote:
> I use the following template
> 
> #set ($size = $return1_arraylist.size())
> $return1_arraylist.size
> $size
>  #foreach ($item in $return1_arraylist)
>         <item>$item</item>
>  #end
> 
> and get the following output
> 
> $return1_arraylist.size
> $size
>             <item>0</item>
>                         <item>1</item>
>                         <item>2</item>
> 
> Now, what is happening here?  Why isn't $return1_arraylist.size and 
> $size being expanded?
> 
> waiting for reply,
> 
Figured it out

-- 

Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
web: http://www.cis.ksu.edu/~rvprasad


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message