Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\admin\rep\postBackWithEvent.uix
<page xmlns="http://xmlns.oracle.com/uix/controller" xmlns:ctrl="http://xmlns.oracle.com/uix/controller" xmlns:baja="http://bali.us.oracle.com/cabo/baja" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:data="http://bali.us.oracle.com/cabo/marlin" > <baja:head xmlns="http://bali.us.oracle.com/cabo/marlin" xmlns:uix="http://bali.us.oracle.com/cabo/marlin" xmlns:html="http://www.w3.org/TR/REC-html40"> <dataScope> <contents> <html:title> <text text="Oracle Enterprise Manager - Please wait - page loading..."/> </html:title> <html:noScript> "This page uses JavaScript to perform the list of values lookup. Your browser either does not support JavaScript, or it is disabled. Please enable JavaScript, or upgrade your browser." </html:noScript> </contents> <provider> <data xmlns="http://bali.us.oracle.com/cabo/marlin" name=""> <method class="" method=""/> </data> </provider> </dataScope> </baja:head> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin" xmlns:baja="http://bali.us.oracle.com/cabo/baja" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" xmlns:uix="http://bali.us.oracle.com/cabo/marlin" xmlns:html="http://www.w3.org/TR/REC-html40"> <body onLoad="loadMe();"><contents> <script type="text/javascript"><contents> function loadMe() { //Read parent form elements var i, j; //var numOfForms = window.opener.document.forms.length; var numOfElementsInCurForm; var curForm; //Every calling page should handle his event var eventName = "ct_add"; //default /*var curFormAction = document.forms[0].action; var eventStrIndex = curFormAction.indexOf("event="); if(eventStrIndex > 0) { eventName = curFormAction.substring(eventStrIndex+6); }*/ //New form action for the parent form var newFormAction = window.opener.document.forms[0].action; if(newFormAction.indexOf("?") > 0) { newFormAction = newFormAction + "&event=" + eventName; } else { newFormAction = newFormAction + "?event=" + eventName; } //Write the parent form elements to iframe var d = frames.hiddenIFrame.document; d.write("<html><body>"); d.write("<form action='" + newFormAction + "' target='_parent' method='POST'>"); //We'll read UI elements from the first form only. for (i=0; i < 1; i++) { curForm = window.opener.document.forms[i]; numOfElementsInCurForm = curForm.elements.length; for (j=0; j < numOfElementsInCurForm; j++) { if(curForm.elements[j].type!='select-one') { //Radio buttons if((curForm.elements[j].type=='radio')||(curForm.elements[j].type=='checkbox')) { if(curForm.elements[j].checked) { d.write("<input type='" + curForm.elements[j].type + "' name='" + curForm.elements[j].name + "' value='" + curForm.elements[j].value + "' checked />"); } else { d.write("<input type='" + curForm.elements[j].type + "' name='" + curForm.elements[j].name + "' value='" + curForm.elements[j].value + "'/>"); } } else { d.write("<input type='" + curForm.elements[j].type + "' name='" + curForm.elements[j].name + "' value='" + curForm.elements[j].value + "'/>"); } } else { d.write("<select name='" + curForm.elements[j].name + "'><option value='" + curForm.elements[j].value + "' selected></select>"); } } } d.write("<form><body><html>"); d.close(); //Submit the form in the iframe d.forms[0].submit(); } </contents></script> <dataScope><contents> <form name="postBackWithEvent" xmlns="http://xmlns.oracle.com/uix/ui" method="POST"><contents> <html:iframe frameborder="0" name="hiddenIFrame" src="" width="0" title=" " height="0"/> </contents></form> </contents></dataScope> </contents></body> </baja:content> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de