Simeon, the problem may be in the previous line: '$domainObject.name.'. The last dot is ambiguous as it could indicate a property of the name field's value. Try '${domainObject.name}.' instead without the
tag in the next line. -- Ilkka Simeon.Leyzerzon@algorithmics.com wrote: > Chris, > The files were pasted in their entirety in the first email. I'm going > to repaste them once again here: > > 1. TemplateApplicationLink.vm - this is an enclosed template: > -------------- > #if($url)AAA#else Please configure app url in > aaa-config.xml#end > -------------- > 2. Enclosing template - SAEAssessmentNotification.vm > > ----- > Subject: SOX Notice: SOX Assessment Scheduled > > > SOX Assessment $domainObject.soxAssessment.name has been > scheduled, > which includes an Assessment for $domainObject.name. >
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). > > > ------------ > > I've just created the simple test in my local environment, I'm seeing > the similar behavior in it as well. > > Regards, > Simeon > > > -----Original Message----- > From: Christopher Schultz [mailto:chris@christopherschultz.net] > Sent: Monday, June 16, 2008 5:07 PM > To: Velocity Users List > Subject: Re: #parse and
dependency > > Simeon, > > Simeon.Leyzerzon@algorithmics.com wrote: >> Hi Chris, thanks for the response. Not sure about posting a test > case, >> I don't have a simple executable harness here as it's a part of a >> complex app. > > If you create a simple test case out of the two templates you mentioned > in your OP, does it work? > >> What I'm seeing is there's no enclosing document gets produced and > since >> it's an emailing template, the user doesn't get any email. Hope this > is >> enough details. >> >> I'm attaching the docs I'm using. > > Your attachments were removed by the mailing list. > > Feel free to paste text "attachments" inline -- those should not be > removed. > > -chris > > > > -------------------------------------------------------------------------- > 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. > -------------------------------------------------------------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org > For additional commands, e-mail: user-help@velocity.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org For additional commands, e-mail: user-help@velocity.apache.org