ling List
Subject: Re: Velocity Question
HI!
I´m not sre what you mean... but
StringUtils is not an abstract class, so you could put in the context of
Velocity an instance of StringUtils velContext.put("StringUtils", new
StringUtils() ); In your template...
$StringUtils.leftP
HI!
I´m not sre what you mean... but
StringUtils is not an abstract class, so you could put in the context of
Velocity an instance of StringUtils
velContext.put("StringUtils", new StringUtils() );
In your template...
$StringUtils.leftPad( $car.id, 6, '0') $StringUtils.leftPad( $car.na00
Sorry for the OT. But since they're kinda related ...
Does velocity provides a way to fill gaps on my variables? Translating...
I have a pojo car, which has ID and Name Id must have size 6 with zero
left padd, and Name 15 with with white spaces padding. Now let's suppose
I have:
Car beetle = new
3 matches
Mail list logo