I've got a situation where we're lifting a panel out of a page and
making it the content of a modal window, like so:
@Override
public void setPage(final WebPage page) {
Component panel;
if(page instanceof EmbeddedPage) {
                logger.debug("embedded panel p..." + 
page.get("popcontainer:content"));
                panel = page.get("popcontainer:content");
                if(panel != null) {
                        this.setContent(panel);
                }
}

We implemented a lot of modals using setPage, but had performance
issues and found that using panels fixed them, so it being close to a
release this is the solution we used.  Unfortunately we're now having
problems with feedback panels on those modals; we get the following
error when trying to update them:

WicketMessage: Unable to find the markup for the component. That may
be due to transparent containers or components implementing
IComponentResolver: [MarkupContainer [Component id = feedback]]

Does anyone have any advise on how to fix this?  I'm working on the
assumption that the code above is breaking the hierarchy, is there a
way to repair it?

Thanks,

Loren

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to