Setup WBOSS with CommuniGate Pro on MacOS X

An overview of setting up WBOSS with CommuniGate Pro on MacOS X.


Joshua Cantara
Daryl Hansen
Chriss Hobbs
Alain Russell
Adam Sleight

Last Revised: June 20, 2002


1.) Download and install CocoASpell.

2.) Download the WBOSS script

and execute the following at a root prompt:

3.) Configuring compose.wssp

In compose.wssp make the following changes:

Add the text that is in bold:
<BODY BGCOLOR="#ffffff" LINK="#330099 ALINK="#330099" VLINK="#330099" onLoad="document.mail.Body.focus()">
<FORM action="Compose.wssp" method="post" enctype="multipart/form-data" name="mail">

Add your SpellCheck button somewhere on your compose page...location is up to you:

<input type="button" name="SpellCheck" value="SpellCheck" onclick="sendtext()">

Near the bottom of compose.wssp html between the lines:
</FORM><!--%%INCLUDE "Navigation.wssi"-->
and
</BODY>

Insert the following: (You should first copy this into a plain text editor, otherwise the html will be scrambled)


<form id="spell" name="spell">
   <script>
   function sendtext() {
   var semi = new RegExp("\;","g");
   document.send.checkme.value = (document.mail.Body.value.replace(semi,"\;"));
   document.send.form.value = "mail";
   document.send.field.value = "Body";
   window.open('','SpellChecker','width=480,height=360,top=150,left=150,scrollbars=1,location=true');
   document.send.submit();
   }
   </script>
   </form>
   <form id="send" name="send" action="/cgi-bin/spell.pl" method="POST" target="SpellChecker">
   <input type="hidden" id="checkme" name="checkme" value="">
   <input type="hidden" id="form" name="form" value="">
   <input type="hidden" id="field" name="field" value="">
   <input type="hidden" id="spell" name="spell" value="check">
   </form>

Conclusion

After the previous steps have been completed, log in and flush the web skins cache for the all domain names. Log in and try out your new spell checker, if all has gone as planned, everything should work perfectly.