title: Inlcuding a jsp in a dialog
body: <p>I wish to include display a jsp page as an aui dialog in liferay, and at the moment I'm doing something like this:</p>
  
  <pre><code>&lt;portlet:renderURL var="editURL" windowState="&lt;%= WindowState.MAXIMIZED.toString() %&gt;" &gt;
      &lt;portlet:param name="jspPage" value="/edit.jsp"/&gt;
      &lt;portlet:param name="id" value="&lt;%= id%&gt;"/&gt;
  &lt;/portlet:renderURL&gt;
  
  &lt;aui:script use="aui-dialog, aui-overlay-manager, dd-constrain"&gt;
      var editDialogOptions = {
          title: 'Dialog',
          bodyContent: '',
          centered: true,
          group: 'default',
          height: 400,
          width: 400,
          modal: true,
          buttons: [
              {
                  label: 'Cancel',
                  handler: function() {
                      this.close();
                  }
              }
          ]
      };
  
      $("#btnEdit").on('click', function(event) {
          var editFeelingDialog = new A.Dialog(
              A.merge(editDialogOptions, {
                  title: 'Edit Product'
              })
          ).plug(A.Plugin.IO, {uri: '&lt;%= editURL %&gt;'}).render();
      });
  &lt;/aui:script&gt;
  </code></pre>
  
  <p>The page renders, passing in my parameter, but it includes the entire control panel and miscellaneous information like the sign out link and the navigation etc that I do not want to display. Is there anyway to just display purely the edit.jsp page without everything else?</p>
  
  <p>I would appreciate any help regarding this!</p>