Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\page\LOV.js
var preFilter = new Array(10); var initFilter= new Array(10); var indexInitFilter = 0; var indexPreFilter = 0; var destField; var bAppendData = false; var bSelectMultiple = false; var bPreserveCase = false; var bConvertToUpperCase = false; function callBackLov() { return (destField); } function setSearchFilterFromChoice(filterField) { obj = eval (document.forms[0][filterField]); setInitFilterData(obj[obj.selectedIndex].value); } function setSearchFilter(filterField) { obj = eval (document.forms[0][filterField]); setInitFilterData(obj.value); } function setInitFilterData(filterData) { initFilter[indexInitFilter++] = filterData; } function setBindSqlParmFromChoice(filterField) { obj = eval (document.forms[0][filterField]); setPreFilterData(obj[obj.selectedIndex].value); } function setBindSqlParm(filterField) { obj = eval (document.forms[0][filterField]); setPreFilterData(obj.value); } function setPreFilterData(filterData) { preFilter[indexPreFilter++] = filterData; } function appendData() { bAppendData = true; } function selectMultiple() { bSelectMultiple = true; } function preserveCase() { bPreserveCase = true; } function convertToUpperCase() { bConvertToUpperCase = true; } function startLov(targetFieldName, lovID) { startLov(targetFieldName, lovID, ''); } function startLov(targetFieldName, lovID, misc) { obj = eval (document.forms[0][targetFieldName]); if (obj.disabled) { bAppendData = false; bSelectMultiple = false; indexInitFilter = 0; indexPreFilter = 0; return false; } sURL = "/em/console/page/selectLOV?target="+queryString('target'); sURL +="&type="+queryString('type'); sURL +="×tamp="+ (new Date()).getTime(); sURL +="&lovID="+lovID+ "&targetFieldName="+targetFieldName; if (bAppendData) { sURL += "&appendData=1"; bAppendData = false; } if (bSelectMultiple) { sURL += "&selectMultiple=1"; bSelectMultiple = false; } if (bPreserveCase) { sURL += "&preserveCase=1"; bPreserveCase = false; } if (bConvertToUpperCase) { sURL += "&convertToUpperCase=1"; bConvertToUpperCase = false; } if (indexInitFilter > 0) { s = ""; for (i=0; i < indexInitFilter; i++) s += "&filter"+i+"="+ encodeURIComponent(initFilter[i]); sURL += s; indexInitFilter = 0; } if (indexPreFilter > 0) { s = ""; for (i=0; i < indexPreFilter; i++) s += "&preFilter"+i+"="+ encodeURIComponent(preFilter[i]); sURL += s; indexPreFilter = 0; } if ((misc != null) && (misc.length > 0)) sURL += "&"+misc; openWindow(window, sURL, 'em_page_lovWindow', {width:700, height:600}, true, 'dialog', callBackLov); } function queryString(key) { sUrl = unescape(location.search.substring(1)); i = sUrl.indexOf(key+"="); if ( i >= 0 ) { sUrl = sUrl.substring( key.length+i+1 ); i = sUrl.indexOf("&"); return(sUrl.substring( 0, (i>=0) ? i : sUrl.length )); } return(""); }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de