Issue #8686 by tuj: Changed the template sent to server to be path to template instead of template name