Actually it should be up-to-date, but may there is little mistake.
Might be that it is addToHeader(new Label("label")), but I could be
wrong. I try to evaluate it tonight.

Juergen

On 8/25/05, Ingram Chen <[EMAIL PROTECTED]> wrote:
> Dear friends,
> 
>   I want a feature that inherit both <head> and <body> like this:
> 
> ParentPage:
> <html>
>  <head>
>  <parent head... />
>  </head>
>  <body>
>  Base Page Before
>  <wicket:child/>
>  Base Page After
>  </body>
> </html>
> ChildPage:
> 
> <head>
>  <title>Child</title>
>  <child head ... />
> </head>
> <body>
> <wicket:extend>
>  Child Page
> </wicket:extend>
> </body>
> 
> and then combine head and body as
> <html>
>  <head>
>  <parent head... />
>  <title>Child</title>
>  <child head ... />
>  </head>
>  <body>
>  Base Page Before
>  Child Page
> 
 Base Page After
>  </body>
> </html>
> I have tried the example from 
> http://wicket.sourceforge.net/wiki/index.php/Markup_inheritance
> 
> however, wicket complain that it can not find "label" component defined in
> the <head/>
> Is the example out of date ? or I just missing something ? or there is
> alternative method to archieve above feature ?
> 
> Thanks in advance.
> -- 
> [If you can't read this mail correctly, you need to change your encoding to
> UTF-8]
> Ingram Chen
> Java [EMAIL PROTECTED]
> Institue of BioMedical Sciences Academia Sinica Taiwan
> blog: http://xexex.blogspot.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

Reply via email to