markup inheritance and header support is something completely
different. Header support is basically for panel components which like
to contribute to the page's head section.

Inheritance is vey similar to Border, but IMO simpler to understand.
The extended markup might be like
<wicket:extend>
   my extension
</wicket:extend>

and the base (inherited) markup like
<head>
  ...
<head>
<body>
  ...
    <wicket:child/>
...
</body>

<wicket:child/> gets simply replaced by what is the body of <wicket:extend>

Juergen

On 8/8/05, Gili <[EMAIL PROTECTED]> wrote:
> 
>        I have one parent page and two children pages that extend it. One of
> them needs to add code into the <head> block while the other only
> contributes into the <body>.
> 
>        Is there a way to make this work under Wicket? From my understanding,
> markup inheritance only allows one to contribute into the <body> unless
> I wish to redeclare the <head> in each child page. Right?
> 
>        Ideally I'd like to addToHeader() from children Pages. Is there a
> preexisting way to do this? This is potentially another reason to
> consider adding Page.addToHeader()
> 
> Gili
> --
> http://www.desktopbeautifier.com/
> 
> 
> -------------------------------------------------------
> 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
>


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