This is what I am doing: final Panel emptyPanel = new EmptyPanel("additionalInfo"); emptyPanel.setOutputMarkupId(true); item.add(emptyPanel); IndicatingAjaxFallbackLink additionalInfoLink = new IndicatingAjaxFallbackLink("additionalInfoLink") { @Override public void onClick(AjaxRequestTarget target) { MyNewPanel info = new MyNewPanel(emptyPanel.getId()); emptyPanel.replaceWith(info); target.add(emptyPanel); } }; item.add(additionalInfoLink);
I think this is correct? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/replaceWith-method-in-Panel-not-working-with-AjaxLazyLoadPanel-tp4664232p4664246.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org