velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Yartsev" <>
Subject Re: Templates in VelocityLayoutServlet
Date Wed, 09 Jan 2008 23:04:58 GMT
> I don't understand what you are trying to accomplish here.  What
> layout template are you using?  Which template below is your layout
> and which is your $screen_content?
> It seems like you are using the layout servlet very strangely, trying
> to do your own layout system in addition to the built in one.  It's a
> bit confusing, so i'm not sure how to help you.

Using it strangely? How so? (I used this page as a reference:

According to what is written there, I created my own "Default" template.

> I am creating a website using VLS and part of my template is
> > /******************************************************
> >             <div id="content">
> >                 #parse($mainContent)
> >             </div>
> > ******************************************************/

Then, other ".vm" pages make use of that template.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message