[prev in list] [next in list] [prev in thread] [next in thread]
List: velocity-user
Subject: Re: #parse and <br> dependency
From: Ilkka Priha <ipriha () norther ! org>
Date: 2008-06-17 5:49:03
Message-ID: 4857504F.3020700 () norther ! org
[Download RAW message or body]
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 <br> 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)<a href="${url}">AAA</a>#else Please configure app url in
> aaa-config.xml#end
> --------------
> 2. Enclosing template - SAEAssessmentNotification.vm
>
> -----
> 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>
> ------------
>
> 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 <br> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic