protected VelocityEngine newStringEngine(String repoName, boolean isStatic)
{
VelocityEngine engine = new VelocityEngine();
engine.setProperty(Velocity.RESOURCE_LOADER, "string");
engine.addProperty("string.resource.loader.class", StringResourceLoader.class.getName());
if (repoName != null)
{
engine.addProperty("string.resource.loader.repository.name", repoName);
}
if (!isStatic)