$day must be a collection, map or array - is that the case? Inside the <td>, I think you meant to say $name instead of $day.name
WILL On Tue, Jul 29, 2014 at 10:19 PM, ronald diao <ronald...@hotmail.com> wrote: > here is my code > > <table> > > #*foreach*($name in $day) > > <tr> > > <td> $day.name </td> > > </tr> > > #end > > </table> > > > it should be displayed in table form but its not displayed properly (see > attached file). Whats wrong with my code? > > > im using velocity 1.7 … spring 3.2.3 > > > Sent from Windows Mail > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org > For additional commands, e-mail: dev-h...@velocity.apache.org >