Re: Apache Velocity : Verify if all substitutions are made

2023-06-13 Thread Debraj Manna
Thanks for replying. It will work in my use case. On Tue, Jun 13, 2023 at 7:14 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Debraj, > > On 6/13/23 05:38, Debraj Manna wrote: > > Can someone let me know how I can verify a velocity context against a > > template? Basically, I

Re: Apache Velocity : Verify if all substitutions are made

2023-06-13 Thread Christopher Schultz
Debraj, On 6/13/23 05:38, Debraj Manna wrote: Can someone let me know how I can verify a velocity context against a template? Basically, I want to throw some error if all variables are not substituted in the velocity template. For example, let's say I have a velocity template, card.vm card

Re: Apache Velocity : Verify if all substitutions are made

2023-06-13 Thread Debraj Manna
I am using velocity 1.7 On Tue, Jun 13, 2023 at 3:08 PM Debraj Manna wrote: > Can someone let me know how I can verify a velocity context against a > template? Basically, I want to throw some error if all variables are not > substituted in the velocity template. > > For example, let's say I

Apache Velocity : Verify if all substitutions are made

2023-06-13 Thread Debraj Manna
Can someone let me know how I can verify a velocity context against a template? Basically, I want to throw some error if all variables are not substituted in the velocity template. For example, let's say I have a velocity template, card.vm card { type: CREDIT company: VISA name: