Hi.
Does anyone know how can I create an XTemplate with a TextResource as a source?
I've tried this, but it fails by telling me that the value must be an expression.
private static final String TEMPLATE_STRING = NotificationResources.INSTANCE.templateBar().getText();
public interface SlotTemplates extends XTemplates {
@XTemplate(TEMPLATE_STRING)
SafeHtml hello(TemplateBean data);
}