title: render(Node aNode) method not available in WebSphere Portal v8.5
body: <p>My coode is there is WPS v7 presently , now I need to migrate to WPS8.5. But we are using the following method</p>
  
  <p>void render(Node aNode) </p>
  
  <p>and this method is not available in WebSphere Portal v8.5.</p>
  
  <p>Full Code:</p>
  
  <pre><code>&lt;%@ page session="false" buffer="none" %&gt;
  &lt;%@ page   import="com.ibm.portal.*,com.ibm.portal.content.*,com.ibm.portal.navigation.*,com.ibm.wps.model.*" %&gt;
  &lt;%@ page import="java.util.Iterator" %&gt;
  
  
  
  
  &lt;% 
  
  
      ModelUtil modelUtil = ModelUtil.from(request);
      ContentNode currentNode =  ((NavigationNode)modelUtil.getNavigationSelectionModel().getSelectedNode( )).getContentNode();
      CompositionModel model = modelUtil.getCompositionModel(currentNode.getObjectID());
      CompositionNode currentElement =  CompositionNodeHelper.getCurrentNode(pageContext.getRequest ());
  
      int counter=0;
  
      String div = null;
  boolean divRender = false;
  
  for (Iterator iterator = model.getChildren(currentElement);iterator.hasNext();) {
  
      CompositionNode child = (CompositionNode) iterator.next();
  
  
  
      if(false &amp;&amp; counter == 0 &amp;&amp; model.hasChildren(child)){
  
          div = "&lt;div id=\"main-content-portlet\"&gt;";
          divRender = true;
      }else if (counter == 1){
          div = "&lt;div id=\"ibm-content-sidebar\"&gt;";
          divRender = true;
      }
  
      if(divRender){
          out.println(div);
      }
  
      model.render(child); **** ISSUE IS HERE WITH THE RENDER METHOD
  
      if(divRender){
          if(div.indexOf("ibm-content-sidebar") &gt; 0){
              out.println("&lt;div id=\"ibm-contact-module\"&gt;&lt;/div&gt;");
              out.println("&lt;div id=\"ibm-merchandising-module\"&gt;&lt;/div&gt;");
              out.println("&lt;/div&gt;&lt;!-- ibm-content-sidebar end --&gt;");
          }else {
  
          }
      }
  
      counter++;
  }
  
  %&gt;
  </code></pre>
  
  <p>This render() method is not available in the model call in WPS v8.5... Is there any alternative method with which i can proceed or what is the way out.</p>
  
  <p>An early answer will be highly helpful and appreciated. Thanks in Advance</p>