[Wicket-user] About multiple wicket:extend in markup inheritance

2007-06-21 Thread ccc rrr

Hi:
  I have one question about Markup inheritance. It seems that we can put
only one wicket:extend in the base html file, such as:
html
head/head
body
   div id=header
   span wicket:id=header/span
   /div
   div id=body
   wicket:child /
   /div
   div id=footer
   span wicket:id=footer/span
   /div
/body
/html

Can we do something like this  ?

html
head/head
body
   div id=header
   span wicket:id=header/span
   /div
   div id=sidebar
*wicket:child1/
*/div
   div id=body
*wicket:child2/
*/div
   div id=footer
   span wicket:id=footer/span
   /div
/body
/html
And the corresponding inhereted html is:
body
   div id=header span wicket:id=header/span
   /div
   div id=sidebar
*wicket:extend1
 ..
   /wicket:extend1
*/div
   div id=body
*wicket:extend2
 ..
   /wicket:extend2
*/div
   div id=footer
   span wicket:id=footer/span
   /div
/body
/html

If not , what we can do to achieve the purpose ?
Thank you in advance!
-
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


Re: [Wicket-user] About multiple wicket:extend in markup inheritance

2007-06-21 Thread Martijn Dashorst
On 6/21/07, ccc rrr [EMAIL PROTECTED] wrote:
 If not , what we can do to achieve the purpose ?

Search the archives:
http://www.nabble.com/forum/Search.jtp?query=wicket+childlocal=yforum=13974daterange=0startdate=enddate=

Martijn


-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
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