title: How do I load a html file into a Dojo dialog in XPages
body: <p>I am currently using ExtLib's autoLoad function combined with a Ext.Window and Ext.tabPanel to open a web page into a popup dialog. How can I achieve this with dojo in XPages?</p>
  
  <p>Here is what I am trying to achieve:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xp:view xmlns:xp="http://www.ibm.com/xsp/core" xmlns:xe="http://www.ibm.com/xsp/coreex"&gt;
      &lt;xp:button value="Label" id="button1"&gt;
          &lt;xp:eventHandler event="onclick" submit="true"
              refreshMode="partial" refreshId="dialog1" execMode="partial"&gt;
              &lt;xp:this.action&gt;&lt;![CDATA[#{javascript:getComponent("dialog1").show();}]]&gt;&lt;/xp:this.action&gt;
          &lt;/xp:eventHandler&gt;
      &lt;/xp:button&gt;
      &lt;xe:dialog id="dialog1" href="http://www.google.com" style="width: 400px; height: 400px;"&gt;
      &lt;/xe:dialog&gt;
  &lt;/xp:view&gt;
  </code></pre>