<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY>
<DIV id=idOWAReplyText18854 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Reposting this because it
ended up on the wrong thread - and it is somewhat critical.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi all,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I need to call a javascript function from
the OnSelectionChanged event in the mainframe.templ.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I had it configured in the RC 1.0 and it
worked no problem.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I try to do the exact same thing in MGO 1.0
and I get constant DWF crashes along with all the buttons failing to appear on
the tool bar (with a javascript error for each button).</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Within the OnSelectionChanged I simply add
a function call - ShowReport();</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>At the bottom of the the page I add the
function - </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>ShowReport()</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>{</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>...harmless code here.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>}</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Can anyone identify why the error occurs in
1.0 and not RC 1.0?</FONT></DIV>
<DIV dir=ltr>Why does any edit to the mainframe.templ cause errors?</DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr>And I should note that I have to do a FULL uninstall/reinstall of
the web extensions to fix the crashes/buttons. <BR>- which of course means I
lose the edit I want to make... </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Cheers,</FONT></DIV></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature37498 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV><FONT face=Arial color=#000000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #29537c; FONT-FAMILY: 'Trebuchet MS'; mso-bidi-font-family: Arial"><SPAN><SPAN>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN><STRONG><FONT
size=3></FONT></STRONG></SPAN> </DIV>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN><STRONG><FONT
size=3>Kori Maleski</FONT> </STRONG></SPAN><STRONG><SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #29537c; FONT-FAMILY: 'Trebuchet MS'; mso-bidi-font-family: Arial">BSc</SPAN>.
<BR><FONT size=1>Senior Technical Consultant</FONT></SPAN></STRONG></DIV>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><STRONG><SPAN></SPAN><SPAN
style="COLOR: #29537c"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></STRONG> </DIV>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN><STRONG>Pacific
<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags"
/><st1:City w:st="on"><st1:place w:st="on">Alliance</st1:place></st1:City>
Technologies<BR></STRONG><FONT size=1>Suite 400 - 534 17 Ave.
<?xml:namespace prefix = u2 /><u2:place u3:st="on"><u2:City u3:st="on"><U4:PLACE
u5:st="on"><?XML:NAMESPACE PREFIX = U4 /><u4:City
u5:st="on">SW</u2:City></u2:place> <u2:City
u3:st="on">Calgary</u2:City></FONT></u4:City><FONT size=1>, <u2:State
u3:st="on"><st1:State u6:st="on">AB</u2:State></FONT></st1:State><FONT size=1>
<u2:country-region u3:st="on"><st1:country-region
u7:st="on">CANADA</u2:country-region></FONT></st1:country-region><FONT size=1>
<u2:PostalCode u3:st="on"><st1:PostalCode u8:st="on">T2S
0B1</u2:PostalCode></FONT></st1:PostalCode><BR></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #ff823d; FONT-FAMILY: 'Trebuchet MS'">TEL
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #2a5973; FONT-FAMILY: 'Trebuchet MS'">403.770.1917
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #ff823d; FONT-FAMILY: 'Trebuchet MS'">FAX
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #2a5973; FONT-FAMILY: 'Trebuchet MS'">877.691.9149
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #ff823d; FONT-FAMILY: 'Trebuchet MS'">TOL
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #2a5973; FONT-FAMILY: 'Trebuchet MS'">877.691.9171
</SPAN><SPAN><A title=http://www.pat.ca href="http://www.pat.ca/"><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #ff823d"><SPAN title=http://www.pat.ca><FONT
face="Times New Roman">www.pat.ca</FONT></SPAN></SPAN></A><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"></SPAN></SPAN></SPAN></DIV></FONT></DIV></FONT></DIV></U4:PLACE></DIV></BODY></HTML>