refactor and deprecate ATG#showErrorMessage. Use TemplateContext when its input duplicates separately passed SNode.