| Line 23... |
Line 23... |
| 23 |
<!--#include file="_access_control_general.asp"-->
|
23 |
<!--#include file="_access_control_general.asp"-->
|
| 24 |
<%
|
24 |
<%
|
| 25 |
'------------ Variable Definition -------------
|
25 |
'------------ Variable Definition -------------
|
| 26 |
Dim rsTemp, rsState
|
26 |
Dim rsTemp, rsState
|
| 27 |
Dim projId
|
27 |
Dim projId
|
| - |
|
28 |
Dim pkgId
|
| 28 |
Dim rsQry
|
29 |
Dim rsQry
|
| 29 |
Dim isDaemonEnabledRelease
|
30 |
Dim isDaemonEnabledRelease
|
| 30 |
'------------ Constants Declaration -----------
|
31 |
'------------ Constants Declaration -----------
|
| 31 |
Const IMG_SVTREE = "<img src='images/i_vtree_small.gif' hspace='3' align='absmiddle' border='0'>"
|
32 |
Const IMG_SVTREE = "<img src='images/i_vtree_small.gif' hspace='3' align='absmiddle' border='0'>"
|
| 32 |
Const IMG_WORLD = "<img src='images/i_foldero_small.gif' hspace='3' align='absmiddle' border='0'>"
|
33 |
Const IMG_WORLD = "<img src='images/i_foldero_small.gif' hspace='3' align='absmiddle' border='0'>"
|
| Line 35... |
Line 36... |
| 35 |
'------------ Variable Init -------------------
|
36 |
'------------ Variable Init -------------------
|
| 36 |
'----------------------------------------------
|
37 |
'----------------------------------------------
|
| 37 |
%>
|
38 |
%>
|
| 38 |
<%
|
39 |
<%
|
| 39 |
'-----------------------------------------------------------------------------------------------------------------------------
|
40 |
'-----------------------------------------------------------------------------------------------------------------------------
|
| 40 |
Sub SetUnignoreWarnings (strList)
|
- |
|
| 41 |
|
- |
|
| 42 |
'Response.Write( pkgInfoHash.Item ("pkg_id"))
|
- |
|
| 43 |
|
- |
|
| 44 |
OraDatabase.Parameters.Add "RTAG_ID", parRtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
- |
|
| 45 |
OraDatabase.Parameters.Add "PKG_ID", pkgInfoHash.Item ("pkg_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
- |
|
| 46 |
OraDatabase.Parameters.Add "SELECTED", strList, ORAPARM_INPUT, ORATYPE_VARCHAR2
|
- |
|
| 47 |
|
- |
|
| 48 |
If pkgInfoHash.Item ("v_ext") <> "" Then
|
- |
|
| 49 |
OraDatabase.Parameters.Add "V_EXT", pkgInfoHash.Item ("v_ext"), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
- |
|
| 50 |
Else
|
- |
|
| 51 |
OraDatabase.Parameters.Add "V_EXT", NULL, ORAPARM_INPUT, ORATYPE_VARCHAR2
|
- |
|
| 52 |
End If
|
- |
|
| 53 |
|
- |
|
| 54 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UnIgnoreUsedByPackagesInThisRelease.sql"), cint(0))
|
- |
|
| 55 |
|
- |
|
| 56 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
- |
|
| 57 |
Call SetIgnoreWarnings(NULL, rsTemp("pv_id"), parRtag_id)
|
- |
|
| 58 |
rsTemp.MoveNext()
|
- |
|
| 59 |
Wend
|
- |
|
| 60 |
|
- |
|
| 61 |
Set rsTemp = Nothing
|
- |
|
| 62 |
rsTemp.Close()
|
- |
|
| 63 |
|
- |
|
| 64 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
- |
|
| 65 |
OraDatabase.Parameters.Remove "PKG_ID"
|
- |
|
| 66 |
OraDatabase.Parameters.Remove "V_EXT"
|
- |
|
| 67 |
OraDatabase.Parameters.Remove "SELECTED"
|
- |
|
| 68 |
|
- |
|
| 69 |
End Sub
|
- |
|
| 70 |
'-----------------------------------------------------------------------------------------------------------------------------
|
- |
|
| 71 |
|
41 |
|
| 72 |
isDaemonEnabledRelease = is_daemon_enabled_release(parRtag_id, TRUE)
|
42 |
isDaemonEnabledRelease = is_daemon_enabled_release(parRtag_id, TRUE)
|
| 73 |
|
43 |
|
| 74 |
If Request("action") <> "" Then
|
44 |
If Request("action") <> "" Then
|
| 75 |
%>
|
45 |
%>
|
| Line 108... |
Line 78... |
| 108 |
pvIdList.Add CStr( pvId ), Empty
|
78 |
pvIdList.Add CStr( pvId ), Empty
|
| 109 |
End if
|
79 |
End if
|
| 110 |
|
80 |
|
| 111 |
apvIdList = pvIdList.Keys
|
81 |
apvIdList = pvIdList.Keys
|
| 112 |
|
82 |
|
| 113 |
'strList = 0
|
- |
|
| 114 |
|
- |
|
| 115 |
'For Each pvId In apvIdList
|
- |
|
| 116 |
' strList = strList&", "&pvId
|
- |
|
| 117 |
'Next
|
- |
|
| 118 |
|
- |
|
| 119 |
|
- |
|
| 120 |
'Call SetUnignoreWarnings (strList)
|
- |
|
| 121 |
'Call Notify ( parRtag_id )
|
- |
|
| 122 |
|
- |
|
| 123 |
End If
|
83 |
End If
|
| 124 |
|
84 |
|
| 125 |
Response.Redirect("used_by.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id)
|
85 |
Response.Redirect("used_by.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id)
|
| 126 |
Else
|
86 |
Else
|
| 127 |
Response.write "Some mandatory parameters are missing!" & "<br>" 'TODO
|
87 |
Response.write "Some mandatory parameters are missing!" & "<br>" 'TODO
|
| Line 135... |
Line 95... |
| 135 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
95 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
| 136 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
96 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 137 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
97 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
| 138 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
98 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
| 139 |
<script language="JavaScript" src="images/common.js"></script>
|
99 |
<script language="JavaScript" src="images/common.js"></script>
|
| - |
|
100 |
<!-- TIPS -->
|
| - |
|
101 |
<script language="JavaScript" src="images/tipster.js"></script>
|
| 140 |
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
|
102 |
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
|
| 141 |
<!--#include file="_jquery_includes.asp"-->
|
103 |
<!--#include file="_jquery_includes.asp"-->
|
| 142 |
<script language="javascript">
|
104 |
<script language="javascript">
|
| 143 |
<!--
|
105 |
<!--
|
| 144 |
function checkUncheckAll(theElement) {
|
106 |
function checkUncheckAll(theElement) {
|
| Line 154... |
Line 116... |
| 154 |
<!-- DROPDOWN MENUS -->
|
116 |
<!-- DROPDOWN MENUS -->
|
| 155 |
<!--#include file="_menu_def.asp"-->
|
117 |
<!--#include file="_menu_def.asp"-->
|
| 156 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
118 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
| 157 |
<script language="JavaScript" type="text/javascript">
|
119 |
<script language="JavaScript" type="text/javascript">
|
| 158 |
<!--
|
120 |
<!--
|
| - |
|
121 |
formTips.tips.thispackage = stdTip(200, 'Used by this package', 'Display package and package versions that use exactly this version of this package' );
|
| - |
|
122 |
formTips.tips.thisproject = stdTip(200, 'Used by this project', 'Display projects that use any version of this package' );
|
| 159 |
|
123 |
|
| 160 |
function RequestUsedByThisProject( paramString, rowId ){
|
124 |
function RequestUsedByThisProject( paramString, rowId ){
|
| 161 |
var requestURL = 'RequestUsedByThisProject.asp';
|
125 |
var requestURL = 'RequestUsedByThisProject.asp';
|
| 162 |
|
126 |
|
| 163 |
// Show div
|
127 |
// Show div
|
| Line 179... |
Line 143... |
| 179 |
//Send the xmlHttp get to the specified url
|
143 |
//Send the xmlHttp get to the specified url
|
| 180 |
xmlHttp_Get(xmlHttp, url);
|
144 |
xmlHttp_Get(xmlHttp, url);
|
| 181 |
}
|
145 |
}
|
| 182 |
}
|
146 |
}
|
| 183 |
|
147 |
|
| - |
|
148 |
function RequestUsedByThisPackage( paramString, rowId ){
|
| - |
|
149 |
var requestURL = 'UsedByPackageDetail.asp';
|
| - |
|
150 |
|
| - |
|
151 |
// Show div
|
| - |
|
152 |
ToggleDisplay( 'PKGID_'+ rowId, 'IMG_EXPAND_PKGID_' + rowId, 'IMG_COLLAPSE_PKGID_' + rowId );
|
| - |
|
153 |
|
| - |
|
154 |
// Set ajax divname
|
| - |
|
155 |
ajaxdivname = 'PKGID_'+ rowId;
|
| - |
|
156 |
|
| - |
|
157 |
if ( MM_findObj( ajaxdivname ).innerHTML == '<%=enumLOADING%>')
|
| - |
|
158 |
{
|
| - |
|
159 |
//Append the name to search for to the requestURL
|
| - |
|
160 |
var url = requestURL + paramString;
|
| - |
|
161 |
|
| - |
|
162 |
//Create the xmlHttp object to use in the request
|
| - |
|
163 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
| - |
|
164 |
// This is non-blocking (asynchronous)
|
| - |
|
165 |
xmlHttp = GetXmlHttpObject(stateChangeHandler);
|
| - |
|
166 |
|
| - |
|
167 |
//Send the xmlHttp get to the specified url
|
| - |
|
168 |
xmlHttp_Get(xmlHttp, url);
|
| - |
|
169 |
}
|
| - |
|
170 |
}
|
| - |
|
171 |
|
| 184 |
//-->
|
172 |
//-->
|
| 185 |
</script>
|
173 |
</script>
|
| 186 |
</head>
|
174 |
</head>
|
| 187 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
|
175 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
|
| 188 |
<!-- MENU LAYERS -------------------------------------->
|
176 |
<!-- MENU LAYERS -------------------------------------->
|
| Line 340... |
Line 328... |
| 340 |
Call objFormComponent.FormEnd()
|
328 |
Call objFormComponent.FormEnd()
|
| 341 |
'-- FROM END ----------------------------------------------------------------------------------------------------------------
|
329 |
'-- FROM END ----------------------------------------------------------------------------------------------------------------
|
| 342 |
%>
|
330 |
%>
|
| 343 |
<!------------------------------------------------------------>
|
331 |
<!------------------------------------------------------------>
|
| 344 |
<br>
|
332 |
<br>
|
| 345 |
<span class="body_sect">Used by Projects</span>
|
333 |
<span class="body_sect">Used by Projects</span><%=Quick_Help("thisproject")%>
|
| 346 |
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
334 |
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
| 347 |
<tr>
|
335 |
<tr>
|
| 348 |
<td width="1%" background="images/bg_form_lightbluedark.gif" nowrap class="body_col"></td>
|
336 |
<td width="1%" background="images/bg_form_lightbluedark.gif" nowrap class="body_col"></td>
|
| 349 |
<td width="100%" background="images/bg_form_lightbluedark.gif" nowrap class="body_col">Project</td>
|
337 |
<td width="100%" background="images/bg_form_lightbluedark.gif" nowrap class="body_col">Project</td>
|
| 350 |
</tr>
|
338 |
</tr>
|
| Line 390... |
Line 378... |
| 390 |
WEnd
|
378 |
WEnd
|
| 391 |
rsTemp.Close
|
379 |
rsTemp.Close
|
| 392 |
Set rsTemp = nothing%>
|
380 |
Set rsTemp = nothing%>
|
| 393 |
|
381 |
|
| 394 |
</table><br>
|
382 |
</table><br>
|
| - |
|
383 |
<!------------------------------------------------------------>
|
| - |
|
384 |
<br>
|
| - |
|
385 |
<span class="body_sect">Used by Packages</span><%=Quick_Help("thispackage")%>
|
| - |
|
386 |
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
| - |
|
387 |
<tr>
|
| - |
|
388 |
<td width="1%" background="images/bg_form_lightbluedark.gif" nowrap class="body_col"></td>
|
| - |
|
389 |
<td width="100%" background="images/bg_form_lightbluedark.gif" nowrap class="body_col">Package</td>
|
| - |
|
390 |
</tr>
|
| - |
|
391 |
<%
|
| - |
|
392 |
'Dim currWorld, bgColor, linkSync
|
| - |
|
393 |
currWorld = -1
|
| - |
|
394 |
|
| - |
|
395 |
OraDatabase.Parameters.Add "PV_ID", parPv_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
| - |
|
396 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UsedByPackageSummary.sql"), cint(0) )
|
| - |
|
397 |
OraDatabase.Parameters.Remove "PV_ID"
|
| - |
|
398 |
%>
|
| - |
|
399 |
<%If rsTemp.RecordCount < 1 Then%>
|
| - |
|
400 |
<tr>
|
| - |
|
401 |
<td background="images/bg_form_lightgray.gif" nowrap class="form_item"> </td>
|
| - |
|
402 |
<td background="images/bg_form_lightgray.gif" nowrap class="form_item"> </td>
|
| - |
|
403 |
</tr>
|
| - |
|
404 |
<%End If%>
|
| - |
|
405 |
<%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
| - |
|
406 |
pkgId = rsTemp("pkg_id")
|
| - |
|
407 |
%>
|
| - |
|
408 |
<tr>
|
| - |
|
409 |
<td background="images/bg_form_lightgray.gif" class="form_item"></td>
|
| - |
|
410 |
<td nowrap background="images/bg_form_lightgray.gif" class="form_item">
|
| - |
|
411 |
<SPAN id="IMG_EXPAND_PKGID_<%=pkgId%>" name="IMG_EXPAND_PKGID_<%=pkgId%>" style="display:block;"><a href="javascript:;" class="txt_linked" onClick="RequestUsedByThisPackage('?pv_id=<%=parPv_id%>&pkg_id=<%=pkgId%>', '<%=pkgId%>');"><img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"><%= rsTemp("pkg_name") &" ("& rsTemp("count") &")"%></a></SPAN>
|
| - |
|
412 |
<SPAN id="IMG_COLLAPSE_PKGID_<%=pkgId%>" name="IMG_COLLAPSE_PKGID_<%=pkgId%>" style="display:none;"><a href="javascript:;" class="txt_linked" onClick="ToggleDisplay( 'PKGID_<%=pkgId%>', 'IMG_EXPAND_PKGID_<%=pkgId%>', 'IMG_COLLAPSE_PKGID_<%=pkgId%>');"><img src="images/bt_minus.gif" border="0" align="absmiddle" hspace="3"><%= rsTemp("pkg_name") &" ("& rsTemp("count") &")"%></a></SPAN>
|
| - |
|
413 |
|
| - |
|
414 |
<DIV id="PKGID_<%=pkgId%>" name="PKGID_<%=projId%>" style="display:none;"><%=enumLOADING%></DIV>
|
| - |
|
415 |
</td>
|
| - |
|
416 |
</tr>
|
| - |
|
417 |
|
| - |
|
418 |
<%rsTemp.MoveNext
|
| - |
|
419 |
WEnd
|
| - |
|
420 |
rsTemp.Close
|
| - |
|
421 |
Set rsTemp = nothing%>
|
| - |
|
422 |
|
| - |
|
423 |
</table><br>
|
| - |
|
424 |
|
| 395 |
<SPAN class="rep_small">NOTE: Versions in <SPAN class="err_alert">RED</SPAN> are different from <%=pkgInfoHash.Item("pkg_name") &" "& pkgInfoHash.Item("pkg_version")%></span>
|
425 |
<SPAN class="rep_small">NOTE: Versions in <SPAN class="err_alert">RED</SPAN> are different from <%=pkgInfoHash.Item("pkg_name") &" "& pkgInfoHash.Item("pkg_version")%></span>
|
| 396 |
<br>
|
426 |
<br>
|
| 397 |
<!-- END DETAILS ------------------------------------------------->
|
427 |
<!-- END DETAILS ------------------------------------------------->
|
| 398 |
</td>
|
428 |
</td>
|
| 399 |
<td> </td>
|
429 |
<td> </td>
|