oracle app - specific javascript objects (buttons) do not render/appear

RESOLVED FIXED

Status

Tech Evangelism Graveyard
English US
--
major
RESOLVED FIXED
16 years ago
3 years ago

People

(Reporter: Avram Dorfman, Assigned: Susie Wyshak)

Tracking

Details

(URL)

Attachments

(3 attachments)

(Reporter)

Description

16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0rc3)
Gecko/20020523
BuildID:    2002052305

This is an Oracle web based application. Unfortunately, it is behind our
firewall. However, I'm happy to forward copies of any html source files you need
to see.

The page in question should have a couple of buttons on it that it does not.
When I try to load the page, the javscript console complains :

Error: top.buttons.uploadObj has no properties
Source File: http://banner.juniper.net:8000/pls/JPRD/AP_WEB_DISC_PKG.ParseMain
Line: 65

There are other pages in this app which have other buttons that do not appear
correctly. I'm guessing/hoping, that it's all the same issue. Essentially, the
app is unusable in Mozilla because a couple of key buttons don't appear. 95% of
the app works fine though.

FWIW, this is Juniper Networks' employee expense reporting application. It's an
off the shelve Oracle application called "iExpense." There is not a single OS X
browser that supports it, not even MSIE for X. The OS9 version of MSIE handles
it fine. I haven't tried the OS9 version of Mozilla or Navigator.

Reproducible: Always
Steps to Reproduce:
Since you don't have access to the necessary site, I'll just paste in the html
from the page that's not working. I suspect the problem is in a file that it
includes however, so someone will have to tell me what file they really need to
see. But if you were in my network, you'd login to iExpense, click "Upload
Expense Report," get a new window with a field where you'd paste the contents of
a spreadsheet, and then press the 'validate' button (another javascript button,
but this one works fine). 
<base HREF="http://banner.juniper.net:8000/">
<html DIR=" LTR">
<head>
<!-- Copyright &#169; 1996 Oracle Corporation, All rights reserved. -->
<script src= /OA_HTML/APWOBJT4.js></SCRIPT>
<script src= /OA_HTML/APWOBJT3.js></SCRIPT>
<script src= /OA_HTML/APWOBJT6.js></SCRIPT>
<script src= /OA_HTML/APWOBJT2.js></SCRIPT>
<script src= /OA_HTML/APWOBJT5.js></SCRIPT>
<script src= /OA_HTML/APWOBJT1.js></SCRIPT>
<script src= /OA_HTML/APWTOOLB.js></SCRIPT>

<!-- Copyright &#169; 1996 Oracle Corporation, All rights reserved. -->
<script LANGUAGE="JavaScript">

<!-- hide the script's contents from feeble browsers
function clearUploadForm(form) {
    alert(form);
    form.p_exp.value="";
    return;
    }
function Is() {
        var agent = navigator.userAgent.toLowerCase();
        this.major = parseInt(navigator.appVersion);
        this.minor = parseFloat(navigator.appVersion);
        this.ns  = ((agent.indexOf('mozilla')!=-1) &&
((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') ==-1)));
        this.ns2 = (this.ns && (this.major == 2));
        this.ns3 = (this.ns && (this.major == 3));
        this.ns4b = (this.ns && (this.minor < 4.04));
        this.ns4 = (this.ns && (this.major >= 4));
        this.ie   = (agent.indexOf("msie") != -1);
        this.ie3  = (this.ie && (this.major == 2));
        this.ie4  = (this.ie && (this.major >= 4));
        this.win   = (agent.indexOf("win")!=-1);
        this.mac   = (agent.indexOf("mac")!=-1);
        this.unix  = (agent.indexOf("x11")!=-1);
}

var is = new Is();


if(is.ns4) {
    var doc = "document";
    var sty = "";
    var htm = ".document"
} else if(is.ie4) {
    var doc = "document.all";
    var sty = ".style";
    var htm = ""
}


function  DynamicButton(P_ButtonText,
                        P_LImageFileName,
			P_RImageFileName,
                        P_OnMouseOverText,
                        P_HyperTextCall,
                        P_LanguageCode,
                        P_JavaScriptFlag,
                        P_DisabledFlag,
                        P_TargetFrame)
{
  var l_ImagePath = '/OA_MEDIA/';
  var l_DisabledColor = '#999999';
  var result = '';
  result += '<table border=0 cellpadding=0 cellspacing=0 align=left>';

  if (P_ButtonText)
    result+='<tr><td rowspan=5>';
  else
    result += '<tr><td>';
  result += '<a href="'+P_HyperTextCall+'" ';
  result += 'onMouseOver="window.status=&quot;'+
        P_OnMouseOverText+'&quot; ; return true"';
  if (P_TargetFrame==''){
  result +=' target="_parent"';
  }
  result +='>';
  result +='<img src="'+l_ImagePath+P_LImageFileName+
        '" border=no></a></td>';
  if (P_ButtonText)
    result += '<td></td>';
  if (P_ButtonText)
    result += '<td height=20 width=12 rowspan=5>';
  else
    result +='<td height=20 width=12>';

  result +='<a href="'+P_HyperTextCall+'" ';
  result +='onMouseOver="window.status=&quot;'+
        P_OnMouseOverText+'&quot; ; return true"';
  if (P_TargetFrame==''){
  result +=' target="_parent"';
  }
  result +='>';
  result += '<img src="'+l_ImagePath+P_RImageFileName+
	  '" border=no></a></td>';
  if (P_ButtonText) {
    result +='<tr><td height=1 bgcolor=#ffffff>';
    result += '<img width=1 height=1 src="'+
          l_ImagePath+'APWDBPXW.gif"></td></tr>';
    result+='<tr><td height=20 align=center valign=center'+
          ' bgcolor=#cccccc nowrap>';
    result+='<a href="'+P_HyperTextCall+'" ';
    result+='onMouseOver="window.status=&quot;'+
          P_OnMouseOverText+'&quot; ; return true"';
    if (P_TargetFrame==''){
    result +=' target="_parent"';
    }
    result +='>';

    if (P_DisabledFlag)
        result+='<font class=buttontext>'+P_ButtonText+
          '</font></a></td></tr>';
    else
        result+='<font class=buttontext>'+P_ButtonText+
          '</font></a></td></tr>';

    result+='<tr><td height=1 bgcolor=#666666>';
    result+='<img width=1 height=1 src="'+
          l_ImagePath+'APWDBPXB.gif"></td></tr>';
    result+='<tr><td></td></tr>';
  }

  result+='</table>';
  return result;
}


	var g_strFunc = "upload";
	var g_strImgDir = "/OA_MEDIA/";
   	var g_strHtmlDir ="/OA_HTML/";
  	var g_dcdName = "/pls/JPRD/";
	var g_strDirection = "LTR";
	var g_strBaseHref = "http://banner.juniper.net:8000/";
         var g_strCssDir = "/OA_HTML/US/";

	function help_window () {
    	  displayHelp(4) }
    	  var g_objRegions = new top.Regions();

	function fBlankPage(strColor,strText) {
	if (strText)
        return "<HTML DIR=\""+top.g_strDirection+"\"><BODY
BGCOLOR=#"+strColor+">"+strText+"</BODY></HTML>"
	else
	return "<HTML DIR=\""+top.g_strDirection+"\"><BODY
BGCOLOR=#"+strColor+"></BODY></HTML>"
	}
    
 oR = g_objRegions.aR("AP_WEB_TOOLBAR"); 
oR.aRI("AP_WEB_GOTO_MM", "Go To Main Menu ", 15,15,"N", "N");
oR.aRI("AP_WEB_SAVE", "Save ", 4,30,"N", "N");
oR.aRI("AP_WEB_PRINT", "Print ", 5,5,"N", "N");
oR.aRI("AP_WEB_RELOAD", "Reload ", 6,6,"N", "N");
oR.aRI("AP_WEB_HELP", "Help ", 4,30,"N", "N");
oR.aRI("AP_WEB_APP_NAME", "Expenses ", 8,8,"N", "N");
oR.aRI("AP_WEB_STOP", "Stop the process ", 16,16,"N", "N");
function fDrawButtonsFrame(){

	var d = eval(top.buttons.document);
	d.open();
	d.writeln("<BASE HREF=\""+top.g_strBaseHref+"\">");
	d.writeln("<html DIR=\""+top.g_strDirection+"\"><head>");
	d.writeln("<LINK REL=stylesheet TYPE=text/css
href=\""+top.g_strCssDir+"apwscabo.css\">");
	d.writeln("<SCRIPT LANGUAGE=Javascript>");

	d.writeln("function positionLayers(left,top){");
	d.writeln(" errorObj = eval(parent.doc+'[\"errorLyr\"]'+parent.sty); ");
 	d.writeln("errorObj.left=left;");
 	d.writeln("errorObj.top =top;");
 	d.writeln("errorObj.visibility = \"hidden\";");
 	d.writeln("errorObj.width = screen.width-18;");

 	d.writeln("uploadObj = eval(parent.doc+'[\"uploadLyr\"]'+parent.sty);");
 	d.writeln("uploadObj.left = left;");
 	d.writeln("uploadObj.top = top;");
 	d.writeln("uploadObj.visibility = \"visible\";");
 	d.writeln("uploadObj.width = screen.width-18;");

 	d.writeln("successObj = eval(parent.doc+'[\"successLyr\"]'+parent.sty);");
 	d.writeln("successObj.left = left;");
 	d.writeln("successObj.top = top;");
 	d.writeln("successObj.visibility = \"hidden\";");
 	d.writeln("successObj.width = screen.width-18;");
	d.writeln("}");

	d.writeln("function hide_layer(layername){ ");
 	d.writeln("layerObj = eval(parent.doc+'[\"'+layername+'\"]'+parent.sty);");
 	d.writeln("layerObj.visibility = \"hidden\";");
	d.writeln("}");

	d.writeln("function show_layer(layername){");
 	d.writeln("layerObj = eval(parent.doc+'[\"'+layername+'\"]'+parent.sty);");
 	d.writeln("layerObj.visibility = \"visible\";");
	d.writeln("}");

	d.writeln("<\/SCRIPT>");
	d.writeln("</head>");
	


	d.writeln("<body onLoad=\"javascript:top.buttons.positionLayers(20,0);return
true;\" bgcolor=#336699>");


	d.writeln("<TABLE width=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>");
	d.writeln("<TR class=colorg5>");
	d.writeln("<TD align=left valign=bottom><IMG SRC="+parent.img_dir+"APWCTBL.gif
height=5 width=5></TD>");
	d.writeln("<TD><TABLE width=100% cellpadding=0 cellspacing=0 border=0>");
    	d.writeln("<TR><TD rowspan=3 class=colorg5><IMG
src="+parent.img_dir+"APWPXG5.gif height=5 width=5></TD>");
      	d.writeln("<TD colspan=3 class=colorg5 height=5 width=1000><IMG
src="+parent.img_dir+"APWPXG5.gif height=2></TD>");
      	d.writeln("<TD rowspan=3 class=colorg5><IMG
src="+parent.img_dir+"APWPXG5.gif height=5 width=5></TD></TR>");
    	d.writeln("<TR><TD class=colorg5 nowrap><IMG
src="+parent.img_dir+"APWPXG5.gif height=33 width=1></TD>");
      	d.writeln("<TD class=colorg5></TD>");
      	d.writeln("<TD class=colorg5 align=right nowrap>");
      	d.writeln("</TD></TR>");
    	d.writeln("<TR><TD colspan=3 class=colorg5><IMG
src="+parent.img_dir+"APWPXG5.gif height=1></TD></TR>");
    	d.writeln("</TABLE></TD>");
	d.writeln("<TD align=right valign=bottom><IMG SRC="+parent.img_dir+"APWCTBR.gif
height=5 width=5></TD>");
	d.writeln("</TR>");
	d.writeln("</TABLE>");



	if (top.is.ns4)
	d.writeln("<LAYER ID=\"successLyr\" STYLE = \"position: absolute; width=100;
height=30; visibility=hidden;\" >");
	else
	d.writeln("<DIV ID=\"successLyr\" STYLE = \"position: absolute; width:100px;
height: 30 px; z-index: 1; visibility:hidden;\" >");

	d.write("<table cellpadding=0 cellspacing=0 border=0>");
	d.write("<tr>");
	d.write("<td colspan=3 bgcolor=#cccccc height=5 width=100><img
src="+parent.img_dir+"APWDBPXC.gif height=2></td>");
	d.write("</tr>");
	d.write("<tr>");
	d.write("<td bgcolor=#cccccc nowrap><img src="+parent.img_dir+"APWDBPXC.gif
height=33 width=1></td>");

	d.write("<td bgcolor=#cccccc>");
	d.write(parent.DynamicButton(parent.p_reupload,
                   "APWBRNDL.gif",
                   "APWBRNDR.gif",
                   parent.p_reupload,
                   parent.v_dcdname+"/AP_WEB_DISC_PKG.Upload_Report",
                   parent.v_lang,
                   false,
                   false,""));

	d.write("</td>");
	d.write("<td bgcolor=#cccccc align=right nowrap>");
	d.write("<font class=datablack>&nbsp;&nbsp;&nbsp;</font></td>");
	d.write("</tr>");
	d.write("<tr>");
	d.write("<td colspan=3 bgcolor=#cccccc><img src="+parent.img_dir+"APWDBPXC.gif
height=1></td>");
	d.write("</tr>");
	d.write("</TABLE>");

	if (top.is.ns4) d.writeln("</LAYER>");
	else d.writeln("</DIV>");
	


	if (top.is.ns4) d.writeln("<LAYER ID=\"uploadLyr\" STYLE = \"position: absolute;
width=100; height= 30 ; visibility=visible;\">");
	else d.writeln("<DIV ID=\"uploadLyr\" STYLE = \"position: absolute; width:100 px;
height: 30 px; z-index: 2; visibility:visible;\">");


	d.write("<TABLE cellpadding=0 cellspacing=0 border=0 bgcolor=#336699>");
	d.write(" <tr bgcolor=#336699>");
	d.write("  <td colspan=3 bgcolor=#cccccc height=5 width=100><img
src="+parent.img_dir+"APWDBPXC.gif height=2></td>");
	d.write("  <tr bgcolor=#cccccc>");
	d.write("    <td bgcolor=#cccccc align=left>");
	d.write(parent.DynamicButton(parent.p_clear_rcpt,
                   "APWBRNDL.gif",
                   "APWBRNDR.gif",
                   parent.p_clear_rcpt,
                  
"javascript:parent.clearUploadForm(top.navigation.document.uploadReportForm)",
                   parent.v_lang,
                   false,
                   false,parent.buttons));

	d.write("     </td>");
	d.write("     <td colspan=2 bgcolor=#cccccc align=right nowrap>");
	d.write("     <font class=datablack>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></td>");
	d.write("  </tr>");
	d.write("  <tr>");
	d.write("     <td colspan=3 bgcolor=#cccccc><img
src="+parent.img_dir+"APWDBPXC.gif height=1></td>");
	d.write("  </tr>");
	d.write("</TABLE>");

	if (top.is.ns4) d.writeln("</LAYER>");
	else d.writeln("</DIV>");
	


	if (top.is.ns4) d.writeln("<LAYER ID=\"errorLyr\" STYLE = \"position: absolute;
width=100 ; height= 30 ; visibility=hidden;\" >");
	else d.writeln("<DIV ID=\"errorLyr\" STYLE = \"position: absolute; width:100 px;
height: 30 px; z-index: 3; visibility:hidden;\" >");

	d.write("<table cellpadding=0 cellspacing=0 border=0>");
	d.write("<tr>");
	d.write("<td colspan=3 bgcolor=#cccccc height=5 width=100><img
src="+parent.img_dir+"APWDBPXC.gif height=2></td>");
	d.write("</tr>");
	d.write("<tr>");
	d.write("<td bgcolor=#cccccc nowrap><img src="+parent.img_dir+"APWDBPXC.gif
height=33 width=1></td>");

	d.write("<td bgcolor=#cccccc>");
	d.write(parent.DynamicButton(parent.p_reupload,
                   "APWBRNDL.gif",
                   "APWBRNDR.gif",
                   parent.p_reupload,
                   parent.v_dcdname+"/AP_WEB_DISC_PKG.Upload_Report",
                   parent.v_lang,
                   false,
                   false,""));

	d.write("</td>");
	d.write("<td bgcolor=#cccccc align=right nowrap>");
	d.write("<font class=datablack>&nbsp;&nbsp;&nbsp;</font></td>");
	d.write("</tr>");
	d.write("<tr>");
	d.write("<td colspan=3 bgcolor=#cccccc><img src="+parent.img_dir+"APWDBPXC.gif
height=1></td>");
	d.write("</tr>");
	d.write("</TABLE>");

	if (top.is.ns4) d.writeln("</LAYER>");
	else d.writeln("</DIV>");
	d.writeln("</body>");
	d.writeln("</html>");

	d.close();
	}


  function fDrawButtonSet(nButtonSet){
    var d = eval(top.buttonset2.document);
    d.open();
	d.writeln("<BASE HREF=\""+top.g_strBaseHref+"\">");
	d.writeln("<HTML DIR=\""+top.g_strDirection+"\">");
	d.writeln("<HEAD>");
	d.writeln("<TITLE>Upload Expense Spreadsheet</TITLE>");
	d.writeln("<LINK REL=stylesheet TYPE=text/css
href="+top.g_strCssDir+"apwscabo.css>");
	d.writeln("</HEAD>");
	d.writeln("<BODY class=color3>");
    if (nButtonSet == 1){
	d.writeln("<TABLE width=100% cellpadding=0 cellspacing=0 border=0>");
	d.writeln("    <TR>");
        d.writeln("    <TD align=right>");
	d.writeln("    <table width=300 cellpadding=0 cellspacing=0 border=0>");
        d.writeln("    <tr align=right>");
        d.writeln("    <td valign=center align=right>");

	d.writeln(parent.DynamicButton(parent.p_cancel_rcpt,
                   "APWBRNDL.gif",
                   "APWBSQRR.gif",
                   parent.p_cancel_rcpt,
                   "javascript:parent.CancelExpenseReport()",
                   parent.v_lang,
                   false,
                   false,"parent.buttons"));
	d.writeln(parent.DynamicButton(parent.p_validate_rcpt,
                   "APWBSQRL.gif",
                   "APWBRNDR.gif",
                   parent.p_validate_rcpt,
                  
"javascript:parent.submitUpload(top.navigation.document.uploadReportForm)",
                   parent.v_lang,
                   false,
                   false,"parent.buttons"));

	d.writeln("    </td>");
	d.writeln("    </tr>");
	d.writeln("    </table>");

	d.writeln("</TD></TR>");
	d.writeln("</TABLE>");
    }
    if (nButtonSet == 2){
	d.writeln("<TABLE width=100% cellpadding=0 cellspacing=0 border=0 bgcolor=#336699>");
	d.writeln("    <TR><td height=3></td></TR>");
	d.writeln("    <TR>");
	d.writeln("    <TD align=right>");


 	d.writeln("    <table width = 300 cellpadding=0 cellspacing=0 border=0>");
        d.writeln("    <tr valign = center align=right>");
        d.writeln("    <td valign=center align=right>");

	d.writeln(parent.DynamicButton(parent.p_review,
                   "APWBRNDL.gif",
                   "APWBSQRR.gif",
                   parent.p_review,
                  
"javascript:parent.navigation.discSubmit(top.navigation.document.subform, false)",
                   parent.v_lang,
                   false,
                   false,""));


	d.writeln(parent.DynamicButton(parent.p_cancel_rcpt,
                   "APWBSQRL.gif",
                   "APWBSQRR.gif",
                   parent.p_cancel_rcpt,
                   "javascript:parent.navigation.CancelExpenseReport()",
                   parent.v_lang,
                   false,
                   false,'parent.buttons'));

	d.writeln(parent.DynamicButton(parent.p_submit,
                   "APWBSQRL.gif",
                   "APWBRNDR.gif",
                   parent.p_submit,
                  
"javascript:parent.navigation.discSubmit(top.navigation.document.subform, true)",
		   parent.v_lang,
                   false,
                   false,""));

	d.writeln("    </td>");
	d.writeln("    </tr>");
	d.writeln("    </table>");

	d.writeln("</TD></TR>");
	d.writeln("</TABLE>");
    }
    if (nButtonSet == 3){
	d.writeln("<TABLE width=100% cellpadding=0 cellspacing=0 border=0>");
	d.writeln("    <TR><td height=3></td></TR>");
	d.writeln("    <TR nowrap>");
	d.writeln("    <TD align=right>");
	

	d.writeln("    <table width=300 cellpadding=0 cellspacing=0 border=0>");
        d.writeln("    <TR valign = center align=right>");
        d.writeln("    <TD valign=center align=right>");

	d.writeln(parent.DynamicButton(parent.p_cancel_rcpt,
                   "APWBRNDL.gif",
                   "APWBSQRR.gif",
                   parent.p_cancel_rcpt,
                   "javascript:parent.CancelExpenseReport()",
                   parent.v_lang,
                   false,
                   false,"parent.buttons"));

	d.writeln(parent.DynamicButton(parent.p_continue,
                   "APWBSQRL.gif",
                   "APWBRNDR.gif",
                   parent.p_continue,
                  
"javascript:parent.navigation.discSubmit(top.navigation.document.subform, false)",
                   parent.v_lang,
                   false,
                   false,""));

	d.writeln("    </TD>");
	d.writeln("    </TR>");
	d.writeln("    </table>");

	d.writeln("</TD></TR>");
	d.writeln("</table>");
    }
    d.writeln("</BODY></HTML>");
    d.close();
  }

function clearUploadForm(form) {
    form.p_exp.value="";
    return;
    } 

var p_rcpt_header ="Upload Expense Spreadsheet";


var v_dcdname = "/pls/JPRD";
var img_dir = "/OA_MEDIA/";
var v_lang = "US";

var p_menu = "Menu";
var p_exit = "Exit";
var p_view_rpt = "View Receipts";
var p_exp_smry = "Expense Summary";
var p_er = "Enter Receipts";
var p_app_name = "Expenses";

var p_total = "Total Amount";
var p_reupload = "Reupload";
var p_submit = "Submit";
var p_continue = "Continue";
var p_review = "Review";
var p_cancel = "Cancel Report";

var p_validate_rcpt = "Validate Report";
var p_cancel_rcpt = "Cancel Report";
var p_clear_rcpt = "Clear";



function submitUpload(form) {
      if (form.p_exp.value == "") 
alert("Paste your spreadsheet in the upload area before clicking Skip to Review
or Next.");
      else
        form.submit();
    } 
function help_window(){
	     help_win =
window.open("http://banner.juniper.net:8000/pls/JPRD/fndgfm/fnd_help.get/US/AP/@sse_main",
"help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=600,height=500")}

function CancelExpenseReport() {


  if (!confirm("Are you sure you want to cancel this expense report? Any unsaved
work will be lost."))
    return;
  if (top.opener)
    parent.window.close();
  else{
     if (g_dcdName.charAt(g_dcdName.length-1) == "/") l_dcdName =
g_dcdName.substring(0,g_dcdName.length-1);
     else l_dcdName = g_dcdName;
     location = l_dcdName+"/OracleApps.DMM";
  }
}

<!-- done hiding from old browsers -->

</SCRIPT>
<script src= /OA_HTML/APWUTILI.js></SCRIPT>
</head>

<frameset rows="70,*" border=0 onResize =" history.go(0)">
        <frameset cols="3,*,3" border=0>
        <frame
                        src="javascript:top.fBlankPage('336699');"
                        name=border1
                        marginwidth=0
                        scrolling=no>
        <frame
               
src="javascript:top.fDrawToolbar(true,false,true,false,'top.navigation','Upload
Expense Report');"
                name=framToolbar
                marginwidth=0
                scrolling=no>
        <frame
                        src="javascript:top.fBlankPage('336699');"
                        name=border1
                        marginwidth=0
                        scrolling=no>
        </frameset>

        <frameset cols="3,*,3" border=0>
                <frame
                        src="javascript:top.fBlankPage('336699');"
                        name=border1
                        marginwidth=0
                        scrolling=no>
                <frameset rows="*,45,35" border=0 >
                <frame SRC=/pls/JPRD/AP_WEB_DISC_PKG.UploadReportBody
NAME=navigation NORESIZE SCROLLING="auto">
                <frame
			src="javascript:top.fDrawButtonsFrame()"

                        name=buttons
                        marginwidth=0
                        scrolling=no>
		<frame
			src="javascript:top.fDrawButtonSet(1);"

                        name=buttonset2
                        marginwidth=0
                        scrolling=no>
                </frameset>
                <frame
                        src="javascript:top.fBlankPage('336699');"
                        name=border2
                        marginwidth=0
                        scrolling=no>
        </frameset>

</frameset>

</html>

Actual Results:  A couple of key buttons are missing, and the javascript console
reports the following error:

Error: top.buttons.uploadObj has no properties
Source File: http://banner.juniper.net:8000/pls/JPRD/AP_WEB_DISC_PKG.ParseMain
Line: 65

After you press validate, you get the page who's html I've pasted above, and it
says "12 receipt(s) uploaded. No errors found. Submit your expense report, or
press the Review button to review your expense report before submitting it." But
there are no "Submit" or "Review" buttons.




Expected Results:  Presented the missing buttons 8-)

Comment 1

16 years ago
Avram, please attach the HTML to this bug as a file for easier access.
(Reporter)

Comment 2

16 years ago
Created attachment 85439 [details]
page which links to theh problem page

This page contains a javascript button called "Validate." This is the button
that returns the page with the problem, after you paste the contents of a
spreadsheet into the "Spreadsheet Upload Area" text block.
(Reporter)

Comment 3

16 years ago
Created attachment 85441 [details]
Actual problem page

This page has several buttons which do not render, including "Review,"
"Submit," and other.s It has two buttons that do render, "Cancel Report" and
"Validate Report". Actually, it also has a toolbar with several buttons at the
top which appear to render fine, but they have images rather than labels, so I
don't know what they are called. Probably something like "main menu," "home,"
"save," "print," something I can't guess, and "help."

I suspect that this page "includes" other stuff. I'm not very good at reading
javascript, but if it does, and someone can tell me what I need to get, I'll
upload that too.

Comment 4

16 years ago
A lot of files is missing.

/OA_HTML/APWOBJT4.js
/OA_HTML/APWOBJT3.js
/OA_HTML/APWOBJT6.js
/OA_HTML/APWOBJT2.js
/OA_HTML/APWOBJT5.js
/OA_HTML/APWOBJT1.js
/OA_HTML/APWTOOLB.js
/OA_HTML/US/apwscabo.css
/OA_MEDIA/APWDBPXW.gif
/OA_MEDIA/APWDBPXB.gif
/OA_MEDIA/APWCTBL.gif
/OA_MEDIA/APWPXG5.gif
/OA_MEDIA/APWCTBR.gif
/OA_MEDIA/APWDBPXC.gif
/OA_MEDIA/APWBRNDL.gif
/OA_MEDIA/APWBRNDR.gif
/OA_MEDIA/APWBSQRR.gif
/OA_MEDIA/APWBSQRL.gif
/pls/JPRD/OracleApps.DMM (the dir may be different)
/pls/JPRD/AP_WEB_DISC_PKG.UploadReportBody
/pls/JPRD/fndgfm/fnd_help.get/US/AP/@sse_main

*sigh* That's not fun. I might have missed many more, and even more may be
linked from the ones listed above, so if that doesn't compromise your security
nor violates some license, it would be best if you just zipped that chunk of the
whole tree and submitted it. 

(Reporter)

Comment 5

16 years ago
I will try to get the specified files.
(Reporter)

Comment 6

16 years ago
By the way, I tried this with the OS9 version of Netscape (v 4.77), and it all 
worked fine. I read the part about "quirks" mode, but I dont' really know 
how to tell if that is what this issue is. Just wanted to make sure you know 
that there is netscape code out there for the mac that handles these 
pages.
(Reporter)

Comment 7

16 years ago
Also, after having tried this on 4.77, I can add that the "calling page" which 
I submitted should show a "clear" button which it does not, and the "actual 
problem page" should *not* show the "Validate Report" or "Cancel 
Report" buttons, which it does.
Avram, the most effective thing to do here may be to "save page, complete" the
site, zip up all the files mozilla saves, and attach the archive to this bug
(assuming that the information on the page is not priveleged, of course).
(Reporter)

Comment 9

16 years ago
Created attachment 89293 [details]
complete version of web page, w/ .js files

Thanks for the suggestion, I wasn't sure how I would get them.
From that page:

if(is.ns4) {
    var doc = "document";
    var sty = "";
    var htm = ".document"
} else if(is.ie4) {
    var doc = "document.all";
    var sty = ".style";
    var htm = ""
}

We follow the "ns4" branch, since is.ns4 is true for "Netscape" of version "> 4".

d.writeln("uploadObj = eval(parent.doc+'[\"uploadLyr\"]'+parent.sty);");

This tries to access document["uploadLyr"] which is undefined, since that's
netscape4-only syntax.

Hence things break.
Assignee: jst → susiew
Status: UNCONFIRMED → NEW
Component: DOM Other → US General
Ever confirmed: true
OS: MacOS X → All
Product: Browser → Tech Evangelism
QA Contact: gerardok → zach
Hardware: Macintosh → All
Version: other → unspecified

Comment 11

15 years ago
Avram, is this still an issue? What version of Oracle Application do you have
installed ? Is there an upgrade available? I recommend contacting Oracle support
and asking them if they have a version which you can upgrade to that supports
Mozilla.
Summary: specific javascript objects (buttons) do not render/appear → oracle app - specific javascript objects (buttons) do not render/appear
(Reporter)

Comment 12

15 years ago
We have upgraded the Oracle app, the issue no longer affects us. Thanks!

Comment 13

15 years ago
excellant! -> fixed.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.