PageA.html:

<html><body><h1>Page A</h1>
<wicket:child />
</body>
</html>

PageB.html:

<html><body><wicket:extend><h2>Page B</h2><wicket:child
/></wicket:extend></body></html>

PageC.html
<html><body><wicket:extend><h3>Page C</h3></wicket:extend></body></html>

Martijn

On 4/10/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
> I'm get confused of to use <wicket:child /> and <wicket:extend /> element to
> write a multi-level page inheritance.
>
> Let's say that the  have the following hierarchy:
>
> Page A
>      ^
>      |
> Page B
>      ^
>       |
>  Page C
>
>
>
> The page A will be:
> <html>
> <head>
> <body>
> Some stuff here ....
> <wicket:child>
>
> <wicket:child/>
> </body>
> </html>
>
>
> The page C
> <html>
>  <head>
>  <body>
> <wicket:extend>
>  Some details
> </wicket:extend>
>  </body>
>  </html>
>
>
> But how to write the Page B markup ??
>
>
> Thanks, Paolo
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>


-- 
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to