You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by ARNULFO Franck <FA...@CPR.FR> on 2001/07/31 14:15:57 UTC
Little javadoc correction on VelocityFormatter
Hi,
Just my 0.02 for a very minor correction on VelocityFormatter.java on the
makeAlternator method:
>Example usage in a Velocity template:
>
> <table>
> $formatter.makeAlternator(rowcolor, "#c0c0c0", "#e0e0e0")
work better :-) with
$formatter.makeAlternator("rowcolor", "#c0c0c0", "#e0e0e0")
> #foreach $item in $items
> #begin
> <tr><td bgcolor="$rowcolor">$item.Name</td></tr>
> $rowcolor.alternate()
> #end
> </table>
Franck
Re: Little javadoc correction on VelocityFormatter
Posted by piero de salvia <pi...@yahoo.com>.
excuse me my friends,
where in the whole big world is VelocityFormatter.java
? in the velocity distribution? am I the only velocity
user in the world that does not know this stuff?
piero de salvia
--- ARNULFO Franck <FA...@CPR.FR> wrote:
> Hi,
> Just my 0.02 for a very minor correction on
> VelocityFormatter.java on the
> makeAlternator method:
>
> >Example usage in a Velocity template:
> >
> > <table>
> > $formatter.makeAlternator(rowcolor, "#c0c0c0",
> "#e0e0e0")
>
> work better :-) with
> $formatter.makeAlternator("rowcolor", "#c0c0c0",
> "#e0e0e0")
>
> > #foreach $item in $items
> > #begin
> > <tr><td bgcolor="$rowcolor">$item.Name</td></tr>
> > $rowcolor.alternate()
> > #end
> > </table>
>
> Franck
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/