You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2003/07/09 19:20:06 UTC
DO NOT REPLY [Bug 20999] -
#set does not allow to assign nulls---cannot it be changed?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20999>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20999
#set does not allow to assign nulls---cannot it be changed?
------- Additional Comments From wglass@forio.com 2003-07-09 17:20 -------
This seems to be related.
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=velocity-
dev@jakarta.apache.org&msgNo=8225
>From Eelco Hillenius <ee...@topicus.nl>
When iterating a list that has null values, the last value before the null
is kept. E.g:
Take list: {"one", "two", null, null, "five").
#foreach( $val in $list)
<tr><td>$!{val}</td></tr>
#end
will show:
one
two
two
two
five
where I expected either
one
two
five
or
one
two
five
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org