That would be a nice extension, although the immediate need was for just 
putting stuff in the <head>, which is why I made up the name `wrapperheaders`.  
I suppose you could equally well have a syntax like:

<wrapperadditions>
  <head>
    ... this will be stuck in the wrapper <head> tag
  </head>
  <body>
    ... and this in the body
  </body>
</wrapperadditions>

maybe each sub-tag still needs a placement option to say whether it is to go 
before or after the existing wrapper content.

That's all gilding the lily though.  I had only meant to be able to add stuff 
to the <head>, initially.

On 2010-04-23, at 15:10, Henry Minsky wrote:

> I'm implementing the <wrapperheaders> tag for
> http://jira.openlaszlo.org/jira/browse/LPP-8901
> 
> Is it sufficient for the content to all go in one place, such as the <head>
> tag of the wrapper page,
> or should there be an attribute that specifies whether  the content goes to
> the <head> or <body> of the
> wrapper page,
> 
> So in theory you could have two of these
> 
> <wrapperheaders placement="head">
>   <meta ...../>
> </wrapperheaders>
> 
> <wrapperheaders placement="body">
>   <![CDATA[
>   <script language="javascript">
>     var foo = bar;
> 
> etc
> 
> 
> 
> 
> </wrapperheaders>
> 
> 
> 
> 
> -- 
> Henry Minsky
> Software Architect
> [email protected]


Reply via email to