<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 http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
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";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:889800196;
        mso-list-type:hybrid;
        mso-list-template-ids:-2115871198 67698711 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</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 lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=IS>Hello all. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=IS><o:p> </o:p></span></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‘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‘t
overwrite the original copy.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=IS><o:p> </o:p></span></p>
<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
lang=IS><span style='mso-list:Ignore'>a)<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><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‘t do
that it told me (via firebug) that mapGroup has no properties in Map.js. Maybe
I‘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‘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>
<o:p></o:p></span></p>
<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
lang=IS><span style='mso-list:Ignore'>b)<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><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. 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>
<o:p></o:p></span></p>
<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
lang=IS><span style='mso-list:Ignore'>c)<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><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 "alert('I say, Hello Fusion!');" 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.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=IS><o:p> </o:p></span></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.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=IS><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=IS>Regards,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=IS>Tomas, Programmer for<o:p></o:p></span></p>
<p class=MsoNormal><span lang=IS>Snertill, Iceland.<o:p></o:p></span></p>
</div>
</body>
</html>