title: calling a child page component from parent page component in wicket
body: <p>I have a problem which I tried to explained in the Image.I hope that will help all to understand what I need.
  <img src="https://i.stack.imgur.com/CM7zi.png" alt="enter image description here"></p>
  
  <p>My Base Page is like this (menuNavPanel is the tree panel):</p>
  
  <pre><code>&lt;div class="colContainer"&gt;
      &lt;div class="leftColumn" &gt;
          &lt;div wicket:id="menuNavPanel"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="rightColumn"&gt;
          &lt;wicket:child/&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And Ny BIA Page which is a child of Base Page is like this:</p>
  
  <pre><code> &lt;wicket:extend&gt;
     &lt;div wicket:id="bodyPanel"&gt;&lt;/div&gt;
   &lt;/wicket:extend&gt;
  </code></pre>
  
  <p>in my Tree Panel, when I click on a node the code is this:</p>
  
  <pre><code>    @Override
          protected void onNodeLinkClicked(AjaxRequestTarget target, TreeNode node) {
              super.onNodeLinkClicked(target, node);
              DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode)node;
              Unit unitObject =(Unit) treeNode.getUserObject();
  
             // I want to call bodyPanel fo child page passing the  unitObject param
  
  
          }
  </code></pre>
  
  <p>Now, How can I call  bodyPanel fo child page passing the  unitObject param from the tree panel of the parent page?</p>
  
  <p>Am I been able to express my problem? Hoping to get some help :)</p>