Well, I&#39;m using frames to provide a basic &#39;wrapper&#39; to display things like company logo&#39;s and also a custom reporting frame for displaying a datagrid.<div><br></div><div>Warren<br><br><div class="gmail_quote">
On Thu, Jul 29, 2010 at 1:04 AM, Jason Birch <span dir="ltr">&lt;<a href="mailto:jason@jasonbirch.com">jason@jasonbirch.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
So, are you guys using iframes to hide the complexity of the initial<br>
url and still use appdef directly out of the MapGuide repository?<br>
<br>
My appdef doesn&#39;t change very often; I&#39;ve got it compiled into a<br>
single-file fusion build per-map. I&#39;m not using templates either ;I<br>
don&#39;t think they existed when DMSG built my map initially :)<br>
<br>
If your app is static enough, you could do something similar; copy the<br>
template out into the Map&#39;s directory and either compile in the appdef<br>
or create an ApplicationDefinition.xml in the same folder as your<br>
index.html.<br>
<div><div></div><div class="h5"><br>
<br>
On 2010-07-28, Warren Medernach &lt;<a href="mailto:wmedernach@gmail.com">wmedernach@gmail.com</a>&gt; wrote:<br>
&gt; Hey Gordon,<br>
&gt; Thanks so much for the tips and info!<br>
&gt;<br>
&gt; Warren<br>
&gt;<br>
&gt; On Wed, Jul 28, 2010 at 7:18 PM, Gordon Luckett &lt;<br>
&gt; <a href="mailto:gordon.luckett@arrowgeomatics.com">gordon.luckett@arrowgeomatics.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;  Hi Warren,<br>
&gt;&gt;<br>
&gt;&gt; I usually use iframes (and always call it the same thing  “iFrameMap”)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have found some issues with targeting some of the searches and had to<br>
&gt;&gt; modify the code to find my “iFrameMap” within FUSION.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I make use of the \www\fusion\layers\MapGuide\MapGuideViewerApi.js file<br>
&gt;&gt; and<br>
&gt;&gt; modify the lines that show:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; var Fusion = window.top.Fusion;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; to<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; var Fusion = window.top.iFrameMap.Fusion;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; and that usually works really well.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I use the iFrameMap for the AJAX Basic version to and usually pass a<br>
&gt;&gt; parameter to the JS files with VTYPE=’AJAX’ or VTYPE=’FUSION’ so I know<br>
&gt;&gt; what<br>
&gt;&gt; viewer API to use.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hope that helps.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hey Jason,<br>
&gt;&gt;<br>
&gt;&gt; Sorry, my bad...  I should know better to include version details...  It&#39;s<br>
&gt;&gt; been a long day :-)<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m using MGE 2011.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I was just more curious what others are doing wrt Fusion.  Are people<br>
&gt;&gt; using<br>
&gt;&gt; iFrames, or Frames, or just building their wrappers?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Warren<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jul 28, 2010 at 5:35 PM, Jason Birch &lt;<a href="mailto:jason@jasonbirch.com">jason@jasonbirch.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Are you using a recent version? I think I saw some commits that change<br>
&gt;&gt; the way widgets find their parent fairly recently (ie, could be bug).<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 2010-07-28, Warren Medernach &lt;<a href="mailto:wmedernach@gmail.com">wmedernach@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hello all,<br>
&gt;&gt; &gt; I&#39;m trying to use the Fusion viewer within a frameset and I&#39;m getting<br>
&gt;&gt; &gt; some weird results using different browsers with &#39;out-of-the-box&#39;<br>
&gt;&gt; &gt; functionality.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; For example, I have a Search function defined that works fine when I run<br>
&gt;&gt; it<br>
&gt;&gt; &gt; in FireFox or Chrome, but in IE it fails to select and zoom to the<br>
&gt;&gt; &gt; object<br>
&gt;&gt; &gt; and a script error is thrown stating that it cannot find Fusion?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Are there any &#39;best practices&#39; or suggestions to using Fusion within a<br>
&gt;&gt; &gt; frameset?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Warren M.<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mapguide-users mailing list<br>
&gt;&gt; <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mapguide-users mailing list<br>
&gt;&gt; <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br></div>