yehh, that's excellent! I know now, thank you, igor.vaynberg.

igor.vaynberg wrote:
> 
> no they do not, all that is taken care off by wicket markup inheritance.
> for
> example:
> 
> class basepage extends  webpage {
>   abstract componentwithassociatedmarkup newarea1(string id);
>   abstract componentwithassociatedmarkup newarea2(string id);
> }
> 
> basepage.html
> <html>
> <body>
> before1 <div wicket:id="area1"></div> before2 <div
> wicket:id="area2"></div>
> <wicket:child/>
> </body>
> </html>
> 
> class page1 extends basepage {
>    //implementation of newarea1 and 2
> }
> 
> page1.html
> <wicket:extend>
> <wicket:fragment for area 1></wicket:fragment>
> <wicket:fragment for area 2></wicket:fragment>
> </wicket:extend>
> 
> as you can see in page1.html you do not need to repeat before1 and before2
> markup.
> 
> -igor
> 

-- 
View this message in context: 
http://www.nabble.com/Multiple-wicket%3Achild-tags-in-the-same-page-tf3775143.html#a11272841
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to