We’re working on a project that uses Velocity for its display templates. Unfortunately, there is no documentation concerning what properties are available on objects, which makes it fairly difficult to write these templates.
Is it possible to use Velocity to produce a list of the properties on an object? If so, how?
Thank you.
Are you looking for something like this?
http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/generic/ClassTool.html