Well, I'm using frames to provide a basic 'wrapper' to display things like company logo'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"><<a href="mailto:jason@jasonbirch.com">jason@jasonbirch.com</a>></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't change very often; I've got it compiled into a<br>
single-file fusion build per-map. I'm not using templates either ;I<br>
don'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'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 <<a href="mailto:wmedernach@gmail.com">wmedernach@gmail.com</a>> wrote:<br>
> Hey Gordon,<br>
> Thanks so much for the tips and info!<br>
><br>
> Warren<br>
><br>
> On Wed, Jul 28, 2010 at 7:18 PM, Gordon Luckett <<br>
> <a href="mailto:gordon.luckett@arrowgeomatics.com">gordon.luckett@arrowgeomatics.com</a>> wrote:<br>
><br>
>> Hi Warren,<br>
>><br>
>> I usually use iframes (and always call it the same thing “iFrameMap”)<br>
>><br>
>><br>
>><br>
>> I have found some issues with targeting some of the searches and had to<br>
>> modify the code to find my “iFrameMap” within FUSION.<br>
>><br>
>><br>
>><br>
>> I make use of the \www\fusion\layers\MapGuide\MapGuideViewerApi.js file<br>
>> and<br>
>> modify the lines that show:<br>
>><br>
>><br>
>><br>
>> var Fusion = window.top.Fusion;<br>
>><br>
>><br>
>><br>
>> to<br>
>><br>
>><br>
>><br>
>> var Fusion = window.top.iFrameMap.Fusion;<br>
>><br>
>><br>
>><br>
>> and that usually works really well.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> I use the iFrameMap for the AJAX Basic version to and usually pass a<br>
>> parameter to the JS files with VTYPE=’AJAX’ or VTYPE=’FUSION’ so I know<br>
>> what<br>
>> viewer API to use.<br>
>><br>
>><br>
>><br>
>> Hope that helps.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> Hey Jason,<br>
>><br>
>> Sorry, my bad... I should know better to include version details... It's<br>
>> been a long day :-)<br>
>><br>
>> I'm using MGE 2011.<br>
>><br>
>><br>
>><br>
>> I was just more curious what others are doing wrt Fusion. Are people<br>
>> using<br>
>> iFrames, or Frames, or just building their wrappers?<br>
>><br>
>><br>
>><br>
>> Thanks.<br>
>><br>
>><br>
>> Warren<br>
>><br>
>> On Wed, Jul 28, 2010 at 5:35 PM, Jason Birch <<a href="mailto:jason@jasonbirch.com">jason@jasonbirch.com</a>> wrote:<br>
>><br>
>> Are you using a recent version? I think I saw some commits that change<br>
>> the way widgets find their parent fairly recently (ie, could be bug).<br>
>><br>
>><br>
>><br>
>> On 2010-07-28, Warren Medernach <<a href="mailto:wmedernach@gmail.com">wmedernach@gmail.com</a>> wrote:<br>
>> > Hello all,<br>
>> > I'm trying to use the Fusion viewer within a frameset and I'm getting<br>
>> > some weird results using different browsers with 'out-of-the-box'<br>
>> > functionality.<br>
>> ><br>
>> > For example, I have a Search function defined that works fine when I run<br>
>> it<br>
>> > in FireFox or Chrome, but in IE it fails to select and zoom to the<br>
>> > object<br>
>> > and a script error is thrown stating that it cannot find Fusion?<br>
>> ><br>
>> > Are there any 'best practices' or suggestions to using Fusion within a<br>
>> > frameset?<br>
>> ><br>
>> > Warren M.<br>
>> ><br>
>><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>
>><br>
>><br>
>><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>
>><br>
>><br>
><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>