RE: Velocity Inclusion in JSP

2011-04-15 Thread Biesbrock, Kevin
From: Dave Newton [mailto:davelnew...@gmail.com] > Do the templates use the same models as the web layer? Actually, it would have been good to note that the contact information is hard-coded. So there is no need for a model. I literally just need to include a block of html-/css-formatted text.

Re: Velocity Inclusion in JSP

2011-04-15 Thread Dave Newton
On Fri, Apr 15, 2011 at 1:03 PM, Biesbrock, Kevin wrote: > So I have a block of contact information that we would like to appear > similarly whenever it's displayed.  So on our home page, on a printable > confirmation page, or in a generated email -- it should always appear the > same.  Yesterda

Re: Velocity Inclusion in JSP

2011-04-15 Thread Dave Newton
Seems like a JSP-based custom tag would be the easiest, but I don't actually know what your template requirements are, so it's tough to say. What's the use-case? Dave On Fri, Apr 15, 2011 at 11:13 AM, Biesbrock, Kevin wrote: > There seem to be plenty of documents outlining how to include a jsp

Velocity Inclusion in JSP

2011-04-15 Thread Biesbrock, Kevin
There seem to be plenty of documents outlining how to include a jsp in a velocity template, but not the other way around. I am having a difficult time finding information on how to include a Velocity template in a JSP. I recognized the s:component tag could work, but my templates are not currentl