----- Original Message -----
Sent: Friday, April 20, 2001 9:00
AM
Subject: [Dynapi-Help] Applet
Hi,
I am using the DynAPI (version 2.51) and all the
features I am employing work just fine.
However, I need
some assistance in loading and referencing an Applet.
The following code is inside the <Body>
:
"> <APPLET codebase="../sajfilesamples" code="softartisans.filetransfer.UploadClientclass"
height="0" width="0" mayscript archive="filetransfer.jar" name="fileupload"
VIEWASTEXT id=Applet2>
<PARAM name="cabbase" value="filetransfer.cab">
<PARAM name="autoSetTransferMethod" value="1">
<PARAM name="PostURL" value="<%=PostURL%>">
<PARAM name="HideFileList" value="1">
<PARAM name="HideTransferStatus" value="1">
</APPLET>
The Applet loads OK but when I need to
reference a document object as follows:
if(SAJFileAppletLoaded)
{
document.fileupload.addFile(fileName);
}
There is no reference to the fileupload object, it is undefined.
Q. How to I obtain a reference to the
correct document object?
Thank you in advance.
Max">