Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\jlib\_database\_schema\_multiSelectSchemaPage.class
?? 1 !" #$ #% &'( &)*+ &, #- &. &/ &012 3456789:;<=>?@ABCDEFGHIJK L MN OP Q RS T U &VW 3X Q RY Z[ \ U ] 3^_` Q R T U ] Q R U Q R U Q Ra b U ] ] Q Rc d U Q R U Q Re \f gh ij k U Q Rl \m n U ]op q Q R b U Q Rr s U Q Rt u U Q R Uv Q Rw Tx yz s \ U{ ] !Q !R| !n} !\~ !s !U !] ] ] "Q "R "? "U #Q #R #\ #U?? ? $Q $R? $?? $?? $? $?? $? $? $\ $U %Q %R %U &Q &R? &? &U &] %] $] #] "] ] 'Q 'R 'U (Q (R (U )Q )R? )?? )s )U )]? )g? (] '] ] ] ] ] ] ]?? M?? &??? ???????????????????????????????????????????? ?? ???? __oracle_jsp_text [[C <init> ()V Code LineNumberTable _jspService R(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V Exceptions?? <clinit> SourceFile _multiSelectSchemaPage.java text/html; charset=UTF-8??????????? oracle.jsp.requestRedirected?? oracle.jsp.pageDontNotify true?????????? ,oracle/cabo/ui/jsps/tags/RenderingContextTag compiletime??? "oracle/cabo/ui/jsps/tags/BundleTag (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/cabo/ui/jsps/tags/ContentsTag oracle/sysman/db/tag/FormTag %oracle/cabo/ui/jsps/tags/FormValueTag &oracle/cabo/ui/jsps/tags/PageLayoutTag "oracle/cabo/ui/jsps/tags/HeaderTag 'oracle/cabo/ui/jsps/tags/TableLayoutTag %oracle/cabo/ui/jsps/tags/RowLayoutTag ,oracle/cabo/ui/jsps/tags/MessageTextInputTag (oracle/cabo/ui/jsps/tags/SubmitButtonTag $oracle/cabo/ui/jsps/tags/SwitcherTag oracle/cabo/ui/jsps/tags/CaseTag 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?? oracle.sysman.db.rsc.DBObjectMsg?? DBObjectBundle?????? oracle.sysman.db.rsc.sec.UserMsg UsersBundle 'SEARCH_AND_SELECT_HEADER@DBObjectBundle?? addChecks()?? foo %destination@objectBean@servletRequest ? post? $target,type,cancelURL,multipleselect? pageName &/database/schema/multiSelectSchemaPage? selectedObjectNames -selectedSchemaNames@objectBean@servletRequest? SELUSERS@UsersBundle? 2? SEARCH@DBObjectBundle schemaSearchCriteria USERS@DBObjectBundle? .schemaSearchCriteria@objectBean@servletRequest 1oracle/cabo/ui/beans/message/MessageTextInputBean changeSchemaSearchCriteria event GO@DBObjectBundle +showSearchResults@objectBean@servletRequest? RESULTS@DBObjectBundle 80% ? schemaDataSource ? 100% NO_ITEMS_FOUND@DBObjectBundle?? 10 ?? SELECT_A_VALUE@DBObjectBundle? javascript:self.close()? CANCEL@DBObjectBundle &selectSchemaDestination@servletRequest SELECT@DBObjectBundle 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> / <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(); } < </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 removePrevSelected() { var proxy = new TableProxy('schemaDataSource'); for(var m=0; m < proxy.length; m++) { var element = proxy.getFormElement('Hidden', m); var schmelement = element.value; // Remove from selectedObjectNames list if found in case // user unchecks it. If user keeps selection, it will be // added back. if (document.foo.selectedObjectNames.value.indexOf(schmelement) != -1) { var i = document.foo.selectedObjectNames.value.indexOf(schmelement); var tmpstr = document.foo.selectedObjectNames.value.substring(0,i-1); var tmpstr2 = document.foo.selectedObjectNames.value.substring(i + schmelement.length + 1); if (tmpstr2.length > 0) { document.foo.selectedObjectNames.value = tmpstr + "," + tmpstr2; } else { document.foo.selectedObjectNames.value = tmpstr; } } } } function lovSelect(lovField) { // This is needed to allow deselection when navigating removePrevSelected(); var proxy = new TableProxy('schemaDataSource'); 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('Hidden', selectedIndex); // First time if (objs == "") { // Only add current selection if we don't already have that // value if (lovField.value.indexOf(selectedElement.value) == -1 && document.foo.selectedObjectNames.value.indexOf(selectedElement.value) == -1) { objs = selectedElement.value; } } else { // Only add current selection if we don't already have that // value if (lovField.value.indexOf(selectedElement.value) == -1 && document.foo.selectedObjectNames.value.indexOf(selectedElement.value) == -1 && objs.indexOf(selectedElement.value) == -1) { objs = objs + ", " + selectedElement.value; } } } } // Build fresh return values list from 3 sources: new selections // (objs), previous LOV field values (lovField) and // selections from previous pages in LOV popup (selectedObjectNames) var retVals = ""; // 1st source: selectedObjectNames var tmpRes = document.foo.selectedObjectNames.value; while (tmpRes.indexOf(",") != -1) { var i = tmpRes.indexOf(","); var oneVal = tmpRes.substring(0, i); while (oneVal.charAt(0) == " ") { oneVal = oneVal.substring(1); } if (retVals.indexOf(oneVal) == -1) { if (retVals == "") { retVals = oneVal; } else { retVals = retVals + ", " + oneVal; } } tmpRes = tmpRes.substring(i+1); } // Handle last value if (retVals.indexOf(tmpRes) == -1) { while (tmpRes.charAt(0) == " ") { tmpRes = tmpRes.substring(1); } if (retVals == "") { retVals = tmpRes; } else { retVals = retVals + ", " + tmpRes; } } // 2nd source: lovField tmpRes = lovField.value; while (tmpRes.indexOf(",") != -1) { var i = tmpRes.indexOf(","); var oneVal = tmpRes.substring(0, i); while (oneVal.charAt(0) == " ") { oneVal = oneVal.substring(1); } if (retVals.indexOf(oneVal) == -1) { if (retVals == "") { retVals = oneVal; } else { retVals = retVals + ", " + oneVal; } } tmpRes = tmpRes.substring(i+1); } // Handle last value if (retVals.indexOf(tmpRes) == -1) { while (tmpRes.charAt(0) == " ") { tmpRes = tmpRes.substring(1); } if (retVals == "") { retVals = tmpRes; } else { retVals = retVals + ", " + tmpRes; } } // Build final list, adding new selections at the end if (retVals.length > 0) { if (objs.length > 0) { lovField.value = retVals + ", " + objs; } else { lovField.value = retVals; } } else { lovField.value = objs; } document.foo.submit(); window.close(); } function addChecks() { var proxy = new TableProxy('schemaDataSource'); for(var m=0; m < proxy.length; m++) { var element = proxy.getFormElement('Hidden', m); var oneSchema = element.value; // Check checkbox if user already selected this value if (document.foo.selectedObjectNames.value.indexOf(oneSchema) != -1) { var selected = proxy.getFormElement('selected', m); selected.checked=true; } } } </script> ' (_database/_schema/_multiSelectSchemaPage %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 setBundleClass setName doEndTag extraHandlePCFinally #(Ljavax/servlet/jsp/PageContext;Z)V setTitleBinding setOnLoad setDestinationBinding setMethod setCopyParams setValue setValueBinding setTextBinding setCellSpacing setPromptBinding setChildNameBinding setWidth setDataSourceProp setAlternateTextBinding setSummaryBinding setBlockSize setFormSubmitted 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 ! *? ? ? * a,? ? *+,? N-? :-? ? - ? ? -? ?-? :-? :*:-? : - ? ? : - ? ? :- ? ? :- ? ? : - ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- ? ? :- !? ? !:- "? ? ":- #? ? #:- ? ? :- $? ? $: - %? ? %:!- &? ? &:"- '? ? ':#- (? ? (:$- )? ? ):%- )? ? ):&? *2? +? *2? +? *2? +? *2? +? *2? +,? ,? *2? +? *2? +? *2? +? *2? +? * 2? +? * 2? + -? - ? . /? 0:' ? 16-/? 2? 3:'? 4? k? *2? +-? 5 ? 67? 89? :? ;6? <? -? =? -? ?? *2? +-? 5 ? 6>? 8?? :? ;6? <? -? =? -? ?? * 2? +-? @ ? A/? B? C6? D? -? =? -? ?? *2? + -? E ? F ? G6? 4?a? *2? +-? H ? I? J6? 4? v? *2? +-? K? LM? N? O6? P? -? =? -? ?? *2? +? *2? +? *2? +? *2? +? *2? +? Q? -? =? -? ?? *2? +-? R ? ST? U? V6? 4?b? *2? +-? W? X? Y6? 4?? *2? +-? Z? [\? ]^? _`? ab? c? d6? 4??? *2? +-? e? fg? hi? j? k6? l? -? =? -? ?? *2? +-? e? fm? hn? o? k6? l? -? =? -? ?? *2? +-? p? qM? r? s6? 4??? *2? +-? t? uv? w? x6? 4?|? *2? +-? y? z{? |? }6? 4?-? *2? +? *2? +-? ~? ? ?6? 4?N? * 2? +-? t? u? w? x6? 4? ?? *!2? +-? ~? ? ?6? 4? ?? *"2? +-? ?? ?? ?? ?? ?? ?:(? ?6-? 2? ?:(? ?? -? =? -? ?? *#2? +-? ?? ?? ?? ?? ?? ?6? ?? -? =? -? ?? *$2? +? ?? -? =? -? ?? *%2? +? ?? -? =? -? ?? *&2? +? ?? -? =? -? ?? *'2? +? *(2? +-? ~? ? ?6? 4?G? *)2? +-? ?? ?? ?? ?6? 4??? **2? +-? ?? ? ? ?? ?6? 4??? *+2? +-? t? u? w? x6? 4?Z? *,2? +-? ~? ? ?? ?6? 4?? *-2? + -? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?6? 4? ?? *.2? +!-? ?! ? ?!? ?6? 4? J? */2? +"-? ?"!? ?"? ?"? ?6"? ?? -? =? -? ?? *02? +!? ?? -? =? -? ?? *12? + ? ?? -? =? -? ?? *22? +? ?? -? =? -? ?? *32? +? ?? -? =? -? ?? *42? +? ?? -? =? -? ?? *52? +? ?? -? =? -? ?? *62? +? ?? -? =? -? ?? *72? +? ?? -? =? -? ?? *82? +? ?? -? =? -? ?? *92? +#-? ?#? ?#? ?6? 4? ?? *:2? +$-? ?$#? ?$? ?6? 4? ?? *;2? +%-? ?%$? ?%? ?%? ?%? ?6%? ?? -? =? -? ?? *<2? +&-? ?&$? ?&? ?&? ?&? ?6&? ?? -? =? -? ?? *=2? +$? ?? -? =? -? ?? *>2? +#? ?? -? =? -? ?? *?2? +? ?? -? =? -? ?? *@2? +? ?? -? =? -? ?? *A2? +? ?? -? =? -? ?? *B2? +? ?? -? =? -? ?? *C2? + ? ?? -? =? -? ?? *D2? + ? ?? -? =? -? ?? *E2? +-? =? -? ? B: ? ? ? ? ? :- ? ?-? =? -? ? :)-? =? -? )? E L?! ??! ?>! ?K?! ??! ?"?! ??3! ?@?! ???! ??! ?/! ?<P! ?]?! ? ! ? # 7! ? D X! ? e y! ? ? ?! ? ? ?! ? ? ?! ? ? ?! ? ! ? + ?! ? ? ?! ? ?! ? 4! ?AU! ?bv! ???! ???! ???! ???! ?! ?+58 ? L?O ?O >O K?O ?O "?O ?3O @?O ??O ?O /O <PO ]?O O # 7O D XO e yO ? ?O ? ?O ? ?O ? ?O O + ?O ? ?O ?O 4O AUO bvO ??O ??O ??O ??O O !@O OQO ? &