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> </td>
<td>
<div id="documentList">
<tr class="empty">
<td colspan="{0}">Nothing found to display.</td>
</tr>
</div>
</td>
</tr>
<tr>
<td> </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?
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> </td>
<td>
<div id="documentList">
<tr class="empty">
<td colspan="{0}">Nothing found to display.</td>
</tr>
</div>
</td>
</tr>
<tr>
<td> </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?