<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That is a little beyond my Fusion knowledge.<br>
I know that Fusion can handle multiple maps, and that each map is
assigned an ID.<br>
I do not know how to use the ID, or what happens when you change it.<br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Tómas Guðmundsson skrev:
<blockquote
cite="mid:FD1AEAFE8595974CADD8952EB37BF8842FEA23@askja.snertill.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<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]-->
<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’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=’sheboygan’ somewhere<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: windowtext;">I don’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: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
Kenneth Skovhede, GEOGRAF A/S
[<a class="moz-txt-link-freetext" href="mailto:ks@geograf.dk">mailto:ks@geograf.dk</a>] <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> </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"> </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‘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.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="IS"> </span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent: -18pt;"><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>
<br>
</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent: -18pt;"><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>
<br>
</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent: -18pt;"><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.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="IS"> </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"> </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> </o:p></pre>
<pre style="text-align: center;">
<hr align="center" size="4" width="90%">
</pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>fusion-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
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>
</blockquote>
</body>
</html>