Rafal, could you consider contributing the HeadTool into turbine
keeping others from having to re-invent the wheel?

I was thinking of patching TemplatePageAttributes to allow setting
header scripts, but:
a. ECS currently outputs all unformated (all in one line), not very
   suitable for embedding JavaScript.
b. JavaScript can be anywhere in the page, so JS is placed at the
   beginning of <body> within the layout via a List set by the screen.

Anyway, having the header formatted by a template via WM- or VL-OnlyLayout
(or Page...) is surely a welcome enhancement ... with a HeadTool ;)

:) Christoph


Rafal Krzewski wrote:
> The scope of the Page template are head part, and opening/closing of
> body
> tags. Consedirenig what I wrote above, screen designers could customize
> the output produced by Page template using a HeadTool class that would
> contain all properties found in the inside head tag and the attirbutes
> of the body tag. We use such class in our project in conjunction with
> WebMacroOnlyLayout class.


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