The way it has been done, seems the easiest to me and is very flexible.  I
am not sure why it is more desirable to have <html>, <head>, etc. in the
layout.  I have found so far that it is probably required for JSP (if I can
get it to work at all,) so I am trying to work within that framework.

In Rafal's design you add a Head object to the context.  Then screen
templates can add stuff to it.  In the previous method the Head object was
added to the Context through RunData, data.getPage.getHead(),  so it would
seem to me that from the screen templates' point of view things are about
the same.  And navigations lose their access to the Head object in the new
way, maybe no big deal.

Why again is this better? (You have probably already told me, I will go look
again.)

John



----- Original Message -----
From: dave <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Wednesday, August 30, 2000 5:02 PM
Subject: Re: headers on templates:


> On Wed, 30 Aug 2000, you wrote:
> > We use this class with no problems - it handles double <html> etc.
issue.
> > Adding stuff to the head requires adding an object to the context that
> > will be available both to screen class and screen template before
> > layout rendering takes place - I mean it must be added to the context
> > by the page, when new context is created. We have such a class but it's
not
> > final yet (we need to disscuss it a bit with our page designers). We
will
> > contribute it when it's ready.
> > Ultimately page designer will write in the layout template something
like that:
>
> I guess what I'm trying to figure out here is that if we plan to
> predominantly use Velocity/WM as the presentation layer, shouldn't we
> be making it as simple as possible?
>
> I'm not saying this is a bad solution, but could we make it easier?
>
> --
> dave
> [EMAIL PROTECTED]
> ----------------------
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to