My WebPage consists of two WebMarkupContainer: one is the parent of the other. The two WebMarkupContainer are encapsulated within a div tag as the following: <div wicket:id="wmc1"> <div wicket:id="wmc2"> <table cellpadding="0" cellspacing="5" class="filterBy"> ... </table> </div> ... <table> ... </table> </div>
In Java file, I added wmc2 as a child of wmc1 ("wmc1.add(wmc2)" ) as the following: final WebMarkupContainer wmc1 = new WebMarkupContainer("wmc1"); wmc1.setOutputMarkupId( true ); ... WebMarkupContainer wmc2 = new WebMarkupContainer("wmc2", new SomeInnerModel()); wmc2.setOutputMarkupId( true ); wmc1.add(wmc2); ( The problem: wmc1 is updates while Ajaxing it (wmc1 was added as a target for some ajax component), while wmc2 not!! I thought that wmc2 should be updated too since it is a child of a wmc1. Even if I adding wmc2 to the target of an Ajax component (as done with wmc1) - it is not updated! The model attached to wmc2 is derived from LoadableDetachableModel and implements the load() method. I'm quite frustrated while making some works around that issue. Does Wicket supports that behavior at all? Any idea? THANKS for ADVANCE! -- View this message in context: http://www.nabble.com/WebMarkupContainer-within-WebMarkupContainer-not-updated-when-Ajax-update-tp20796182p20796182.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]