| 119 |
ghuddy |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
| 129 |
ghuddy |
5 |
'| Edit Project View Details |
|
| 119 |
ghuddy |
6 |
'| |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
' Good idea to set when using redirect
|
| 129 |
ghuddy |
12 |
Response.Expires = 0 ' always load the page, dont store
|
| 119 |
ghuddy |
13 |
%>
|
|
|
14 |
<!--#include file="common/conf.asp"-->
|
|
|
15 |
<!--#include file="common/globals.asp"-->
|
|
|
16 |
<!--#include file="common/formating.asp"-->
|
|
|
17 |
<!--#include file="common/qstr.asp"-->
|
|
|
18 |
<!--#include file="common/common_subs.asp"-->
|
|
|
19 |
<!--#include file="common/_form_window_common.asp"-->
|
|
|
20 |
<%
|
|
|
21 |
' Set rfile parameter. This is a return page after Login
|
| 5177 |
dpurdie |
22 |
Call objPMod.StoreParameter ( "rfile", RequestDefault("rfile","rtree.asp") )
|
| 119 |
ghuddy |
23 |
objPMod.PersistInQryString("proj_id")
|
|
|
24 |
'------------ ACCESS CONTROL ------------------
|
|
|
25 |
%>
|
|
|
26 |
<!--#include file="_access_control_login.asp"-->
|
|
|
27 |
<!--#include file="_access_control_general.asp"-->
|
|
|
28 |
<!--#include file="_access_control_project.asp"-->
|
|
|
29 |
<%
|
|
|
30 |
'------------ Variable Definition -------------
|
|
|
31 |
Dim objSortHelper
|
|
|
32 |
Dim rsQry
|
|
|
33 |
Dim parProjId
|
| 5176 |
dpurdie |
34 |
Dim parModeCode
|
| 129 |
ghuddy |
35 |
Dim pvIdList, pvIds, PVS, i, aFullList
|
| 119 |
ghuddy |
36 |
Dim ProblemsString
|
| 5176 |
dpurdie |
37 |
Dim ProblemInfo
|
| 5177 |
dpurdie |
38 |
Dim rfile
|
| 119 |
ghuddy |
39 |
'------------ Constants Declaration -----------
|
|
|
40 |
'------------ Variable Init -------------------
|
|
|
41 |
parProjId = Request("proj_id")
|
| 5176 |
dpurdie |
42 |
parModeCode = Request("mode_code")
|
| 119 |
ghuddy |
43 |
objPMod.PersistInQryString("proj_id")
|
| 5177 |
dpurdie |
44 |
rfile = RequestDefault("rfile", "dependencies.asp")
|
| 5176 |
dpurdie |
45 |
Set pvIdList = Server.CreateObject("Scripting.Dictionary")
|
|
|
46 |
Set ProblemInfo = Server.CreateObject("Scripting.Dictionary")
|
| 119 |
ghuddy |
47 |
'----------------------------------------------
|
|
|
48 |
%>
|
|
|
49 |
|
|
|
50 |
<%
|
|
|
51 |
Sub DestroyPackage ( nPvId, cOverrideWarnings, outProblemsString )
|
| 129 |
ghuddy |
52 |
|
|
|
53 |
OraDatabase.Parameters.Add "PV_ID", nPvId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
54 |
OraDatabase.Parameters.Add "OVERRIDE_WARNINGS", cOverrideWarnings, ORAPARM_INPUT, ORATYPE_CHAR
|
|
|
55 |
OraDatabase.Parameters.Add "PROBLEM_STRING", NULL, ORAPARM_OUTPUT, ORATYPE_VARCHAR2
|
|
|
56 |
|
|
|
57 |
'Response.write nPvId &"-"& cOverrideWarnings &"-"& Request("btn")
|
|
|
58 |
|
|
|
59 |
objEH.TryORA ( OraSession )
|
|
|
60 |
On Error Resume Next
|
|
|
61 |
|
|
|
62 |
OraDatabase.ExecuteSQL _
|
|
|
63 |
"BEGIN "&_
|
|
|
64 |
" PK_PACKAGE.DESTROY_PACKAGE ( :PV_ID, :OVERRIDE_WARNINGS, :PROBLEM_STRING ); "&_
|
|
|
65 |
"END; "
|
|
|
66 |
|
|
|
67 |
objEH.CatchORA ( OraSession )
|
|
|
68 |
|
|
|
69 |
outProblemsString = OraDatabase.Parameters("PROBLEM_STRING").Value
|
|
|
70 |
|
|
|
71 |
OraDatabase.Parameters.Remove "PV_ID"
|
|
|
72 |
OraDatabase.Parameters.Remove "OVERRIDE_WARNINGS"
|
|
|
73 |
OraDatabase.Parameters.Remove "PROBLEM_STRING"
|
| 119 |
ghuddy |
74 |
End Sub
|
|
|
75 |
%>
|
|
|
76 |
<%
|
|
|
77 |
Sub MovePackage(nPvId, newRtagId)
|
|
|
78 |
|
| 129 |
ghuddy |
79 |
OraDatabase.Parameters.Add "PV_ID", nPvId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
80 |
OraDatabase.Parameters.Add "CURRENT_RTAG_ID", Request("rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
81 |
OraDatabase.Parameters.Add "NEW_RTAG_ID", newRtagId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
82 |
OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 119 |
ghuddy |
83 |
|
| 129 |
ghuddy |
84 |
'Response.write nPvId &"-"& cOverrideWarnings &"-"& Request("btn")
|
|
|
85 |
|
|
|
86 |
objEH.TryORA ( OraSession )
|
|
|
87 |
On Error Resume Next
|
|
|
88 |
|
|
|
89 |
OraDatabase.ExecuteSQL _
|
|
|
90 |
"BEGIN "&_
|
|
|
91 |
" PK_PACKAGE.MOVE_PACKAGE ( :PV_ID, :CURRENT_RTAG_ID, :NEW_RTAG_ID, :USER_ID ); "&_
|
|
|
92 |
"END; "
|
|
|
93 |
|
|
|
94 |
objEH.CatchORA ( OraSession )
|
|
|
95 |
|
|
|
96 |
OraDatabase.Parameters.Remove "PV_ID"
|
|
|
97 |
OraDatabase.Parameters.Remove "CURRENT_RTAG_ID"
|
|
|
98 |
OraDatabase.Parameters.Remove "NEW_RTAG_ID"
|
|
|
99 |
OraDatabase.Parameters.Remove "USER_ID"
|
|
|
100 |
|
| 119 |
ghuddy |
101 |
End Sub
|
|
|
102 |
%>
|
|
|
103 |
<%
|
|
|
104 |
'--------------------------------------------------------------------------------------------------------------------------
|
|
|
105 |
Sub GetFormDetails ( parProjId, ByRef outobjDetails )
|
| 129 |
ghuddy |
106 |
Dim rsQry, query
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
OraDatabase.Parameters.Add "PROJ_ID", parProjId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
110 |
|
|
|
111 |
query = _
|
|
|
112 |
" SELECT prj.* "&_
|
|
|
113 |
" FROM PROJECTS prj"&_
|
|
|
114 |
" WHERE prj.PROJ_ID = :PROJ_ID"
|
|
|
115 |
|
|
|
116 |
Set rsQry = OraDatabase.DbCreateDynaset( query, ORADYN_DEFAULT )
|
|
|
117 |
|
|
|
118 |
OraDatabase.Parameters.Remove "PROJ_ID"
|
|
|
119 |
|
|
|
120 |
If rsQry.RecordCount > 0 Then
|
|
|
121 |
outobjDetails.Item ("proj_id") = rsQry("proj_id")
|
|
|
122 |
outobjDetails.Item ("proj_name") = rsQry("proj_name")
|
|
|
123 |
'outobjDetails.Item ("description") = rsQry("description")
|
|
|
124 |
'outobjDetails.Item ("parent_rtag_id") = rsQry("parent_rtag_id")
|
|
|
125 |
'outobjDetails.Item ("config_spec_branch") = rsQry("config_spec_branch")
|
|
|
126 |
'outobjDetails.Item ("owner_email") = rsQry("owner_email")
|
|
|
127 |
'If rsQry("assoc_mass_ref") <> "" Then
|
|
|
128 |
'outobjDetails.Item ("massref_rtag_id") = rsQry("assoc_mass_ref")
|
|
|
129 |
'End If
|
|
|
130 |
Else
|
|
|
131 |
Err.Raise 8, "Sub GetFormDetails in "& ScriptName, "Empty record set returned. parProjId="& parProjId
|
|
|
132 |
|
|
|
133 |
End If
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
rsQry.Close
|
|
|
137 |
Set rsQry = Nothing
|
| 119 |
ghuddy |
138 |
End Sub
|
|
|
139 |
|
|
|
140 |
'--------------------------------------------------------------------------------------------------------------------------
|
|
|
141 |
%>
|
|
|
142 |
<%
|
|
|
143 |
'------------ RUN BEFORE PAGE RENDER ----------
|
|
|
144 |
' --- Get Form details from DB ---
|
|
|
145 |
'Call GetFormDetails ( Request("proj_id"), objFormCollector )
|
|
|
146 |
|
|
|
147 |
' --- Load Validation Rules ---
|
| 129 |
ghuddy |
148 |
'Call objForm.LoadValidationRules ( Array("rtag_name","rtag_description", "config_spec_branch"), OraDatabase ) ' Load Validation Rules
|
| 119 |
ghuddy |
149 |
|
|
|
150 |
' --- Enter Form Validation Rule Changes here... ----
|
|
|
151 |
'----------------------------------------------------
|
|
|
152 |
|
|
|
153 |
' --- RUN onPostBack ---
|
|
|
154 |
If Request("action") <> "" Then
|
| 129 |
ghuddy |
155 |
Dim decision
|
| 5176 |
dpurdie |
156 |
Dim problem : problem = false
|
|
|
157 |
|
| 129 |
ghuddy |
158 |
decision = Left(Request("decision"), 1) 'Gets the decision based on the combo box selection
|
| 119 |
ghuddy |
159 |
|
| 129 |
ghuddy |
160 |
aFullList = Split ( Replace( Request("pvIds"), " ", "" ), "," )
|
|
|
161 |
|
|
|
162 |
If decision = 0 Then
|
| 5177 |
dpurdie |
163 |
Call OpenInWindow ( rfile & "?rtag_id="&Request("rtag_id") )
|
| 129 |
ghuddy |
164 |
ElseIf decision = 1 Then
|
|
|
165 |
For Each PVS In aFullList
|
|
|
166 |
If PVS <> "" Then Call DestroyPackage(PVS, "N", ProblemsString)
|
| 5176 |
dpurdie |
167 |
If ProblemsString <> "" Then
|
|
|
168 |
ProblemInfo.Add PVS, ProblemsString
|
|
|
169 |
problem = true
|
|
|
170 |
End If
|
| 129 |
ghuddy |
171 |
Next
|
|
|
172 |
ElseIf decision = 2 Then
|
|
|
173 |
For Each PVS In aFullList
|
|
|
174 |
If PVS <> "" Then Call MovePackage(PVS,Request("FRrtag_id"))
|
|
|
175 |
Next
|
|
|
176 |
End If
|
|
|
177 |
|
| 5176 |
dpurdie |
178 |
If objEH.Finally AND NOT problem Then
|
|
|
179 |
Call OpenInWindow ( "_change_release_mode.asp?mode_code=" & parModeCode & "&rtag_id="&Request("rtag_id") )
|
| 129 |
ghuddy |
180 |
End If
|
|
|
181 |
|
| 119 |
ghuddy |
182 |
End If
|
|
|
183 |
|
|
|
184 |
'----------------------------------------------
|
|
|
185 |
%>
|
|
|
186 |
|
|
|
187 |
<html>
|
|
|
188 |
<head>
|
|
|
189 |
<title>Release Manager</title>
|
|
|
190 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
191 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
192 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
|
|
193 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
|
|
194 |
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
|
|
|
195 |
<script language="JavaScript" src="images/common.js"></script>
|
|
|
196 |
<script language="JavaScript" type="text/javascript">
|
|
|
197 |
<!--
|
|
|
198 |
|
|
|
199 |
function RequestDetails( option, paramString, rowId){
|
|
|
200 |
|
| 5176 |
dpurdie |
201 |
// Drive the OK button.
|
|
|
202 |
// Enable it if user has selected an option
|
|
|
203 |
var okBtn = MM_findObj( 'FormOk' );
|
|
|
204 |
if (okBtn ) {
|
|
|
205 |
okBtn.disabled = option == 0;
|
|
|
206 |
}
|
|
|
207 |
|
| 129 |
ghuddy |
208 |
if ( option == 2 )
|
|
|
209 |
{
|
|
|
210 |
var requestURL = 'RequestReleaseMoveCombo.asp';
|
| 119 |
ghuddy |
211 |
|
| 129 |
ghuddy |
212 |
// Set ajax divname
|
|
|
213 |
ajaxdivname = rowId;
|
| 119 |
ghuddy |
214 |
|
| 129 |
ghuddy |
215 |
//Append the name to search for to the requestURL
|
|
|
216 |
var url = requestURL + paramString;
|
| 119 |
ghuddy |
217 |
|
| 129 |
ghuddy |
218 |
//Progress
|
|
|
219 |
//alert(MM_findObj( rowId ));
|
|
|
220 |
|
|
|
221 |
//MM_findObj( rowId ).options[0] = new Option('Loading...','');
|
|
|
222 |
//MM_findObj( rowId ).selectedIndex = 0;
|
|
|
223 |
rowId.options[0] = new Option('Loading...','');
|
|
|
224 |
rowId.selectedIndex = 0;
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
//Create the xmlHttp object to use in the request
|
|
|
228 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
|
|
229 |
// This is non-blocking (asynchronous)
|
|
|
230 |
xmlHttp = GetXmlHttpObject(stateComboChangeHandler);
|
|
|
231 |
|
|
|
232 |
//Send the xmlHttp get to the specified url
|
|
|
233 |
xmlHttp_Get(xmlHttp, url);
|
|
|
234 |
|
|
|
235 |
}
|
|
|
236 |
else
|
|
|
237 |
{
|
|
|
238 |
var requestURL = 'RequestReleaseMoveCombo.asp';
|
|
|
239 |
// Set ajax divname
|
|
|
240 |
ajaxdivname = rowId;
|
|
|
241 |
|
|
|
242 |
//Append the name to search for to the requestURL
|
|
|
243 |
var url = requestURL + '?proj_id=0';
|
|
|
244 |
|
|
|
245 |
//Progress
|
|
|
246 |
//alert(MM_findObj( rowId ));
|
|
|
247 |
|
|
|
248 |
//MM_findObj( rowId ).options[0] = new Option('Loading...','');
|
|
|
249 |
//MM_findObj( rowId ).selectedIndex = 0;
|
|
|
250 |
//rowId.options[0] = new Option('Loading...','');
|
|
|
251 |
//rowId.selectedIndex = 0;
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
//Create the xmlHttp object to use in the request
|
|
|
255 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
|
|
256 |
// This is non-blocking (asynchronous)
|
|
|
257 |
xmlHttp = GetXmlHttpObject(stateComboChangeHandler);
|
|
|
258 |
|
|
|
259 |
//Send the xmlHttp get to the specified url
|
|
|
260 |
xmlHttp_Get(xmlHttp, url);
|
|
|
261 |
}
|
| 119 |
ghuddy |
262 |
}
|
|
|
263 |
|
|
|
264 |
//-->
|
|
|
265 |
</script>
|
|
|
266 |
<!-- DROPDOWN MENUS -->
|
|
|
267 |
|
|
|
268 |
|
|
|
269 |
<!--#include file="_menu_def.asp"-->
|
|
|
270 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
|
|
271 |
|
|
|
272 |
</head>
|
|
|
273 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onLoad="FormName.proj_name.focus();">
|
|
|
274 |
<!-- MENU LAYERS -------------------------------------->
|
| 129 |
ghuddy |
275 |
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
|
| 119 |
ghuddy |
276 |
</div>
|
|
|
277 |
<!-- TIPS LAYERS -------------------------------------->
|
|
|
278 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
|
|
279 |
<!----------------------------------------------------->
|
|
|
280 |
<!-- HEADER -->
|
|
|
281 |
<!--#include file="_header.asp"-->
|
|
|
282 |
<!-- BODY ---->
|
|
|
283 |
|
|
|
284 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 129 |
ghuddy |
285 |
<%
|
|
|
286 |
'-- FROM START ---------------------------------------------------------------------------------------------------------
|
|
|
287 |
objFormComponent.FormName = "FormName"
|
|
|
288 |
objFormComponent.Action = ScriptName
|
|
|
289 |
Call objFormComponent.FormStart()
|
|
|
290 |
%>
|
|
|
291 |
<tr>
|
|
|
292 |
<td width="1" background="images/bg_home_orange.gif" valign="top"></td>
|
|
|
293 |
<td width="100%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF">
|
|
|
294 |
<table width="10" border="0" cellspacing="0" cellpadding="0">
|
| 119 |
ghuddy |
295 |
<tr>
|
| 129 |
ghuddy |
296 |
<td width="1%"></td>
|
|
|
297 |
<td width="100%">
|
|
|
298 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
299 |
<tr>
|
|
|
300 |
<td nowrap class="body_txt">
|
|
|
301 |
</td>
|
|
|
302 |
</tr>
|
|
|
303 |
</table>
|
|
|
304 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
305 |
<tr>
|
|
|
306 |
<td nowrap class="form_ttl"><p> </p>
|
| 5176 |
dpurdie |
307 |
<%If parModeCode = 5 Then%>
|
|
|
308 |
<p>EDIT RELEASE BEFORE ARCHIVING</p>
|
| 5177 |
dpurdie |
309 |
<%Else If parModeCode = 6 Then%>
|
|
|
310 |
<p>EDIT RELEASE BEFORE PRESERVING</p>
|
| 5176 |
dpurdie |
311 |
<%Else%>
|
| 129 |
ghuddy |
312 |
<p>EDIT RELEASE BEFORE CLOSING</p>
|
| 5176 |
dpurdie |
313 |
<%End If%>
|
| 129 |
ghuddy |
314 |
</td>
|
|
|
315 |
<td align="right" valign="bottom"></td>
|
|
|
316 |
</tr>
|
|
|
317 |
</table>
|
|
|
318 |
</td>
|
|
|
319 |
<td width="1%"></td>
|
| 119 |
ghuddy |
320 |
</tr>
|
|
|
321 |
<tr>
|
| 129 |
ghuddy |
322 |
<td align="left" valign="top" background="images/lbox_bg_blue.gif"><img src="images/lbox_tl_cnr_b.gif" width="13" height="13"></td>
|
|
|
323 |
<td background="images/lbox_bg_blue.gif" class="lbox_ttl_w"><img src="images/h_trsp_dot.gif" width="600" height="15"></td>
|
|
|
324 |
<td align="right" valign="top" background="images/lbox_bg_blue.gif"><img src="images/lbox_tr_cnr_b.gif" width="13" height="13"></td>
|
| 119 |
ghuddy |
325 |
</tr>
|
| 129 |
ghuddy |
326 |
<tr>
|
|
|
327 |
<td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
|
|
|
328 |
<td bgcolor="#FFFFFF" valign="top">
|
| 5176 |
dpurdie |
329 |
<%If ProblemInfo.Count > 0 Then%>
|
|
|
330 |
<span class=err_alert>Problems encountered</span>
|
|
|
331 |
<%End If%>
|
| 129 |
ghuddy |
332 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
333 |
<!--#include file="messages/_msg_inline.asp"-->
|
|
|
334 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
335 |
<br>
|
| 119 |
ghuddy |
336 |
|
| 129 |
ghuddy |
337 |
<table width="100%" border="0" cellspacing="2" cellpadding="0">
|
| 119 |
ghuddy |
338 |
|
| 129 |
ghuddy |
339 |
<tr>
|
|
|
340 |
<td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">State</td>
|
| 119 |
ghuddy |
341 |
|
| 129 |
ghuddy |
342 |
<td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Package</td>
|
|
|
343 |
<td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Version</td>
|
| 5176 |
dpurdie |
344 |
<%If ProblemInfo.Count > 0 Then%>
|
|
|
345 |
<td valign="top" wrap background="images/bg_table_col.gif" class="body_col">Problem</td>
|
|
|
346 |
<%End If%>
|
| 129 |
ghuddy |
347 |
<td valign="top">
|
|
|
348 |
</tr>
|
|
|
349 |
<%
|
|
|
350 |
Dim currState
|
|
|
351 |
currState = ""
|
|
|
352 |
OraDatabase.Parameters.Add "RTAG_ID", Request("rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
353 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("CheckWIPS.sql") , cint(0) )
|
|
|
354 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
| 119 |
ghuddy |
355 |
|
| 129 |
ghuddy |
356 |
'--- Render rows ---
|
|
|
357 |
Do While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
| 119 |
ghuddy |
358 |
|
| 129 |
ghuddy |
359 |
'Add the pv_ids to the Array
|
|
|
360 |
pvIdList.Add CStr(rsQry("pv_id")), rsQry("pkg_version")
|
|
|
361 |
' -------- GROUP BY BASE VIEW -----------------
|
|
|
362 |
If CStr(currState) <> CStr(rsQry("state")) Then
|
|
|
363 |
%>
|
|
|
364 |
<tr>
|
|
|
365 |
<td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
366 |
</tr>
|
|
|
367 |
<tr>
|
|
|
368 |
<td nowrap class="body_scol"><%=rsQry("state")%></td>
|
|
|
369 |
<td nowrap class="body_scol"></td>
|
|
|
370 |
<td nowrap class="body_scol"></td>
|
|
|
371 |
</tr>
|
|
|
372 |
<%
|
|
|
373 |
currState = CStr(rsQry("state"))
|
|
|
374 |
End If
|
|
|
375 |
%>
|
| 119 |
ghuddy |
376 |
|
| 129 |
ghuddy |
377 |
<tr>
|
|
|
378 |
<td nowrap class="body_rowg"></td>
|
|
|
379 |
<td nowrap class="body_rowg"><%=rsQry("pkg_name")%></td>
|
|
|
380 |
<td nowrap class="body_rowg"><%=rsQry("pkg_version")%></td>
|
| 5176 |
dpurdie |
381 |
<%If ProblemInfo.Count > 0 Then%>
|
|
|
382 |
<td nowrap class="body_rowg err_alert"><%=ProblemInfo.Item(CStr(rsQry("pv_id")))%></td>
|
|
|
383 |
<%End If%>
|
| 129 |
ghuddy |
384 |
</tr>
|
|
|
385 |
<%
|
|
|
386 |
rsQry.MoveNext
|
|
|
387 |
|
|
|
388 |
If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
|
|
|
389 |
<tr>
|
|
|
390 |
<td colspan="8" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
391 |
</tr>
|
|
|
392 |
<%End If
|
|
|
393 |
Loop
|
|
|
394 |
rsQry.Close()
|
|
|
395 |
Set rsQry = nothing
|
|
|
396 |
|
|
|
397 |
pvIds = pvIdList.Keys
|
|
|
398 |
For i = 0 to pvIdList.Count -1
|
|
|
399 |
PVS = PVS + pvIds(i) + ","
|
|
|
400 |
Next
|
|
|
401 |
Set pvIds = Nothing
|
|
|
402 |
%>
|
|
|
403 |
<tr>
|
|
|
404 |
<td class="form_iname"> </td>
|
|
|
405 |
<td> </td>
|
|
|
406 |
<td class="val_err"></td>
|
|
|
407 |
</tr>
|
|
|
408 |
</table>
|
|
|
409 |
</td>
|
|
|
410 |
<td background="images/lbox_bgside_white.gif"> </td>
|
|
|
411 |
</tr>
|
|
|
412 |
<tr>
|
|
|
413 |
<td background="images/bg_action_norm.gif" ></td>
|
|
|
414 |
<td align="right" background="images/bg_action_norm.gif" >
|
|
|
415 |
<a class="body_col">Select Decision: </a>
|
|
|
416 |
<select name="decision" id="decision" onChange="RequestDetails( this.value, '?proj_id=<%=Get_Proj_ID(Request("rtag_id"))%>&rtag_id=<%=Request("rtag_id")%>', FormName.FRrtag_id );" class="form_item">
|
|
|
417 |
<option value='0' selected>--None--</option>
|
|
|
418 |
<option value='1' >Delete All</option>
|
|
|
419 |
<option value='2' >Move All</option>
|
|
|
420 |
</select>
|
|
|
421 |
|
|
|
422 |
<a class="body_col">Select Destination: </a>
|
|
|
423 |
<select name="FRrtag_id" id="FRrtag_id" class="form_item">
|
|
|
424 |
</select>
|
|
|
425 |
|
| 5176 |
dpurdie |
426 |
<%=objFormComponent.SubmitButton ( "OK", "class='form_btn' id='FormOk' disabled" )%>
|
| 5177 |
dpurdie |
427 |
<%=objFormComponent.CancelButton ( "Cancel", "class='form_btn'", rfile&"?rtag_id="&Request("rtag_id") )%>
|
| 129 |
ghuddy |
428 |
<%=objPMod.ComposeHiddenTags()%>
|
|
|
429 |
<input type="hidden" name="decision" value="decision.value">
|
|
|
430 |
<%If Request("FRrtag_id") <> "" Then%>
|
|
|
431 |
<input type="hidden" name="FRrtag_id" value="FRrtag_id.value">
|
|
|
432 |
<%End If%>
|
|
|
433 |
<input type="hidden" name="action" value="true">
|
|
|
434 |
<input type="hidden" name="pvIds" value=<%=PVS%>>
|
| 5176 |
dpurdie |
435 |
<input type="hidden" name="mode_code" value=<%=parModeCode%>>
|
| 129 |
ghuddy |
436 |
</td>
|
|
|
437 |
<td background="images/bg_action_norm.gif" ><img src="images/h_trsp_dot.gif" width="5" height="30"></td>
|
|
|
438 |
</tr>
|
|
|
439 |
<tr>
|
|
|
440 |
<td background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
|
|
|
441 |
<td background="images/lbox_bg_blue.gif"></td>
|
|
|
442 |
<td background="images/lbox_bg_blue.gif" valign="bottom" align="right"><img src="images/lbox_br_cnr_b.gif" width="13" height="13"></td>
|
|
|
443 |
</tr>
|
|
|
444 |
</table>
|
|
|
445 |
|
|
|
446 |
<!-- ACTION BUTTONS ---------------------------------------------->
|
|
|
447 |
<!-- ACTION BUTTONS END ------------------------------------------>
|
|
|
448 |
</td>
|
|
|
449 |
<td width="1" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
450 |
</tr>
|
|
|
451 |
<tr>
|
|
|
452 |
<td valign="bottom" align="center" background="images/bg_home_orange.gif"><img src="images/img_vtree.gif" width="86" height="99" vspace="20" hspace="30"></td>
|
|
|
453 |
<td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
|
|
|
454 |
</tr>
|
|
|
455 |
<%
|
|
|
456 |
Call objFormComponent.FormEnd()
|
|
|
457 |
'-- FROM END ----------------------------------------------------------------------------------------------------------------
|
|
|
458 |
%>
|
| 119 |
ghuddy |
459 |
</table>
|
|
|
460 |
|
|
|
461 |
<!-- FOOTER -->
|
|
|
462 |
<!--#include file="_footer.asp"-->
|
|
|
463 |
</body>
|
|
|
464 |
</html>
|
|
|
465 |
<%
|
|
|
466 |
Call Destroy_All_Objects
|
| 129 |
ghuddy |
467 |
%>
|