velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Bachelder" <cho...@chowda.net>
Subject Re: Multiple templates in servlets
Date Thu, 01 Nov 2001 23:48:03 GMT
I know you said no #parse... but had you considered the following?

you could use a forth page "page.vm" which could just be

#parse("header.vm")
#parse("content.vm")
#parse("footer.vm")

----- Original Message -----
From: "Jonas Bengtsson" <jonas.b@home.se>
To: <velocity-user@jakarta.apache.org>
Sent: Thursday, November 01, 2001 6:45 PM
Subject: Multiple templates in servlets


> Hi,
> <newbie-quiestion-alert>
> Is it possible to use several templates in one servlet. For instance if I
> have three templates called: header.vm, content.vm and footer.vm. Is it
> possible to use all these templates from the servlet, i.e. not with #parse
> directives.
> </newbie-question-alert>
>
> Thanks in advance,
> Jonas Bengtsson
>
>
> --
> To unsubscribe, e-mail:
<mailto:velocity-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:velocity-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message