RE: Velocity Question

2005-07-05 Thread Nitesh Naveen
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

Re: Velocity Question

2005-07-05 Thread Lucas Bern
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