Surely you wouldn't want either to 'lead', you'd simply want to merge.  Then 
(to quote from my current project), you can do:

In the parent:

<head>
        <wicket:head>
                <title wicket:id="titleBar">Main Page</title>
                <link href="css/main.css" type="text/css" rel="stylesheet" />
        </wicket:head>
</head>

And in the child:

<head>
        <title>Help Page</title>
        <wicket:head>
                <link href="css/overbanner.css" type="text/css" 
rel="stylesheet" />
        </wicket:head>
</head>

This leaves it up to the developer to ensure that only one <title> tag is made 
available in the Wicket rendered page.

-S.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Juergen 
Donnerstag
Sent: 31 August 2005 22:21
To: [email protected]
Subject: Re: [Wicket-user] Re: Markup inheritance changed?

> > > >
> > > >     All of a sudden, the children's <head> contents are being dumped
> > > > into the parent page. I don't mean, <wicket:head> -- I mean <head>
> > > >
> > > >     Is this normal? When was this change made?
> > > >

I guess with the re-written markup inheritance some weeks ago


On 8/31/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> I've gotten used to it and kinda like it. :D If this is a bug, can I
> do this when it's fixed:
> 
> <body>
>  <head>
>  <wicket:head>
>   <script...>
>  </wicket:head>
>  </head>
>  <body>
>  <wicket:extend>
>   Blah blah...
>  </wicket:extend>
>  </body>
> </html>
> ยด

> On 8/31/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > I noticed this too. I think it is a bug.
> >

I'll fix it. 
note: If I change it, than there will be some confusion about Pages
and which is the "leading" markup. Some users will say the child
markup and others the parent markup, with the "leading" one the one
which defines the <head> which gets written to output (like with page
markup without inhertance)

Juergen


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Come visit us at: 

Content Management Europe Exhibition.  29th November - 1st December 2005, 
Olympia Grand Hall, London.  Stand # 341

GOSS - Ranked 4th in the Deloitte Technology Fast 50 Awards 2004 and 88th in 
the Deloitte Technology Fast 500 EMEA. 

This email contains proprietary information, some or all of which may be 
legally privileged. It is for the intended recipient only. If an addressing or 
transmission error has misdirected this email, please notify the author by 
replying to this email. If you are not the intended recipient you may not use, 
disclose, distribute, copy, print or rely on this email. 

 

Email transmission cannot be guaranteed to be secure or error free, as 
information may be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete or contain viruses. This email and any files attached to it have 
been checked with virus detection software before transmission. You should 
nonetheless carry out your own virus check before opening any attachment. GOSS 
Interactive Ltd accepts no liability for any loss or damage that may be caused 
by software viruses.
 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to