> > > > Would the Velocity folks mind including something like this in
> > > > Velocity:
> > > >
> > > > public class Util extends Object {
> > > >
> > > > final public StringUtils string = null;
> > > > final public ObjectUtils object = null;
> > > > final public CollectionUtils collection = null;
> > > >
> > > > public Util() {
> > > > }
> > > >
> > > > }
Hm. Would this work?
public class Util extends Object {
public Util() {
}
public StringUtils string() {
return null;
}
public ObjectUtils object() {
return null;
}
public CollectionUtils collection() {
return null;
}
}
Then velocity pages could say $foo.string().method() yes?
I really am just trying to help.
-Paul
--
To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
|