Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling Livelink from External Application

Status
Not open for further replies.

markorjj

IS-IT--Management
Apr 15, 2007
28
US
Not sure if this is the right forum or not, but lets give this a whirl. We have two JavaScripts functions usded to call Livelink from one of our external applications as follows:

function hideWebdav()
{
document.getElementById("frMap").style.display = "none";
document.getElementById("mapTr").style.display = "none";
document.getElementById("mapbutton").style.display = "none";
document.forms[0].action ='/venus/RtsDocuments.do?method=Edit';
document.forms[0].submit();
}

function showWebdav()
{
document.getElementById("mapTr").style.display = "block";
document.getElementById("frMap").style.display = "block";
document.getElementById("mapbutton").style.display = "block";
document.getElementById("loadDocuments").style.display = "none";
document.getElementById("prev1").style.display = "none";
document.getElementById("prev2").style.display = "none";
document.getElementById("documentList").style.display = "none";
}


Our code calls the functions from a button which is declared as follows:

<tr>
<td>
<table>
<tr>
<td>&nbsp;</td>
<td>
<div id="documentList">
<tr class="empty">
<td colspan="{0}">Nothing found to display.</td>
</tr>
</div>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<div id="loadDocuments">
<input class="smallblack" name="showmap" type="button" value="Load Documents" onClick="showWebdav();">
</div>
</td>
</tr>
</table>
</td>
</tr>

If I call these functions in Apache 1.0.57, they work as advertised and bring up a Livelink screen in an iFrame defined as follows:

<IFRAME id="frMap" style="display:none" height="300px" width="1000x" frameborder=0 marginwidth=0 marginheight=0 src=">

</iframe>

If I call these function from Tomcat 5.5.28, nothing happens - not even a log entry to tell me what is happening.

What am I doing wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top