I'm using Wicket 1.1, and am trying Markup Inheritance for the first
time. I'm confused as to why <wicket:child> must be empty.
This:
<wicket:child/>
works fine, but this:
<wicket:child>
<div id="main"><p>Main content here</p></div>
</wicket:child>
fails with
wicket.WicketRuntimeException: Expected to find <wicket:child/> in
base markup
Is there a good reason for this? I know that I can simply do
<wicket:remove>
<div id="main"><p>Main content here</p></div>
</wicket:remove>
<wicket:child/>
but that doesn't really smell right. Is there some good reason that
wicket:child can't have a disposable body in the markup to enhance
previewability?
-- Scott
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user