Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
Option explicit
121 hknight 4
Response.Expires = 0   ' always load the page, dont store
119 ghuddy 5
%>
6
<%
7
'=====================================================
121 hknight 8
'               Ripple Properties
119 ghuddy 9
'=====================================================
10
%>
11
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/formating.asp"-->
14
<!--#include file="common/qstr.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="common/common_dbedit.asp"-->
17
<!--#include file="common/_popup_window_common.asp"-->
18
<%
19
' Set rfile parameter. This is a return page after Login
20
Call objPMod.StoreParameter ( "rfile", "fixed_issues.asp" )
21
'------------ ACCESS CONTROL ------------------
22
%>
23
<!--#include file="_access_control_login.asp"-->
24
<!--#include file="_access_control_general.asp"-->
25
<!--#include file="_access_control_project.asp"-->
26
<%
27
'------------ Variable Definition -------------
28
Dim parPv_id
29
Dim query
30
Dim rsQry, rsTemp
31
Dim checked
32
Dim FRripplebuildYES, FRripplebuildNO
33
Dim objFormCollector
121 hknight 34
Dim Query_String
119 ghuddy 35
Dim isDLocked
36
'------------ Constants Declaration -----------
37
'------------ Variable Init -------------------
38
Set objFormCollector = CreateObject("Scripting.Dictionary")
39
parPv_id = QStrPar("pv_id")
40
'----------------------------------------------
41
%>
42
<%
43
'------------------------------------------------------------------------------------------------------------------------------------
44
Sub UpdateRippleType ( )
121 hknight 45
   Dim rsTemp, Query_String
127 ghuddy 46
   Dim storedRippleType
47
   Dim storedMajorLimit
48
   Dim storedMinorLimit
49
   Dim storedPatchLimit
50
   Dim storedBuildNumberLimit
51
   Dim selectedRippleType
52
   selectedRippleType = Request("ripple_type_combo")
53
   Dim enteredMajorLimit
54
   ' enteredMajorLimit is a string of digits
55
   ' it will be compared with a string representing a NUMBER in the db
56
   ' use CInt to at least strip leading zeros
57
   enteredMajorLimit = CInt(Request("Major"))
58
   Dim enteredMinorLimit
59
   enteredMinorLimit = CInt(Request("Minor"))
60
   Dim enteredPatchLimit
61
   enteredPatchLimit = CInt(Request("Patch"))
62
   Dim enteredBuildLimit
63
   enteredBuildLimit = CInt(Request("Build"))
121 hknight 64
   Query_String = _
127 ghuddy 65
    " SELECT ripple_field, major_limit, minor_limit, patch_limit, build_number_limit"&_
129 ghuddy 66
   " FROM package_versions"&_
67
   " WHERE pv_id = "& Request("pv_id")
121 hknight 68
   Set rsTemp = OraDatabase.CreateDynaset( Query_String, cint(0))
127 ghuddy 69
   storedRippleType = rsTemp("ripple_field").Value
70
   storedMajorLimit = rsTemp("major_limit").Value
119 ghuddy 71
 
127 ghuddy 72
   If ( IsNull(storedMajorLimit) ) Then
73
     storedMajorLimit = "0"
74
   End If
119 ghuddy 75
 
127 ghuddy 76
   storedMinorLimit = rsTemp("minor_limit").Value
77
 
78
   If ( IsNull(storedMinorLimit) ) Then
79
     storedMinorLimit = "0"
80
   End If
81
 
82
   storedPatchLimit = rsTemp("patch_limit").Value
83
 
84
   If ( IsNull(storedPatchLimit) ) Then
85
     storedPatchLimit = "0"
86
   End If
87
 
88
   storedBuildNumberLimit = rsTemp("build_number_limit").Value
89
 
90
   If ( IsNull(storedBuildNumberLimit) ) Then
91
     storedBuildNumberLimit = "0"
92
   End If
93
 
94
   'normalise for comparison purposes
95
   storedMajorLimit = CInt( storedMajorLimit )
96
   storedMinorLimit = CInt( storedMinorLimit )
97
   storedPatchlimit = CInt( storedPatchLimit )
98
   storedBuildNumberLimit = CInt( storedBuildNumberLimit )
99
 
100
   If (storedRippleType <> selectedRippleType) OR IsNull(storedRippleType) Then
101
 
121 hknight 102
      'update fields
103
      rsTemp.Edit()
127 ghuddy 104
      rsTemp.Fields("ripple_field").Value = selectedRippleType
121 hknight 105
      rsTemp.Update()
119 ghuddy 106
 
127 ghuddy 107
      Dim anotherQry
108
      Set anotherQry = OraDatabase.DbCreateDynaset( "SELECT state_name from ripple_field_states WHERE state_acronym ='"& selectedRippleType &"'", cint(0))
119 ghuddy 109
 
127 ghuddy 110
      '/* Log Action */
111
      Call Log_Action ( Request("pv_id"), "ripple_type_update", anotherQry.Fields("state_name").Value )
112
      anotherQry.Close()
113
      Set anotherQry = nothing
114
   End If
119 ghuddy 115
 
127 ghuddy 116
   If ( storedMajorLimit <> enteredMajorLimit ) Then
117
 
118
      'update fields
119
      rsTemp.Edit()
120
      If ( enteredMajorLimit <> "0" ) Then
121
        rsTemp.Fields("major_limit").Value = enteredMajorLimit
122
      Else
123
        rsTemp.Fields("major_limit").Value = NULL
124
      End If
125
      rsTemp.Update()
126
 
121 hknight 127
      '/* Log Action */
127 ghuddy 128
      Call Log_Action ( Request("pv_id"), "major_limit_update", enteredMajorLimit )
129
   End If
119 ghuddy 130
 
127 ghuddy 131
   If ( storedMinorLimit <> enteredMinorLimit ) Then
119 ghuddy 132
 
127 ghuddy 133
      'update fields
134
      rsTemp.Edit()
135
      If ( enteredMinorLimit <> "0" ) Then
136
        rsTemp.Fields("minor_limit").Value = enteredMinorLimit
137
      Else
138
        rsTemp.Fields("minor_limit").Value = NULL
139
      End If
140
      rsTemp.Update()
119 ghuddy 141
 
127 ghuddy 142
      '/* Log Action */
143
      Call Log_Action ( Request("pv_id"), "minor_limit_update", enteredMinorLimit )
144
   End If
119 ghuddy 145
 
127 ghuddy 146
   If ( storedPatchLimit <> enteredPatchLimit ) Then
147
 
148
      'update fields
149
      rsTemp.Edit()
150
      If ( enteredPatchLimit <> "0" ) Then
151
        rsTemp.Fields("patch_limit").Value = enteredPatchLimit
121 hknight 152
      Else
127 ghuddy 153
        rsTemp.Fields("patch_limit").Value = NULL
154
      End If
155
      rsTemp.Update()
119 ghuddy 156
 
127 ghuddy 157
      '/* Log Action */
158
      Call Log_Action ( Request("pv_id"), "patch_limit_update", enteredPatchLimit )
159
   End If
160
 
161
   If ( storedBuildNumberLimit <> enteredBuildLimit ) Then
162
 
163
      'update fields
164
      rsTemp.Edit()
165
      If ( enteredBuildLimit <> "0" ) Then
166
        rsTemp.Fields("build_number_limit").Value = enteredBuildLimit
167
      Else
168
        rsTemp.Fields("build_number_limit").Value = NULL
121 hknight 169
      End If
127 ghuddy 170
      rsTemp.Update()
119 ghuddy 171
 
127 ghuddy 172
      '/* Log Action */
173
      Call Log_Action ( Request("pv_id"), "build_number_limit_update", enteredBuildLimit )
121 hknight 174
   End If
175
 
176
   rsTemp.Close()
177
   Set rsTemp = nothing
119 ghuddy 178
End Sub
179
'------------------------------------------------------------------------------------------------------------------------------------
180
Sub RipplePackage (flag)
181
 
121 hknight 182
   OraDatabase.Parameters.Add "PV_ID",   parPv_id,                  ORAPARM_INPUT, ORATYPE_NUMBER
183
   OraDatabase.Parameters.Add "RTAG_ID", parRtag_id,                ORAPARM_INPUT, ORATYPE_NUMBER
184
   OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId,   ORAPARM_INPUT, ORATYPE_NUMBER
119 ghuddy 185
 
129 ghuddy 186
   objEH.TryORA ( OraSession )
187
   On Error Resume Next
119 ghuddy 188
 
121 hknight 189
   If flag Then
190
      OraDatabase.ExecuteSQL _
191
      "BEGIN  Ripple_Package( :PV_ID, :RTAG_ID, :USER_ID );  END;"
192
   Else
193
      OraDatabase.ExecuteSQL _
194
      "BEGIN  UnRipple_Package( :PV_ID, :RTAG_ID, :USER_ID );  END;"
195
   End If
119 ghuddy 196
 
129 ghuddy 197
   objEH.CatchORA ( OraSession )
119 ghuddy 198
 
121 hknight 199
   OraDatabase.Parameters.Remove "PV_ID"
200
   OraDatabase.Parameters.Remove "RTAG_ID"
201
   OraDatabase.Parameters.Remove "USER_ID"
119 ghuddy 202
 
203
End Sub
204
'------------------------------------------------------------------------------------------------------------------------------------
205
Sub Get_Form_Details( nPv_id, ByRef objDetails )
121 hknight 206
   Dim rsTemp, Query_String
207
   Query_String = _
208
   " SELECT * "&_
209
   "  FROM package_versions pv, packages pkg"&_
210
   " WHERE pv.pkg_id = pkg.pkg_id"&_
211
   "   AND pv_id = "& nPv_id
119 ghuddy 212
 
121 hknight 213
   Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
214
   If (NOT rsTemp.BOF ) AND (NOT rsTemp.EOF) Then
215
      objDetails.Item("pkg_name")              = rsTemp("pkg_name")
216
      objDetails.Item("pkg_version")           = rsTemp("pkg_version")
217
      objDetails.Item("pkg_label")             = rsTemp("pkg_label")
218
      objDetails.Item("src_path")              = rsTemp("src_path")
219
      objDetails.Item("pv_description")        = rsTemp("pv_description")
220
      objDetails.Item("pv_overview")           = rsTemp("pv_overview")
221
      objDetails.Item("v_ext")                 = rsTemp("v_ext")
222
      objDetails.Item("is_deployable")         = rsTemp("is_deployable")
223
      objDetails.Item("is_build_env_required") = rsTemp("is_build_env_required")
224
      objDetails.Item("build_type")            = rsTemp("build_type")
225
      objDetails.Item("bs_id")                 = rsTemp("bs_id")
226
      objDetails.Item("ripple_field")          = rsTemp("ripple_field")
127 ghuddy 227
      If isNull(rsTemp("major_limit")) Then
228
        objDetails.Item("major_limit")         = "0"
229
      Else
230
        objDetails.Item("major_limit")         = rsTemp("major_limit")
231
      End If
232
      If isNull(rsTemp("minor_limit")) Then
233
        objDetails.Item("minor_limit")         = "0"
234
      Else
235
        objDetails.Item("minor_limit")         = rsTemp("minor_limit")
236
      End If
237
      If isNull(rsTemp("patch_limit")) Then
238
        objDetails.Item("patch_limit")         = "0"
239
      Else
240
        objDetails.Item("patch_limit")         = rsTemp("patch_limit")
241
      End If
242
      If isNull(rsTemp("build_number_limit")) Then
243
        objDetails.Item("build_number_limit")  = "0"
244
      Else
245
        objDetails.Item("build_number_limit")  = rsTemp("build_number_limit")
246
      End If
121 hknight 247
   End If
119 ghuddy 248
 
121 hknight 249
   rsTemp.Close()
250
   Set rsTemp = Nothing
119 ghuddy 251
End Sub
252
'----------------------------------------------------------------------------------------------------------------------
253
Sub RenderRippleTypeCombo( cRippleType, cDLocked )
254
 
121 hknight 255
   Dim isEditable
119 ghuddy 256
 
121 hknight 257
   ' DEVI-49267 - ripple type needs to be changeable by team leaders post release so the permission constraint on
258
   ' this is relaxed to non-critical info level (See definition of Is_Page_Editable() in common_subs.asp)
259
   isEditable = Is_Page_Editable ( isDLocked )
119 ghuddy 260
 
121 hknight 261
   Query_String = "select * from ripple_field_states"
119 ghuddy 262
 
121 hknight 263
   If (isEditable) Then
127 ghuddy 264
      Response.Write "<select name='ripple_type_combo' id='rtc' class='form_item' onChange='changeToRippleType(this.options[this.selectedIndex].value)'>"
121 hknight 265
   Else
127 ghuddy 266
      Response.Write "<select name='ripple_type_combo' id='rtc' class='form_item' disabled>"
121 hknight 267
   End If
119 ghuddy 268
 
121 hknight 269
   Set rsTemp = OraDatabase.CreateDynaset( Query_String, cint(0))
119 ghuddy 270
 
121 hknight 271
   While (NOT rsTemp.BOF) AND (NOT rsTemp.EOF)
272
      If cRippleType = rsTemp.Fields("state_acronym") Then
273
         Response.write "<option value='"& rsTemp.Fields("state_acronym") &"' selected>"& rsTemp.Fields("state_name") &"</option>"
274
      ElseIf IsNull(cRippleType) AND rsTemp.Fields("state_acronym") = "b" Then 'If nothing selected, select Build Number
275
         Response.write "<option value='"& rsTemp.Fields("state_acronym") &"' selected>"& rsTemp.Fields("state_name") & "</option>"
276
      Else
277
         Response.write "<option value='"& rsTemp.Fields("state_acronym") &"'>"& rsTemp.Fields("state_name") & "</option>"
278
      End If
279
      rsTemp.MoveNext
280
   WEnd
119 ghuddy 281
 
121 hknight 282
   rsTemp.Close()
283
   Set rsTemp = nothing
119 ghuddy 284
 
121 hknight 285
   Response.Write "</select>"
119 ghuddy 286
 
287
End Sub
288
'----------------------------------------------------------------------------------------------------------------------
289
%>
290
<%
291
'------------------------------- RUN BEFORE PAGE RENDER ----------------------------
292
 
293
Call Get_Form_Details( parPv_id, objFormCollector )
294
 
295
Call Get_Pkg_Short_Info( parPv_id, NULL, NULL, NULL, NULL, NULL, isDLocked )
296
 
297
'-------------------------------------
298
'Start Process Submission
299
If CBool(QStrPar("action"))  AND  objAccessControl.UserLogedIn Then
300
 
121 hknight 301
   Call UpdateRippleType()
119 ghuddy 302
 
303
 
121 hknight 304
   If NOT CBool(QStrPar("rippleFlag")) AND Request("FRripplebuild") = "1" Then
305
      Call RipplePackage(True)
306
   End If
119 ghuddy 307
 
121 hknight 308
   If CBool(QStrPar("rippleFlag")) AND Request("FRripplebuild") = "0" Then
309
      Call RipplePackage(False)
310
   End If
119 ghuddy 311
 
312
 
121 hknight 313
   Call OpenInParentWindow ( "fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id &"&hidenv=true" )
314
   Call CloseWindow
119 ghuddy 315
 
316
End If
317
'End Process Submission
318
'--------------------------------------------------------------------------------------------
319
%>
320
<html>
321
<head>
322
<title>Release Manager</title>
323
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
324
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
325
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
326
<link rel="stylesheet" href="images/navigation.css" type="text/css">
327
<script language="JavaScript" src="images/common.js"></script>
328
<!-- TIPS -->
329
<script language="JavaScript" src="images/tipster.js"></script>
330
<script language="JavaScript" src="images/_help_tips.js"></script>
331
<script language="JavaScript" type="text/JavaScript">
332
<!--
333
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
121 hknight 334
   if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
335
      document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
336
   else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
119 ghuddy 337
}
338
MM_reloadPage(true);
127 ghuddy 339
function isNum(passedVal)
340
{
341
  if (passedVal == "")
342
  {
343
    return false
344
  }
345
  for(i=0; i<passedVal.length; i++)
346
  {
347
    if (passedVal.charAt(i) < "0")
348
    {
349
      return false
350
    }
351
    if (passedVal.charAt(i) > "9")
352
    {
353
      return false
354
    }
355
  }
356
  return true
357
}
358
function valid(form)
359
{
360
  if (!isNum(rippleproperties.Major.value))
361
  {
362
    alert("Invalid major number")
363
    return false
364
  }
365
  return true
366
}
367
function changeToRippleType(val)
368
{
369
  if ( val.match("L") )
370
  {
371
    document.getElementById("limits_row").style.visibility="visible"
372
  }
373
  else
374
  {
375
    document.getElementById("limits_row").style.visibility="hidden"
376
    document.getElementById("Major").value  = "0"
377
    document.getElementById("Minor").value  = "0"
378
    document.getElementById("Patch").value  = "0"
379
    document.getElementById("Build").value  = "0"
380
  }
381
}
382
function loader()
383
{
384
  changeToRippleType(document.getElementById("rtc").options[document.getElementById("rtc").selectedIndex].value)
385
}
386
if (window.addEventListener)
387
{
388
  window.addEventListener("load", loader, false)
389
}
390
else if (window.attachEvent)
391
{
392
  window.attachEvent("onload", loader)
393
}
394
else if (document.getElementById)
395
{
396
  window.onload=loader
397
}
119 ghuddy 398
//-->
399
</script>
400
</head>
127 ghuddy 401
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
119 ghuddy 402
<!-- TIPS LAYERS -------------------------------------->
403
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
404
<!----------------------------------------------------->
127 ghuddy 405
<form onSubmit="return valid(this)" name="rippleproperties" id="rp" method="post" action="<%=scriptName%>">
121 hknight 406
   <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
407
      <tr>
408
         <td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="icons/i_pkg_ripple_type.gif" width="21" height="21" hspace="5" border="0"></td>
409
         <td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl">&nbsp;Ripple Properties </td>
410
         <td background="images/lbox_bg_blue.gif" align="right" width="50%">
411
            <input type="submit" name="btn" value="Submit" class="form_btn_comp">
412
            <input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
413
         </td>
414
         <td background="images/lbox_bg_blue.gif" align="right" width="1%" nowrap>
415
            <img src="images/h_trsp_dot.gif" width="5" height="22">
416
         </td>
417
      </tr>
418
      <tr>
419
         <td height="100%" width="1%">&nbsp;</td>
420
         <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
421
            <table width="100%" border="0" cellspacing="1" cellpadding="2">
422
               <tr>
423
                  <td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
424
                  <td width="1%" nowrap class="form_group" valign="bottom"></td>
425
                  <td nowrap width="1%">&nbsp; </td>
426
                  <td nowrap width="100%">&nbsp;</td>
427
               </tr>
428
               <tr>
429
                  <td>&nbsp;</td>
430
                  <td nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Build Inclusion?<%=Quick_Help ( "ripple_build" )%></td>
431
                  <%
432
                  FRripplebuildYES = ""
433
                  FRripplebuildNO = ""
434
                  ' disabled="disabled" indicates the pv has been excluded indirectly
435
                  ' this is due to another pv (the root_pv_id) being excluded directly
436
                  ' allowing it to be included is somewhat pointless
437
                  ' fixing the root cause is a somewhat better approach
438
                  Dim disabled
439
                  disabled="disabled"
119 ghuddy 440
 
121 hknight 441
                  Dim rsQryRipple, rippleFlag
442
                  Set rsQryRipple = OraDatabase.DbCreateDynaset( "SELECT root_pv_id FROM DO_NOT_RIPPLE WHERE RTAG_ID ="& parRtag_id &"AND PV_ID ="& parPv_id, cint(0))
119 ghuddy 443
 
121 hknight 444
                  If rsQryRipple.RecordCount = 0  Then
445
                     FRripplebuildYES = "checked"
446
                     rippleFlag = True
447
                     ' do not disable the default
448
                     disabled=""
449
                  Else
450
                     If isNull(rsQryRipple("root_pv_id")) Then
451
                        ' pv has been excluded directly
452
                        ' ie has a null pv_id
453
                        ' once fixed, pv should be included ie do not disable
454
                        disabled=""
455
                     End If
456
                     FRripplebuildNO = "checked"
457
                     rippleFlag = False
458
                  End If
119 ghuddy 459
 
121 hknight 460
                  rsQryRipple.Close()
461
                  Set rsQryRipple = nothing
119 ghuddy 462
 
121 hknight 463
                  %>
127 ghuddy 464
                  <td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt" align="right">
465
                     Yes<input name="FRripplebuild" type="radio" value="1" <%=FRripplebuildYES%>  <%=disabled%>>&nbsp;&nbsp;
466
                     No<input name="FRripplebuild" type="radio" value="0" <%=FRripplebuildNO%>>&nbsp;&nbsp;
121 hknight 467
                  </td>
468
                  <td background="images/bg_form_lightbluedark.gif">
469
                     <span class='err_alert'><b>WARNING!</span>
470
                     <font size='1'>
127 ghuddy 471
                        <br>
472
                        When set to No, this package and <u>all</u> packages which depend on this package, either directly or indirectly,<br>
121 hknight 473
                        will be excluded from the build. When the Yes option is disabled, indicates this package has been excluded indirectly.
474
                     </font></b>
475
                  </td>
476
               </tr>
477
               <tr>
478
                  <td>&nbsp;</td>
127 ghuddy 479
                  <td nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Ripple Type?<%=Quick_Help ( "ripple_type" )%></td>
121 hknight 480
                  <td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
127 ghuddy 481
                    &nbsp;&nbsp;<% Call RenderRippleTypeCombo( objFormCollector.Item("ripple_field"), isDLocked )%>&nbsp;&nbsp;
121 hknight 482
                  </td>
483
                  <td background="images/bg_form_lightbluedark.gif">
484
                     <span class='err_alert'><b>WARNING!</span>
127 ghuddy 485
                     <font size='1'>
486
                        <br>
487
                        This enables a package to advertise how it will be numbered when rippled.<br>
488
                        THIS IS PRIMARILY INTENDED TO CATER FOR PACKAGES WHICH DO NOT SUPPORT A NON ZERO PATCH/BUILD NUMBER,<br>
121 hknight 489
                        AND FOR PRODUCTS WHERE CONSTANTLY RIPPLING A PATCH/BUILD NUMBER IS DISLIKED BY A CUSTOMER.
490
                     </font></b>
491
                  </td>
492
               </tr>
127 ghuddy 493
               <tr id="limits_row" style="visibility:hidden; position:static">
494
                  <td>&nbsp;</td>
495
                  <td nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Version Field Limits</td>
496
                  <td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt" align="right">
497
                     Major&nbsp;&nbsp;<input name="Major" id="Major" type="text" class="form_item" size="8" value="<%=objFormCollector.Item("major_limit")%>">&nbsp;&nbsp;<br>
498
                     Minor&nbsp;&nbsp;<input name="Minor" id="Minor" type="text" class="form_item" size="8" value="<%=objFormCollector.Item("minor_limit")%>">&nbsp;&nbsp;<br>
499
                     Patch&nbsp;&nbsp;<input name="Patch" id="Patch" type="text" class="form_item" size="8" value="<%=objFormCollector.Item("patch_limit")%>">&nbsp;&nbsp;<br>
500
                     Build&nbsp;&nbsp;<input name="Build" id="Build" type="text" class="form_item" size="8" value="<%=objFormCollector.Item("build_number_limit")%>">&nbsp;&nbsp;
501
                  </td>
502
                  <td background="images/bg_form_lightbluedark.gif">
503
                     <span class='err_alert'><b>WARNING!</span>
504
                     <font size='1'>
505
                        <br>
506
                        A field (major/minor/patch/build number) may be assigned non zero limits to determine how it will be numbered when rippled.<br>
507
                        Prior to reaching a limit, the rightmost field able to be incremented will be when rippled.<br>
508
                        Upon reaching a limit, that rightmost field will be set to zero and the field next left with a non zero limit (if one exists) will be incremented when rippled.<br>
509
                        A field may be assigned to zero to fix the field (to 0 or 000 for the build number field) when rippled.
510
                     </font></b>
511
                  </td>
512
               </tr>
121 hknight 513
               <tr>
514
                  <td>&nbsp;</td>
515
                  <td nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
516
                  <td nowrap> <p>&nbsp;</p></td>
517
                  <td nowrap>&nbsp;</td>
518
               </tr>
519
            </table>
520
        </td>
521
      </tr>
522
      <tr>
523
         <td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
524
         <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/lbox_bg_blue.gif"></td>
525
      </tr>
526
   </table>
119 ghuddy 527
<input type="hidden" name="pv_id" value="<%=parPv_id%>">
528
<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
529
<input type="hidden" name="rippleFlag" value="<%=rippleFlag%>">
530
<input type="hidden" name="action" value="true">
531
</form>
532
</body>
533
</html>
534
<%
535
'------------- RUN AFTER PAGE RENDER ---------------
536
Set objFormCollector = Nothing
537
'---------------------------------------------------
538
%>
539
 
540
<!-- DESTRUCTOR ------->
541
<!--#include file="common/destructor.asp"-->