I have a Window component (Panel subclass) and button to dynamic adding new Window to Base page, but when i click this button (AjaxLink) i get error:
WicketMessage: Unable to find the markup for the component. That may be due to transparent containers or components implementing IComponentResolver: [MarkupContainer [Component id = win1]] Base.html: <body> <a href="#" wicket:id="new">new</a> </body> Base.java: public class Base extends WebPage { public Base() { add(new AjaxLink("new"){ @Override public void onClick(AjaxRequestTarget target) { Window win = new Window("win1","title"); win.setOutputMarkupId(true); add(win); target.addComponent(win); // ajax refresh } }); } } -- Greetings, marioosh --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org