velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Yartsev" <ani...@gmail.com>
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:
http://velocity.apache.org/tools/releases/1.4/view/layoutservlet.html).

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.

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