John McNally wrote:
> 
> 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.)

Because the Head object is needed only if you want yor screen to tweak
head content. If you consider it static, write it straight in the layout
template, and forget about it.

Rafal


------------------------------------------------------------
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