Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\jlib\_database\_security\_selectObjectPage.class
?? 14 -./0 12 13 456 4789 4: 1; 4< 4= 4>?@ ABCDEFGHIJKLMNOPQRSTUVWXYZ[ \ ]^ _` a bc d e 4fg Ah a b d e i Aj a b e a b e a bk l e i i a b e a bm no pq rs t e a b l e a bu nv w e ixy z{| a b} ~ e a b e a b e a b ? e a b? ?? ? e i? ? a b e !a !b? !?? !? !e !i i i "a "b "d? "? "n? "? "e "i i?? ? #a #b #d? #? #n #e? #i $a $b $w $n? $? $e $i i i %a %b %e &a &b? &?? &?? &?? &?? &? &p &? &n &e 'a 'b 'e (a (b? (?? (?? (? (e (i 'i &i %i )a )b )e *a *b *e +a +b? +?? +? +e +i? *i )i i i i i i?? ]?? 4??? ??????????????????????????????????????????? ?? ???? __oracle_jsp_text [[C <init> ()V Code LineNumberTable _jspService R(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V Exceptions?? <clinit> SourceFile _selectObjectPage.java!" text/html; charset=UTF-8??????????? oracle.jsp.requestRedirected?? oracle.jsp.pageDontNotify true?????????? ,oracle/cabo/ui/jsps/tags/RenderingContextTag compiletime??? (oracle/sysman/emSDK/jsp/SetURLEncoderTag $oracle/cabo/ui/jsps/tags/DocumentTag )oracle/cabo/ui/jsps/tags/MetaContainerTag oracle/cabo/ui/jsps/tags/HeadTag oracle/cabo/ui/jsps/tags/BodyTag oracle/sysman/db/tag/FormTag &oracle/cabo/ui/jsps/tags/PageLayoutTag %oracle/cabo/ui/jsps/tags/FormValueTag 'oracle/cabo/ui/jsps/tags/TableLayoutTag %oracle/cabo/ui/jsps/tags/RowLayoutTag &oracle/cabo/ui/jsps/tags/CellFormatTag "oracle/cabo/ui/jsps/tags/HeaderTag &oracle/cabo/ui/jsps/tags/StyledTextTag $oracle/cabo/ui/jsps/tags/ContentsTag )oracle/cabo/ui/jsps/tags/MessagePromptTag !oracle/sysman/emSDK/jsp/ChoiceTag %oracle/cabo/ui/jsps/tags/TextInputTag (oracle/cabo/ui/jsps/tags/SubmitButtonTag 'oracle/cabo/ui/jsps/tags/StackLayoutTag oracle/sysman/emSDK/jsp/TableTag *oracle/cabo/ui/jsps/tags/TableSelectionTag -oracle/cabo/ui/jsps/tags/MultipleSelectionTag 'oracle/cabo/ui/jsps/tags/PageButtonsTag )oracle/cabo/ui/jsps/tags/PageButtonBarTag "oracle/cabo/ui/jsps/tags/ButtonTag ???? ? renderingContext? &oracle/cabo/ui/ServletRenderingContext 0searchObjPageTitle@objectPageBean@servletRequest? foo? ,destination@selectObjPageBean@servletRequest? post? target,type,oname,cancelURL? pageName #/database/security/selectObjectPage? selectedObjectNames 4selectedObjectNames@selectObjPageBean@servletRequest? event changeSelectObjectSearchCriteria 4? 'SEARCH@uixDBObjectBundle@servletRequest? 4SEARCH_INSTRUCTIONS@uixDBObjectBundle@servletRequest OraPromptText? left? 'SCHEMA@uixDBObjectBundle@servletRequest? destLovSchemaName? 2destLovSchemaName@selectObjPageBean@servletRequest? 3destLovSchemaNames@selectObjPageBean@servletRequest? 1searchObjPagePrompt@objectPageBean@servletRequest selectObjectSearchCriteria ;selectObjectSearchCriteria@selectObjPageBean@servletRequest 'oracle/cabo/ui/beans/form/TextInputBean #GO@uixDBObjectBundle@servletRequest selectObjPageBean? selectObjectUI? 100% ? /NO_ITEMS_FOUND@uixDBObjectBundle@servletRequest!? 10"?#? *selection@selectObjPageBean@servletRequest$? selected%? 'SELECT@uixDBObjectBundle@servletRequest&? javascript:self.close()'? 'CANCEL@uixDBObjectBundle@servletRequest javascript:lovSelect() java/lang/Throwable #javax/servlet/jsp/SkipPageException(" java/lang/Exception)* [C +,- ? <noscript>JavaScript is not supported by your browser. Oracle requires JavaScript support in order to completely render this page.</noscript> 7 <script language="JavaScript" > ?unction launchLov(lovUrl, windowWidth, windowHeight) { window.open(lovUrl, 'lovWindow', 'scrollbars=yes,resizable=yes,height='+windowHeight+',width='+windowWidth); } function lovOK(lovList, lovField) { if (lovList.selectedIndex == -1) { alert("Please select a value"); return; } lovField.value = lovList.options[lovList.selectedIndex].text; window.close(); } A </script> <script language="JavaScript" > ?unction getTableName( a0 ) { var a1=a0.name; if(a1==(void 0)) return; var a2=a1.indexOf(":"); if(a2>=0) return a1.substring(0,a2); } function getTableRow( a0 ) { var a1=a0.name; if(a1==(void 0)) return; var a2=a1.lastIndexOf(":"); if(a2>=0) { var a3=a1.substring(a2+1); return Number(a3); } } function getTableElementName( a0 ) { var a1=a0.name; if(a1==(void 0)) return; var a2=a1.indexOf(":"); if(a2>=0) { var a3=a1.lastIndexOf(":"); if(a3>=0) { return a1.substring((a2+1),a3); } } } function tableSelectAll( a0 ) { new TableProxy(a0).selectAll(); } function tableSelectNone( a0 ) { var a1=new TableProxy(a0); a1.selectNone(); } function TableProxy( a0, a1, a2 ) { this.tableName=a0; var a3=a0+":length"; var a4=document; if(a2!=(void 0)) { a4=a2.document; } if(a1!=(void 0)) { this.formName=a1; } else { var a5=a4.forms.length; for(var a6=0;a6<a5;a6++) { if(a4.forms[a6][a3]!=(void 0)) { this.formName=a4.forms[a6].name; break; } } } this._form=a4.forms[this.formName]; this.length=this._form[a3].value; } TableProxy.prototype.getValue=_getTableValue; TableProxy.prototype.getLength=_getTableLength; TableProxy.prototype.getSelectedRow=_getSelectedRow; TableProxy.prototype.getSelectedRows=_getSelectedRows; TableProxy.prototype.setSelectedRow=_setSelectedRow; TableProxy.prototype.getFormElement=_getFormElement; TableProxy.prototype.isMultiSelect=_isMulti; TableProxy.prototype.selectAll=_selectAll; TableProxy.prototype.getSelectAll=_getSelectAll; TableProxy.prototype.selectNone=_selectNone; TableProxy.prototype.getSelectNone=_getSelectNone; TableProxy.prototype._multiSelect=_multiSelect; function _hasSelection() { var a0=this._form; var a1=this.tableName+":selected"; if(a0[a1]!=(void 0)) return true; a1=this.tableName+":selectMode"; return(a0[a1]!=(void 0)); } function _getTableValue() { var a0="_"+this.tableName+"_value"; if(window[a0]!=(void 0)) return window[a0]-1; return 0; } function _getSelectedRow() { if(!(this._hasSelection())) return-1; var a0=this._form[this.tableName+":selected"]; if(a0==(void 0)) return-1; else if(a0.length!=(void 0)) { var a1; for(var a2=0;a2<a0.length;a2++) { a1=a0[a2]; if((a1!=(void 0))&&a1.checked) return a2; } } else if(a0.checked) { return a0.value; } return-1; } function _getSelectedRows() { if(!(this._hasSelection())) return-1; var a0; var a1=new Array(); var a2=0; for(var a3=0;a3<this.length;a3++) { a0=this.tableName+":selected:"+a3; a0=this._form[a0]; if((a0!=(void 0))&&a0.checked) { a1[a2]=a3; a2++; } } return a1; } function _getTableLength() { return this.length; } function _getFormElement( a0, a1 ) { var a2=this.tableName+":"+a0+":"+a1; return this._form[a2]; } function _isMulti() { var a0=this.tableName+":selected:0"; a0=this._form[a0]; return(a0!=(void 0)); } function _selectAll() { this._multiSelect(true); } function _getSelectAll() { if(!(this._hasSelection())) return false; var a0=this.tableName+":selectMode"; var a1=this._form[a0]; if(a1!=(void 0)) { return a1.value=="all"; } return false; } function _selectNone() { this._multiSelect(false); } function _getSelectNone() { if(!(this._hasSelection())) return false; var a0=this.tableName+":selectMode"; var a1=this._form[a0]; if(a1!=(void 0)) { return a1.value=="none"; } return false; } function _multiSelect( a0 ) { if(!(this._hasSelection())) return; var a1; var a2=0; for(var a3=0;a3<this.length;a3++) { a1=this.tableName+":selected:"+a3; a1=this._form[a1]; if((a1!=(void 0))&& (!a1.disabled)) { a1.checked=a0; } } var a4=this.tableName+":selectMode"; var a5=this._form[a4]; if(a5!=(void 0)) { if(a0) a5.value="all"; else a5.value="none"; } } function _tableProxyToString() { var a0="TableProxy, tableName="+this.tableName+"\n"; a0+="form="+this.formName+"\n"; a0+="_hasSelection="+this._hasSelection()+"\n"; a0+="selectedRow="+this.getSelectedRow()+"\n"; a0+="selectedRows="+this.getSelectedRows()+"\n"; a0+="getLength="+this.getLength()+"\n"; a0+="selectMode="; var a1=this.tableName+":selectMode"; var a2=this._form[a1]; if(a2!=null) a0+=a2.value+"\n"; else a0+="NULL\n"; return a0; } function _setSelectedRow(a0) { if(a0==(void 0)) return; var a1=this._form[this.tableName+":selected"]; if(a1==(void 0)) { a1=this._form[this.tableName+":selected:"+a0]; } if(a1==(void 0)) { return; } else if(a1.length!=(void 0)) { for(var a2=0;a2<a1.length;a2++) { if((a1[a2]!=(void 0))&&(a1[a2].value==a0)) a1[a2].checked=true; } } else if(a1.value==a0) { a1.checked=true; } return; } TableProxy.prototype._hasSelection=_hasSelection; TableProxy.prototype.toString=_tableProxyToString; ? </script> <script> function getAllRows() { var proxy = new TableProxy('selectObjectUI'); var a0; var a1=new Array(); var a2=0; for(var a3=0;a3<proxy.length;a3++) { a0=proxy.tableName+":0:"+a3; a0=proxy._form[a0]; a1[a2]=a3; a2++; } for(var m=0; m < a1.length;m++) { var index = a1[m]; var element = proxy.getFormElement('obj', index); var schmelement = document.foo.destLovSchemaName.options[document.foo.destLovSchemaName.selectedIndex].text + "." + element.value; //alert(document.foo.selectedObjectNames.value); //remove from the selobjectnames list if existing earlier to account for items checked off..if it was not checked off, it will be added again later if(document.foo.selectedObjectNames.value.indexOf(schmelement) !=-1) { //alert("in getallrows"); //alert(schmelement); var o = document.foo.selectedObjectNames.value.indexOf(schmelement); var tmpstr = document.foo.selectedObjectNames.value.substring(0,o -1); //alert("first substring"); //alert(tmpstr); if(tmpstr.charAt(tmpstr.length) != ",") { tmpstr = tmpstr + ","; } else { tmpstr = tmpstr; } var tmpstr2 = document.foo.selectedObjectNames.value.substring(o + schmelement.length + 1); //alert("second substring"); //alert(tmpstr2); if(tmpstr2.length == 0) { document.foo.selectedObjectNames.value = tmpstr + tmpstr2 + ","; } else { document.foo.selectedObjectNames.value = tmpstr + tmpstr2; } //alert(document.foo.selectedObjectNames.value); } } } function lovSelect() { //this is needed for allowing deselection when navigating getAllRows(); //alert("after getallrows"); //alert(document.foo.selectedObjectNames.value); if(document.foo.selectedObjectNames.value.charAt(document.foo.selectedObjectNames.value.length -2) == ",") { document.foo.selectedObjectNames.value = document.foo.selectedObjectNames.value.substring(0,document.foo.selectedObjectNames.value.length -1); //alert(document.foo.selectedObjectNames.value); } else { document.foo.selectedObjectNames.value = document.foo.selectedObjectNames.value; } //alert("finished getallrows"); var proxy = new TableProxy('selectObjectUI'); var selectedItems = proxy.getSelectedRows(); var objs=""; if(selectedItems.length >= 1) { for(var i=0; i < selectedItems.length;i++) { var selectedIndex = selectedItems[i]; var selectedElement = proxy.getFormElement('obj', selectedIndex); if (objs == "") { if(window.opener.document.selectObj.selectedSchemaObjectName.value.indexOf(document.foo.destLovSchemaName.options[document.foo.destLovSchemaName.selectedIndex].text + "." + selectedElement.value) ==-1 && document.foo.selectedObjectNames.value.indexOf(document.foo.destLovSchemaName.options[document.foo.destLovSchemaName.selectedIndex].text + "." + selectedElement.value)==-1 ) { //alert("before adding in 1 loop"); //alert(objs); objs = document.foo.destLovSchemaName.options[document.foo.destLovSchemaName.selectedIndex].text + "." + selectedElement.value; //alert(objs); //alert("after adding in 1 loop"); } } else { //check in objs as well as in previous selected items in the opener window if(window.opener.document.selectObj.selectedSchemaObjectName.value.indexOf(document.foo.destLovSchemaName.options[document.foo.destLovSchemaName.selectedIndex].text + "." + selectedElement.value)==-1 && document.foo.selectedObjectNames.value.indexOf(document.foo.destLovSchemaName.options[document.foo.destLovSchemaName.selectedIndex].text + "." + selectedElement.value)==-1 && objs.indexOf(document.foo.destLovSchemaName.options[document.foo.destLovSchemaName.selectedIndex].text + "." + selectedElement.value)==-1 ) { //alert("before adding in 2 loop"); //alert(objs); objs = objs + "," + document.foo.destLovSchemaName.options[document.foo.destLovSchemaName.selectedIndex].text + "." + selectedElement.value; //alert(objs); //alert("after adding in 2 loop"); } } } } if(window.opener.document.selectObj.selectedSchemaObjectName.value.length == 0) { //alert("length of prev page schema is 0"); //alert(document.foo.selectedObjectNames.value); //alert(objs); window.opener.document.selectObj.selectedSchemaObjectName.value = document.foo.selectedObjectNames.value + objs; } else { //need to check for previously added items..check done in code for getting selectedobjnames if(document.foo.selectedObjectNames.value + objs != "") { window.opener.document.selectObj.selectedSchemaObjectName.value = window.opener.document.selectObj.selectedSchemaObjectName.value + "," + document.foo.selectedObjectNames.value + objs; } } document.foo.submit(); self.close(); } </script> * % ( $ ./0123 %_database/_security/_selectObjectPage %com/orionserver/http/OrionHttpJspPage java/io/IOException javax/servlet/ServletException &javax/servlet/http/HttpServletResponse setContentType (Ljava/lang/String;)V javax/servlet/jsp/JspFactory getDefaultFactory ()Ljavax/servlet/jsp/JspFactory; getPageContext ?(Ljavax/servlet/Servlet;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljava/lang/String;ZIZ)Ljavax/servlet/jsp/PageContext; javax/servlet/jsp/PageContext getSession "()Ljavax/servlet/http/HttpSession; getAttribute '(Ljava/lang/String;I)Ljava/lang/Object; setAttribute ((Ljava/lang/String;Ljava/lang/Object;I)V releasePageContext "(Ljavax/servlet/jsp/PageContext;)V getServletContext ()Ljavax/servlet/ServletContext; getOut ()Ljavax/servlet/jsp/JspWriter; getServletConfig ()Ljavax/servlet/ServletConfig; #oracle/jsp/runtime/OracleJspRuntime getTagHandler b(Ljavax/servlet/jsp/PageContext;Ljava/lang/Class;Ljava/lang/String;)Ljavax/servlet/jsp/tagext/Tag; javax/servlet/jsp/JspWriter write ([C)V $oracle/cabo/share/util/CaboHttpUtils setNoCacheHeaders +(Ljavax/servlet/http/HttpServletResponse;)V setPageContext setParent !(Ljavax/servlet/jsp/tagext/Tag;)V setId doStartTag ()I findAttribute &(Ljava/lang/String;)Ljava/lang/Object; checkStartTagEval (I)Z doEndTag extraHandlePCFinally #(Ljavax/servlet/jsp/PageContext;Z)V setTitleBinding setName setDestinationBinding setMethod setCopyParams setValue setValueBinding setCellSpacing setTextBinding setStyleClass sethAlign setPromptBinding setLabeledNodeId setSelectedValueBinding setOptionsBinding setBeanKey setDataSourceProp setWidth setAlternateTextBinding setBlockSize setFormSubmitted setSelectionBinding setSelectedBinding setShortDescBinding setDestination clear handlePageException (Ljava/lang/Throwable;)V java/lang/String toCharArray ()[C java/lang/System err Ljava/io/PrintStream; java/io/PrintStream println (Ljava/lang/Object;)V ! !"