<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:windowtext'>Yes, that does help me, thank
you very much.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>However I did find a way to
make Fusion read my ApplicationDefinition.xml <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>(by leaving no extra URL
parameters like ApplicationDefinition) however, I <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>do not understand how and
why. When I modify the MapGroup in the <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>ApplicationDefinition, that
if I change the id from sheboygan something else,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>It doesn&#8217;t work. But if use
another map resource and keep the Sheboygan id for<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>the mapgroup it works
perfectly ? Is this a bug within fusion and should it be<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>reported or is there a
setting defining a map with ID=&#8217;sheboygan&#8217; somewhere<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>I don&#8217;t know about ?<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>Rgds<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>tomas<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> Kenneth Skovhede, GEOGRAF A/S
[mailto:ks@geograf.dk] <br>
<b>Sent:</b> 13. maí 2008 13:04<br>
<b>To:</b> Tómas Guðmundsson<br>
<b>Subject:</b> Re: [fusion-users] Problems with starting a new application.<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I'm not all up to date on Fusion, so I might be wrong.<br>
Fusion can either use a standalone ApplicationDefinition.xml, or read the
equvalent xml from the MapGuide server.<br>
When you use Studio, it modifies the xml in the MapGuide server.<br>
Normally, Fusion will load the xml from the MapGuide server, rather than from a
file.<br>
You cannot load xml into MapGuide via. Studio, but you can save a copy of the
Xml to your disc, and manually insert it into the server.<br>
<br>
Does that help you?<br>
<br>
<br>
<o:p></o:p></p>

<pre>Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></pre>

<p class=MsoNormal><br>
<br>
Tómas Guðmundsson skrev: <o:p></o:p></p>

<p class=MsoNormal><span lang=IS>Hello all. </span><o:p></o:p></p>

<p class=MsoNormal><span lang=IS>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=IS>I wanted to ask this list if they can help me
understand something more about fusion. If there is some more documentation
than on the osgeo webpage I would be verey happy if someone could point me to
that resource. I&#8216;m hoping somebody on this list can answer several aspects I
have not yet wrapped my head around. I am using Mapguide Server and Studio
Enterprise 2009 and the Fusion that came bundled with that CD. All my modifications
and testing took place in the folder
mapguide2009/fusion/templates/mapguide/newtemplate/ where newtemplate was
indeed just a copy of another template which I modified so I wouldn&#8216;t overwrite
the original copy.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=IS>&nbsp;</span><o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt'><span lang=IS>ApplicationDefinition.xml.
To what ApplicationDefinition does fusion listen to or parse? I modified the
one in the same directory, to hopefully include my mapdefinition but nothing
happens. It still went with the default Sheboygan sample data or when it didn&#8216;t
do that it told me (via firebug) that mapGroup has no properties in Map.js.
Maybe I&#8216;m referencing it wrong? Where can I find the MapDefinition for a
weblayout or a map I have ? Also, when I removed a whole section of let&#8216;s say,
ContextMenu, nothing changed. Even with the right map (now given as a paramter
in the URL) the same default ContextMenu popped up.<br>
<br>
<br>
</span><o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt'><span lang=IS>I know
there are several ways to add your own stuff to the fusion application, but as
a programmer I want to everything by hand.&nbsp; When I add something with a
point and click via Mapguide Studio it sometimes works but I would like to know
the best way, and in what order I should add the xml definition of a widget,
the javascript implementation of that widget, and then the xml snippet inside
the applicationdefinition? (Which as point a) made, did not work for me when I
changed the ApplicationDefinition).<br>
<br>
<br>
</span><o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt'><span lang=IS>How do I
get fusion to execute my code? I tried with my own widgets or components and
just the simple javascript command &quot;alert('I say, Hello Fusion!');&quot;
does not seem to execute in my own widgets. Other widgets modified, like in the
most simple one, About widget. Just before I would open the about window, I
entered that line and nothing happened. A colleague of mine told me to move it
up 4 lines, on line 67 in About.js, which seems totally random to me but hey, I
got my About button to say Hello Fusion so it worked.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=IS>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=IS>So these are my main points of not
understanding how Fusion works, so I would appreciate it greatly if somebody
could help me understand these points.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=IS>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=IS>Regards,</span><o:p></o:p></p>

<p class=MsoNormal><span lang=IS>Tomas, Programmer for</span><o:p></o:p></p>

<p class=MsoNormal><span lang=IS>Snertill, Iceland.</span><o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre style='text-align:center'>

<hr size=4 width="90%" align=center>

</pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>fusion-users mailing list<o:p></o:p></pre><pre><a
href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><o:p></o:p></pre><pre><a
href="http://lists.osgeo.org/mailman/listinfo/fusion-users">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><o:p></o:p></pre><pre>  <o:p></o:p></pre></div>

</body>

</html>