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"&_
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
 
186
 
121 hknight 187
   OraSession.BeginTrans
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
 
197
    OraSession.CommitTrans
198
 
199
 
121 hknight 200
   OraDatabase.Parameters.Remove "PV_ID"
201
   OraDatabase.Parameters.Remove "RTAG_ID"
202
   OraDatabase.Parameters.Remove "USER_ID"
119 ghuddy 203
 
204
End Sub
205
'------------------------------------------------------------------------------------------------------------------------------------
206
Sub Get_Form_Details( nPv_id, ByRef objDetails )
121 hknight 207
   Dim rsTemp, Query_String
208
   Query_String = _
209
   " SELECT * "&_
210
   "  FROM package_versions pv, packages pkg"&_
211
   " WHERE pv.pkg_id = pkg.pkg_id"&_
212
   "   AND pv_id = "& nPv_id
119 ghuddy 213
 
121 hknight 214
   Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
215
   If (NOT rsTemp.BOF ) AND (NOT rsTemp.EOF) Then
216
      objDetails.Item("pkg_name")              = rsTemp("pkg_name")
217
      objDetails.Item("pkg_version")           = rsTemp("pkg_version")
218
      objDetails.Item("pkg_label")             = rsTemp("pkg_label")
219
      objDetails.Item("src_path")              = rsTemp("src_path")
220
      objDetails.Item("pv_description")        = rsTemp("pv_description")
221
      objDetails.Item("pv_overview")           = rsTemp("pv_overview")
222
      objDetails.Item("v_ext")                 = rsTemp("v_ext")
223
      objDetails.Item("is_deployable")         = rsTemp("is_deployable")
224
      objDetails.Item("is_build_env_required") = rsTemp("is_build_env_required")
225
      objDetails.Item("build_type")            = rsTemp("build_type")
226
      objDetails.Item("bs_id")                 = rsTemp("bs_id")
227
      objDetails.Item("ripple_field")          = rsTemp("ripple_field")
127 ghuddy 228
      If isNull(rsTemp("major_limit")) Then
229
        objDetails.Item("major_limit")         = "0"
230
      Else
231
        objDetails.Item("major_limit")         = rsTemp("major_limit")
232
      End If
233
      If isNull(rsTemp("minor_limit")) Then
234
        objDetails.Item("minor_limit")         = "0"
235
      Else
236
        objDetails.Item("minor_limit")         = rsTemp("minor_limit")
237
      End If
238
      If isNull(rsTemp("patch_limit")) Then
239
        objDetails.Item("patch_limit")         = "0"
240
      Else
241
        objDetails.Item("patch_limit")         = rsTemp("patch_limit")
242
      End If
243
      If isNull(rsTemp("build_number_limit")) Then
244
        objDetails.Item("build_number_limit")  = "0"
245
      Else
246
        objDetails.Item("build_number_limit")  = rsTemp("build_number_limit")
247
      End If
121 hknight 248
   End If
119 ghuddy 249
 
121 hknight 250
   rsTemp.Close()
251
   Set rsTemp = Nothing
119 ghuddy 252
End Sub
253
'----------------------------------------------------------------------------------------------------------------------
254
Sub RenderRippleTypeCombo( cRippleType, cDLocked )
255
 
121 hknight 256
   Dim isEditable
119 ghuddy 257
 
121 hknight 258
   ' DEVI-49267 - ripple type needs to be changeable by team leaders post release so the permission constraint on
259
   ' this is relaxed to non-critical info level (See definition of Is_Page_Editable() in common_subs.asp)
260
   isEditable = Is_Page_Editable ( isDLocked )
119 ghuddy 261
 
121 hknight 262
   Query_String = "select * from ripple_field_states"
119 ghuddy 263
 
121 hknight 264
   If (isEditable) Then
127 ghuddy 265
      Response.Write "<select name='ripple_type_combo' id='rtc' class='form_item' onChange='changeToRippleType(this.options[this.selectedIndex].value)'>"
121 hknight 266
   Else
127 ghuddy 267
      Response.Write "<select name='ripple_type_combo' id='rtc' class='form_item' disabled>"
121 hknight 268
   End If
119 ghuddy 269
 
121 hknight 270
   Set rsTemp = OraDatabase.CreateDynaset( Query_String, cint(0))
119 ghuddy 271
 
121 hknight 272
   While (NOT rsTemp.BOF) AND (NOT rsTemp.EOF)
273
      If cRippleType = rsTemp.Fields("state_acronym") Then
274
         Response.write "<option value='"& rsTemp.Fields("state_acronym") &"' selected>"& rsTemp.Fields("state_name") &"</option>"
275
      ElseIf IsNull(cRippleType) AND rsTemp.Fields("state_acronym") = "b" Then 'If nothing selected, select Build Number
276
         Response.write "<option value='"& rsTemp.Fields("state_acronym") &"' selected>"& rsTemp.Fields("state_name") & "</option>"
277
      Else
278
         Response.write "<option value='"& rsTemp.Fields("state_acronym") &"'>"& rsTemp.Fields("state_name") & "</option>"
279
      End If
280
      rsTemp.MoveNext
281
   WEnd
119 ghuddy 282
 
121 hknight 283
   rsTemp.Close()
284
   Set rsTemp = nothing
119 ghuddy 285
 
121 hknight 286
   Response.Write "</select>"
119 ghuddy 287
 
288
End Sub
289
'----------------------------------------------------------------------------------------------------------------------
290
%>
291
<%
292
'------------------------------- RUN BEFORE PAGE RENDER ----------------------------
293
 
294
Call Get_Form_Details( parPv_id, objFormCollector )
295
 
296
Call Get_Pkg_Short_Info( parPv_id, NULL, NULL, NULL, NULL, NULL, isDLocked )
297
 
298
'-------------------------------------
299
'Start Process Submission
300
If CBool(QStrPar("action"))  AND  objAccessControl.UserLogedIn Then
301
 
121 hknight 302
   Call UpdateRippleType()
119 ghuddy 303
 
304
 
121 hknight 305
   If NOT CBool(QStrPar("rippleFlag")) AND Request("FRripplebuild") = "1" Then
306
      Call RipplePackage(True)
307
   End If
119 ghuddy 308
 
121 hknight 309
   If CBool(QStrPar("rippleFlag")) AND Request("FRripplebuild") = "0" Then
310
      Call RipplePackage(False)
311
   End If
119 ghuddy 312
 
313
 
121 hknight 314
   Call OpenInParentWindow ( "fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id &"&hidenv=true" )
315
   Call CloseWindow
119 ghuddy 316
 
317
End If
318
'End Process Submission
319
'--------------------------------------------------------------------------------------------
320
%>
321
<html>
322
<head>
323
<title>Release Manager</title>
324
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
325
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
326
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
327
<link rel="stylesheet" href="images/navigation.css" type="text/css">
328
<script language="JavaScript" src="images/common.js"></script>
329
<!-- TIPS -->
330
<script language="JavaScript" src="images/tipster.js"></script>
331
<script language="JavaScript" src="images/_help_tips.js"></script>
332
<script language="JavaScript" type="text/JavaScript">
333
<!--
334
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
121 hknight 335
   if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
336
      document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
337
   else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
119 ghuddy 338
}
339
MM_reloadPage(true);
127 ghuddy 340
function isNum(passedVal)
341
{
342
  if (passedVal == "")
343
  {
344
    return false
345
  }
346
  for(i=0; i<passedVal.length; i++)
347
  {
348
    if (passedVal.charAt(i) < "0")
349
    {
350
      return false
351
    }
352
    if (passedVal.charAt(i) > "9")
353
    {
354
      return false
355
    }
356
  }
357
  return true
358
}
359
function valid(form)
360
{
361
  if (!isNum(rippleproperties.Major.value))
362
  {
363
    alert("Invalid major number")
364
    return false
365
  }
366
  return true
367
}
368
function changeToRippleType(val)
369
{
370
  if ( val.match("L") )
371
  {
372
    document.getElementById("limits_row").style.visibility="visible"
373
  }
374
  else
375
  {
376
    document.getElementById("limits_row").style.visibility="hidden"
377
    document.getElementById("Major").value  = "0"
378
    document.getElementById("Minor").value  = "0"
379
    document.getElementById("Patch").value  = "0"
380
    document.getElementById("Build").value  = "0"
381
  }
382
}
383
function loader()
384
{
385
  changeToRippleType(document.getElementById("rtc").options[document.getElementById("rtc").selectedIndex].value)
386
}
387
if (window.addEventListener)
388
{
389
  window.addEventListener("load", loader, false)
390
}
391
else if (window.attachEvent)
392
{
393
  window.attachEvent("onload", loader)
394
}
395
else if (document.getElementById)
396
{
397
  window.onload=loader
398
}
119 ghuddy 399
//-->
400
</script>
401
</head>
127 ghuddy 402
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
119 ghuddy 403
<!-- TIPS LAYERS -------------------------------------->
404
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
405
<!----------------------------------------------------->
127 ghuddy 406
<form onSubmit="return valid(this)" name="rippleproperties" id="rp" method="post" action="<%=scriptName%>">
121 hknight 407
   <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
408
      <tr>
409
         <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>
410
         <td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl">&nbsp;Ripple Properties </td>
411
         <td background="images/lbox_bg_blue.gif" align="right" width="50%">
412
            <input type="submit" name="btn" value="Submit" class="form_btn_comp">
413
            <input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
414
         </td>
415
         <td background="images/lbox_bg_blue.gif" align="right" width="1%" nowrap>
416
            <img src="images/h_trsp_dot.gif" width="5" height="22">
417
         </td>
418
      </tr>
419
      <tr>
420
         <td height="100%" width="1%">&nbsp;</td>
421
         <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
422
            <table width="100%" border="0" cellspacing="1" cellpadding="2">
423
               <tr>
424
                  <td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
425
                  <td width="1%" nowrap class="form_group" valign="bottom"></td>
426
                  <td nowrap width="1%">&nbsp; </td>
427
                  <td nowrap width="100%">&nbsp;</td>
428
               </tr>
429
               <tr>
430
                  <td>&nbsp;</td>
431
                  <td nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Build Inclusion?<%=Quick_Help ( "ripple_build" )%></td>
432
                  <%
433
                  FRripplebuildYES = ""
434
                  FRripplebuildNO = ""
435
                  ' disabled="disabled" indicates the pv has been excluded indirectly
436
                  ' this is due to another pv (the root_pv_id) being excluded directly
437
                  ' allowing it to be included is somewhat pointless
438
                  ' fixing the root cause is a somewhat better approach
439
                  Dim disabled
440
                  disabled="disabled"
119 ghuddy 441
 
121 hknight 442
                  Dim rsQryRipple, rippleFlag
443
                  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 444
 
121 hknight 445
                  If rsQryRipple.RecordCount = 0  Then
446
                     FRripplebuildYES = "checked"
447
                     rippleFlag = True
448
                     ' do not disable the default
449
                     disabled=""
450
                  Else
451
                     If isNull(rsQryRipple("root_pv_id")) Then
452
                        ' pv has been excluded directly
453
                        ' ie has a null pv_id
454
                        ' once fixed, pv should be included ie do not disable
455
                        disabled=""
456
                     End If
457
                     FRripplebuildNO = "checked"
458
                     rippleFlag = False
459
                  End If
119 ghuddy 460
 
121 hknight 461
                  rsQryRipple.Close()
462
                  Set rsQryRipple = nothing
119 ghuddy 463
 
121 hknight 464
                  %>
127 ghuddy 465
                  <td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt" align="right">
466
                     Yes<input name="FRripplebuild" type="radio" value="1" <%=FRripplebuildYES%>  <%=disabled%>>&nbsp;&nbsp;
467
                     No<input name="FRripplebuild" type="radio" value="0" <%=FRripplebuildNO%>>&nbsp;&nbsp;
121 hknight 468
                  </td>
469
                  <td background="images/bg_form_lightbluedark.gif">
470
                     <span class='err_alert'><b>WARNING!</span>
471
                     <font size='1'>
127 ghuddy 472
                        <br>
473
                        When set to No, this package and <u>all</u> packages which depend on this package, either directly or indirectly,<br>
121 hknight 474
                        will be excluded from the build. When the Yes option is disabled, indicates this package has been excluded indirectly.
475
                     </font></b>
476
                  </td>
477
               </tr>
478
               <tr>
479
                  <td>&nbsp;</td>
127 ghuddy 480
                  <td nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Ripple Type?<%=Quick_Help ( "ripple_type" )%></td>
121 hknight 481
                  <td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
127 ghuddy 482
                    &nbsp;&nbsp;<% Call RenderRippleTypeCombo( objFormCollector.Item("ripple_field"), isDLocked )%>&nbsp;&nbsp;
121 hknight 483
                  </td>
484
                  <td background="images/bg_form_lightbluedark.gif">
485
                     <span class='err_alert'><b>WARNING!</span>
127 ghuddy 486
                     <font size='1'>
487
                        <br>
488
                        This enables a package to advertise how it will be numbered when rippled.<br>
489
                        THIS IS PRIMARILY INTENDED TO CATER FOR PACKAGES WHICH DO NOT SUPPORT A NON ZERO PATCH/BUILD NUMBER,<br>
121 hknight 490
                        AND FOR PRODUCTS WHERE CONSTANTLY RIPPLING A PATCH/BUILD NUMBER IS DISLIKED BY A CUSTOMER.
491
                     </font></b>
492
                  </td>
493
               </tr>
127 ghuddy 494
               <tr id="limits_row" style="visibility:hidden; position:static">
495
                  <td>&nbsp;</td>
496
                  <td nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Version Field Limits</td>
497
                  <td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt" align="right">
498
                     Major&nbsp;&nbsp;<input name="Major" id="Major" type="text" class="form_item" size="8" value="<%=objFormCollector.Item("major_limit")%>">&nbsp;&nbsp;<br>
499
                     Minor&nbsp;&nbsp;<input name="Minor" id="Minor" type="text" class="form_item" size="8" value="<%=objFormCollector.Item("minor_limit")%>">&nbsp;&nbsp;<br>
500
                     Patch&nbsp;&nbsp;<input name="Patch" id="Patch" type="text" class="form_item" size="8" value="<%=objFormCollector.Item("patch_limit")%>">&nbsp;&nbsp;<br>
501
                     Build&nbsp;&nbsp;<input name="Build" id="Build" type="text" class="form_item" size="8" value="<%=objFormCollector.Item("build_number_limit")%>">&nbsp;&nbsp;
502
                  </td>
503
                  <td background="images/bg_form_lightbluedark.gif">
504
                     <span class='err_alert'><b>WARNING!</span>
505
                     <font size='1'>
506
                        <br>
507
                        A field (major/minor/patch/build number) may be assigned non zero limits to determine how it will be numbered when rippled.<br>
508
                        Prior to reaching a limit, the rightmost field able to be incremented will be when rippled.<br>
509
                        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>
510
                        A field may be assigned to zero to fix the field (to 0 or 000 for the build number field) when rippled.
511
                     </font></b>
512
                  </td>
513
               </tr>
121 hknight 514
               <tr>
515
                  <td>&nbsp;</td>
516
                  <td nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
517
                  <td nowrap> <p>&nbsp;</p></td>
518
                  <td nowrap>&nbsp;</td>
519
               </tr>
520
            </table>
521
        </td>
522
      </tr>
523
      <tr>
524
         <td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
525
         <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/lbox_bg_blue.gif"></td>
526
      </tr>
527
   </table>
119 ghuddy 528
<input type="hidden" name="pv_id" value="<%=parPv_id%>">
529
<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
530
<input type="hidden" name="rippleFlag" value="<%=rippleFlag%>">
531
<input type="hidden" name="action" value="true">
532
</form>
533
</body>
534
</html>
535
<%
536
'------------- RUN AFTER PAGE RENDER ---------------
537
Set objFormCollector = Nothing
538
'---------------------------------------------------
539
%>
540
 
541
<!-- DESTRUCTOR ------->
542
<!--#include file="common/destructor.asp"-->