Hi, How can let a page render to a panel component, then I can avoid page inherited and whole page refresh to build my pages layout.

Think about this :

<html>
<body>
        <span wicket:id="navigator"/>
        <span wicket:id="content"/>
</body>
</html>

  onNavNodeClicked(AjaxRequestTarget target) {
        MyPage page = new MyPage(...);
        Component component = getPage().get("content");
((Panel)component).setRenderPage(page); // this method is what i wanted.
        target.add(component); //my page's cotent rendered
  }

----
so, is there any way to reach this?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to