Hi,
I'm experiencing the following behavior and was wondering what's causing
it and if it's a current feature or not.
In a contents of a template we are using another template
(TemplateApplicationLink.vm below) as a global import. The behavior is
that the contents of the second template only becomes visible if I put a
<br> element in front of the line with the #parse statement.
Here is the enclosing template:
Subject: SOX Notice: SOX Assessment Scheduled
<html>
<body>
SOX Assessment $domainObject.soxAssessment.name has been
scheduled,
which includes an Assessment for $domainObject.name.
<br>Please login to #parse("TemplateApplicationLink.vm") to
verify the Control Environment
for $domainObject.name and to select an SAE Evaluator
prior to $date.format('MMMM dd
yyyy',$domainObject.soxAssessment.dueDate).
</body>
</html>
Here is the enclosed TemplateApplicationLink.vm template's content:
#if($url)<a href="${url}">ABC</a>#else Please configure app url in
abc-config.xml#end
Velocity jars in use: velocity-1.5.jar, velocity-dep-1.5.jar,
velocity-tools-generic-1.4.jar.
Thank you in advance.
Simeon Leyzerzon
--------------------------------------------------------------------------
This email and any files transmitted with it are confidential and proprietary
to Algorithmics Incorporated and its affiliates ("Algorithmics"). If received
in error, use is prohibited. Please destroy, and notify sender. Sender does not
waive confidentiality or privilege. Internet communications cannot be
guaranteed to be timely, secure, error or virus-free. Algorithmics does not
accept liability for any errors or omissions. Any commitment intended to bind
Algorithmics must be reduced to writing and signed by an authorized signatory.
--------------------------------------------------------------------------