You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Venkatesh Prasad Ranganath <co...@yahoo.com> on 2004/06/08 02:51:38 UTC
Irritating velocity problem (v 1.4)
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,
--
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
Re: Irritating velocity problem (v 1.4)
Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Jun 8, 2004, at 1:59 AM, Venkatesh Prasad Ranganath wrote:
> 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
I was hoping...
>
> --
>
> 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
>
>
--
Geir Magnusson Jr 203-247-1713(m)
geir@4quarters.com
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Irritating velocity problem (v 1.4)
Posted by Venkatesh Prasad Ranganath <co...@yahoo.com>.
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