}
});
- for (ITemplateResolver t_resolver : config.getTemplateResolvers())
+ for (ITemplateResolver t_resolver : context.getConfiguration().getTemplateResolvers())
{
TemplateResolution resolution = t_resolver.resolveTemplate(params);
if (resolution == null)
continue;
- if (!"JSON".equals(resolution.getTemplateMode()))
- continue;
+// if (!"JSON".equals(resolution.getTemplateMode()))
+// continue;
IResourceResolver r_resolver = resolution.getResourceResolver();
InputStream is =
r_resolver.getResourceAsStream(params, resolution.getResourceName());
node.setNodeProperty(PROPERTY_NAME, variables);
return variables;
}
-
-
- @Override
- public int getPrecedence()
- {
- return ATTR_PRECEDENCE;
- }
}