| 5357 |
dpurdie |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| Edit Release |
|
|
|
6 |
'| |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
' Good idea to set when using redirect
|
|
|
12 |
Response.Expires = 0 ' always load the page, dont store
|
|
|
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
|
|
|
22 |
Call objPMod.StoreParameter ( "rfile", "rtree.asp" )
|
|
|
23 |
'------------ ACCESS CONTROL ------------------
|
|
|
24 |
%>
|
| 6181 |
dpurdie |
25 |
<!--#include file="_access_control_login_optional.asp"-->
|
| 5357 |
dpurdie |
26 |
<!--#include file="_access_control_general.asp"-->
|
|
|
27 |
<!--#include file="_access_control_project.asp"-->
|
|
|
28 |
<%
|
|
|
29 |
'------------ Variable Definition -------------
|
|
|
30 |
Dim rsQry
|
|
|
31 |
Dim ctrlDisabled, bCanEdit
|
|
|
32 |
Dim returnUrl
|
|
|
33 |
|
|
|
34 |
'------------ Constants Declaration -----------
|
|
|
35 |
'------------ Variable Init -------------------
|
|
|
36 |
If canActionControlInProject("CreateNewRelease") or canActionControlInProject("ConfigureRelease") Then
|
|
|
37 |
ctrlDisabled = ""
|
|
|
38 |
bCanEdit = TRUE
|
|
|
39 |
Else
|
|
|
40 |
ctrlDisabled = "disabled"
|
|
|
41 |
bCanEdit = FALSE
|
|
|
42 |
End If
|
|
|
43 |
|
|
|
44 |
' Maintain the page to goto after we process this one
|
|
|
45 |
' Go back from whence we came
|
|
|
46 |
' Grab the referre on the first call so that postback does not confuse us
|
|
|
47 |
returnUrl = Request("returnUrl")
|
|
|
48 |
If returnUrl = "" Then
|
|
|
49 |
returnUrl = Request.ServerVariables ("HTTP_REFERER")
|
|
|
50 |
|
|
|
51 |
' It MUST have an rtag id
|
|
|
52 |
If InStr(returnUrl,"rtag_id") = 0 Then
|
|
|
53 |
Dim joiner : joiner = "?"
|
|
|
54 |
If InStr(returnUrl,"?") <> 0 Then joiner = "&"
|
|
|
55 |
returnUrl = returnUrl & joiner & "rtag_id=" & Request("rtag_id")
|
|
|
56 |
End If
|
|
|
57 |
End If
|
|
|
58 |
|
|
|
59 |
'----------------------------------------------
|
|
|
60 |
%>
|
|
|
61 |
<%
|
|
|
62 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 6543 |
dpurdie |
63 |
' Clean up a check box value to True or False
|
|
|
64 |
Function CheckBoxValue( val )
|
|
|
65 |
If IsNull(val) Then
|
|
|
66 |
CheckBoxValue = FALSE
|
|
|
67 |
ElseIf Ucase(val) = "Y" Then
|
|
|
68 |
CheckBoxValue = TRUE
|
|
|
69 |
ElseIf Ucase(val) = "ON" Then
|
|
|
70 |
CheckBoxValue = TRUE
|
|
|
71 |
Else
|
|
|
72 |
CheckBoxValue = FALSE
|
|
|
73 |
End If
|
|
|
74 |
End Function
|
|
|
75 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 5357 |
dpurdie |
76 |
Sub GetFormDetails ( nRtagId, ByRef outobjDetails )
|
|
|
77 |
Dim rsQry, query
|
|
|
78 |
|
|
|
79 |
OraDatabase.Parameters.Add "RTAG_ID", nRtagId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
80 |
|
|
|
81 |
query = _
|
|
|
82 |
" SELECT rt.* "&_
|
|
|
83 |
" FROM RELEASE_TAGS rt"&_
|
|
|
84 |
" WHERE rt.RTAG_ID = :RTAG_ID"
|
|
|
85 |
|
|
|
86 |
Set rsQry = OraDatabase.DbCreateDynaset( query, ORADYN_DEFAULT )
|
|
|
87 |
|
|
|
88 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
|
|
89 |
|
|
|
90 |
If rsQry.RecordCount > 0 Then
|
|
|
91 |
outobjDetails.Item ("rtag_id") = rsQry("rtag_id")
|
|
|
92 |
outobjDetails.Item ("proj_id") = rsQry("proj_id")
|
|
|
93 |
outobjDetails.Item ("rtag_name") = rsQry("rtag_name")
|
|
|
94 |
outobjDetails.Item ("description") = rsQry("description")
|
|
|
95 |
outobjDetails.Item ("parent_rtag_id") = rsQry("parent_rtag_id")
|
|
|
96 |
outobjDetails.Item ("config_spec_branch") = rsQry("config_spec_branch")
|
|
|
97 |
outobjDetails.Item ("owner_email") = rsQry("owner_email")
|
|
|
98 |
outobjDetails.Item ("product_state_used") = rsQry("product_state_used")
|
|
|
99 |
outobjDetails.Item ("build_age") = rsQry("build_age")
|
|
|
100 |
outobjDetails.Item ("lxr") = rsQry("lxr")
|
| 7395 |
dpurdie |
101 |
outobjDetails.Item ("s3sync") = rsQry("s3sync")
|
| 5357 |
dpurdie |
102 |
If rsQry("assoc_mass_ref") <> "" Then
|
|
|
103 |
outobjDetails.Item ("massref_rtag_id") = rsQry("assoc_mass_ref")
|
|
|
104 |
End If
|
|
|
105 |
Else
|
|
|
106 |
Err.Raise 8, "Sub GetFormDetails in "& ScriptName, "Empty record set returned. nRtagId="& nRtagId
|
|
|
107 |
|
|
|
108 |
End If
|
|
|
109 |
|
|
|
110 |
rsQry.Close
|
|
|
111 |
Set rsQry = Nothing
|
|
|
112 |
End Sub
|
|
|
113 |
'--------------------------------------------------------------------------------------------------------------------------
|
|
|
114 |
Sub UpdateReleaseDetails ()
|
|
|
115 |
|
| 6543 |
dpurdie |
116 |
Dim State : State = Iif(CheckBoxValue(request("product_state_used")),"Y",NULL)
|
|
|
117 |
Dim lxrState : lxrState = Iif(CheckBoxValue(request("lxr")),"Y","N")
|
| 7395 |
dpurdie |
118 |
Dim s3State : s3State = Iif(CheckBoxValue(request("s3sync")),"Y","N")
|
| 6543 |
dpurdie |
119 |
Dim bAge : bAge = Request("build_age")
|
| 7417 |
dpurdie |
120 |
If NiceInt(bAge,0) = 0 Then bAge = NULL
|
| 5357 |
dpurdie |
121 |
|
|
|
122 |
OraDatabase.Parameters.Add "RTAG_ID", Request("rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
| 6543 |
dpurdie |
123 |
OraDatabase.Parameters.Add "RTAG_NAME", Trim(Request("rtag_name")), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
|
|
124 |
OraDatabase.Parameters.Add "RTAG_DESCRIPTION", Trim(Request("rtag_description")), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
|
|
125 |
OraDatabase.Parameters.Add "CONFIG_SPEC_BRANCH", Trim(Request("config_spec_branch")), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
|
|
126 |
OraDatabase.Parameters.Add "OWNER_EMAIL", Trim(Request("owner_email")), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 5357 |
dpurdie |
127 |
OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
128 |
OraDatabase.Parameters.Add "PARENT_RTAG_ID", Request("parent_rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
129 |
OraDatabase.Parameters.Add "MASSREF_RTAG_ID", Request("massref_rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
130 |
OraDatabase.Parameters.Add "STATE", State, ORAPARM_INPUT, ORATYPE_VARCHAR
|
| 6543 |
dpurdie |
131 |
OraDatabase.Parameters.Add "BUILD_AGE", bAge, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 5357 |
dpurdie |
132 |
OraDatabase.Parameters.Add "LXR", lxrState, ORAPARM_INPUT, ORATYPE_CHAR
|
| 7395 |
dpurdie |
133 |
OraDatabase.Parameters.Add "S3SYNC", s3State, ORAPARM_INPUT, ORATYPE_CHAR
|
| 6881 |
dpurdie |
134 |
|
|
|
135 |
objEH.ErrorRedirect = FALSE
|
|
|
136 |
On Error Resume Next
|
| 5357 |
dpurdie |
137 |
objEH.TryORA ( OraSession )
|
|
|
138 |
|
|
|
139 |
OraDatabase.ExecuteSQL _
|
|
|
140 |
"BEGIN PK_RELEASE.UPDATE_RELEASE ( " &_
|
|
|
141 |
" :RTAG_ID, " &_
|
|
|
142 |
" :RTAG_NAME," &_
|
|
|
143 |
" :RTAG_DESCRIPTION," &_
|
|
|
144 |
" :PARENT_RTAG_ID," &_
|
|
|
145 |
" :MASSREF_RTAG_ID," &_
|
|
|
146 |
" :CONFIG_SPEC_BRANCH," &_
|
|
|
147 |
" :OWNER_EMAIL," &_
|
|
|
148 |
" :USER_ID," &_
|
|
|
149 |
" :STATE," &_
|
|
|
150 |
" :BUILD_AGE," &_
|
| 7395 |
dpurdie |
151 |
" :LXR," &_
|
|
|
152 |
" :S3SYNC" &_
|
| 5357 |
dpurdie |
153 |
"); END;"
|
|
|
154 |
|
|
|
155 |
objEH.CatchORA ( OraSession )
|
|
|
156 |
|
|
|
157 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
|
|
158 |
OraDatabase.Parameters.Remove "RTAG_NAME"
|
|
|
159 |
OraDatabase.Parameters.Remove "RTAG_DESCRIPTION"
|
|
|
160 |
OraDatabase.Parameters.Remove "CONFIG_SPEC_BRANCH"
|
|
|
161 |
OraDatabase.Parameters.Remove "OWNER_EMAIL"
|
|
|
162 |
OraDatabase.Parameters.Remove "USER_ID"
|
|
|
163 |
OraDatabase.Parameters.Remove "PARENT_RTAG_ID"
|
|
|
164 |
OraDatabase.Parameters.Remove "MASSREF_RTAG_ID"
|
|
|
165 |
OraDatabase.Parameters.Remove "STATE"
|
|
|
166 |
OraDatabase.Parameters.Remove "BUILD_AGE"
|
|
|
167 |
OraDatabase.Parameters.Remove "LXR"
|
| 7395 |
dpurdie |
168 |
OraDatabase.Parameters.Remove "S3SYNC"
|
| 5357 |
dpurdie |
169 |
|
|
|
170 |
End Sub
|
|
|
171 |
'--------------------------------------------------------------------------------------------------------------------------
|
|
|
172 |
%>
|
|
|
173 |
<%
|
|
|
174 |
'------------ RUN BEFORE PAGE RENDER ----------
|
|
|
175 |
' --- Get Form details from DB ---
|
|
|
176 |
Call GetFormDetails ( Request("rtag_id"), objFormCollector )
|
|
|
177 |
|
|
|
178 |
' --- Load Validation Rules ---
|
| 6543 |
dpurdie |
179 |
objForm.UpdateRules ("id='rtag_name' IsRequired='Y' IsName='Y' MinStringLength='2' MaxStringLength='150'")
|
| 5658 |
dpurdie |
180 |
objForm.UpdateRules ("id='rtag_description' IsRequired='Y' MaxStringLength='4000' MinStringLength='10'")
|
| 6543 |
dpurdie |
181 |
objForm.UpdateRules ("id='config_spec_branch' IsRequired='N' IsName='Y' MaxStringLength='4000' MinStringLength='10'")
|
|
|
182 |
objForm.UpdateRules ("id='build_age' IsRequired='N' IsNumeric='Y' MinNumericValue='0' MaxNumericValue='365'")
|
| 5357 |
dpurdie |
183 |
|
|
|
184 |
' --- Enter Form Validation Rule Changes here... ----
|
|
|
185 |
'----------------------------------------------------
|
|
|
186 |
|
|
|
187 |
' --- RUN onPostBack ---
|
|
|
188 |
If Request("action") <> "" Then
|
|
|
189 |
If objForm.IsValidOnPostBack Then
|
|
|
190 |
' --- Form is Valid ---
|
|
|
191 |
If bCanEdit Then
|
|
|
192 |
Call UpdateReleaseDetails()
|
|
|
193 |
If objEH.Finally Then
|
|
|
194 |
Call OpenInWindow ( returnUrl )
|
|
|
195 |
End If
|
|
|
196 |
Else
|
|
|
197 |
Call OpenInWindow ( returnUrl )
|
|
|
198 |
End If
|
|
|
199 |
End If
|
|
|
200 |
End If
|
|
|
201 |
|
|
|
202 |
'----------------------------------------------
|
|
|
203 |
%>
|
|
|
204 |
|
|
|
205 |
<html>
|
|
|
206 |
<head>
|
|
|
207 |
<title>Release Manager</title>
|
|
|
208 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
|
|
209 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
210 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 6579 |
dpurdie |
211 |
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
|
|
|
212 |
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
|
|
|
213 |
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
|
| 5357 |
dpurdie |
214 |
<!-- DROPDOWN MENUS -->
|
| 5983 |
dpurdie |
215 |
<!--#include file="_jquery_includes.asp"-->
|
| 5357 |
dpurdie |
216 |
<!--#include file="_menu_def.asp"-->
|
| 6579 |
dpurdie |
217 |
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
|
| 5357 |
dpurdie |
218 |
|
|
|
219 |
</head>
|
|
|
220 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onLoad="FormName.rtag_name.focus();">
|
|
|
221 |
<!-- HEADER -->
|
|
|
222 |
<!--#include file="_header.asp"-->
|
|
|
223 |
<!-- BODY ---->
|
|
|
224 |
|
|
|
225 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
226 |
<%
|
|
|
227 |
'-- FROM START ---------------------------------------------------------------------------------------------------------
|
|
|
228 |
objFormComponent.FormName = "FormName"
|
|
|
229 |
objFormComponent.Action = ScriptName
|
|
|
230 |
If NOT bCanEdit Then
|
|
|
231 |
objFormComponent.IsReadonlyAction = enumDB_YES
|
|
|
232 |
End If
|
|
|
233 |
Call objFormComponent.FormStart()
|
|
|
234 |
%>
|
|
|
235 |
<tr>
|
| 6876 |
dpurdie |
236 |
<td class='bg_panel'></td>
|
| 5357 |
dpurdie |
237 |
<td width="100%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF">
|
|
|
238 |
<table width="10" border="0" cellspacing="0" cellpadding="0">
|
|
|
239 |
<tr>
|
|
|
240 |
<td width="1%"></td>
|
|
|
241 |
<td width="100%">
|
|
|
242 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
243 |
<tr>
|
|
|
244 |
<%If bCanEdit Then%>
|
|
|
245 |
<td nowrap class="form_ttl">EDIT RELEASE DETAILS </td>
|
|
|
246 |
<%Else%>
|
|
|
247 |
<td nowrap class="form_ttl">VIEW RELEASE DETAILS </td>
|
|
|
248 |
<%End If%>
|
|
|
249 |
<td align="right" valign="bottom"></td>
|
|
|
250 |
</tr>
|
|
|
251 |
</table>
|
|
|
252 |
</td>
|
|
|
253 |
<td width="1%"></td>
|
|
|
254 |
</tr>
|
|
|
255 |
<tr>
|
|
|
256 |
<td align="left" valign="top" background="images/lbox_bg_blue.gif"><img src="images/lbox_tl_cnr_b.gif" width="13" height="13"></td>
|
|
|
257 |
<td background="images/lbox_bg_blue.gif" class="lbox_ttl_w"><img src="images/h_trsp_dot.gif" width="600" height="15"></td>
|
|
|
258 |
<td align="right" valign="top" background="images/lbox_bg_blue.gif"><img src="images/lbox_tr_cnr_b.gif" width="13" height="13"></td>
|
|
|
259 |
</tr>
|
|
|
260 |
<tr>
|
|
|
261 |
<td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
|
|
|
262 |
<td bgcolor="#FFFFFF" valign="top">
|
|
|
263 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
264 |
<!--#include file="messages/_msg_inline.asp"-->
|
|
|
265 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
266 |
<br>
|
|
|
267 |
<table width="100%" border="0" cellspacing="2" cellpadding="0">
|
|
|
268 |
<tr>
|
| 6543 |
dpurdie |
269 |
<td valign="top" nowrap class="form_iname">Release Name </td>
|
|
|
270 |
<td valign="top" nowrap>
|
| 5357 |
dpurdie |
271 |
<%=objFormComponent.TextBox ( "rtag_name", objForm.GetValue( "rtag_name", objFormCollector.Item("rtag_name") ), "class='form_ivalue' size='60'" )%>
|
|
|
272 |
</td>
|
| 6543 |
dpurdie |
273 |
<td valign="top"><%=objForm.Validate ("rtag_name")%></td>
|
| 5357 |
dpurdie |
274 |
</tr>
|
|
|
275 |
<tr>
|
|
|
276 |
<td nowrap class="form_iname" valign="top">Parent Release </td>
|
|
|
277 |
<td valign="top" nowrap class="form_iname">
|
|
|
278 |
<%
|
|
|
279 |
OraDatabase.Parameters.Add "PROJ_ID", objFormCollector.Item("proj_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
| 5442 |
dpurdie |
280 |
OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 5357 |
dpurdie |
281 |
|
|
|
282 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ReleaseVersionTree.sql") , ORADYN_DEFAULT )
|
|
|
283 |
|
| 5442 |
dpurdie |
284 |
OraDatabase.Parameters.Remove "USER_ID"
|
| 5357 |
dpurdie |
285 |
OraDatabase.Parameters.Remove "PROJ_ID"
|
|
|
286 |
%>
|
|
|
287 |
<select name="parent_rtag_id" class="form_item" <%=ctrlDisabled%>>
|
|
|
288 |
<option value="<%=objFormCollector.Item("rtag_id")%>">---ROOT---</option>
|
|
|
289 |
<%While (NOT rsQry.BOF) AND (NOT rsQry.EOF)%>
|
| 5442 |
dpurdie |
290 |
<option value="<%=rsQry("rtag_id")%>" <%If ( cLng( rsQry("rtag_id") ) = cLng(objFormCollector.Item("parent_rtag_id")) ) Then%>selected<%End If%>><%=rsQry("rtag_name")%></option>
|
| 5357 |
dpurdie |
291 |
<%
|
|
|
292 |
rsQry.MoveNext
|
|
|
293 |
WEnd%>
|
|
|
294 |
</select>
|
|
|
295 |
</td>
|
|
|
296 |
<td valign="top"></td>
|
|
|
297 |
</tr>
|
|
|
298 |
<tr>
|
|
|
299 |
<td valign="top" nowrap class="form_iname">Comments</td>
|
|
|
300 |
<td valign="top"><%=objFormComponent.TextArea ( "rtag_description", objForm.GetValue( "rtag_description", objFormCollector.Item("description") ), 10, 60, "class='form_ivalue'" )%></td>
|
|
|
301 |
<td valign="top"><%=objForm.Validate ("rtag_description")%></td>
|
|
|
302 |
</tr>
|
|
|
303 |
<tr>
|
|
|
304 |
<td valign="top" nowrap class="form_iname">Clearcase Support Profile Branch</td>
|
|
|
305 |
|
|
|
306 |
<td valign="top" nowrap><%=objFormComponent.TextBox ( "config_spec_branch", objForm.GetValue( "config_spec_branch", objFormCollector.Item("config_spec_branch") ), "class='form_ivalue' size='60'" )%></td>
|
|
|
307 |
<td valign="top"><%=objForm.Validate ("config_spec_branch")%></td>
|
|
|
308 |
</tr>
|
|
|
309 |
<tr>
|
|
|
310 |
<td valign="top" nowrap class="form_iname">Autobuild Notification Emails</td>
|
|
|
311 |
|
|
|
312 |
<td valign="top" nowrap><%=objFormComponent.TextBox ( "owner_email", objForm.GetValue( "owner_email", objFormCollector.Item("owner_email") ), "class='form_ivalue' size='60'" )%></td>
|
|
|
313 |
<td valign="top"></td>
|
|
|
314 |
</tr>
|
|
|
315 |
<tr>
|
|
|
316 |
<%If objFormCollector.Item("proj_id") <> 2 Then%>
|
|
|
317 |
<td nowrap class="form_iname" valign="top">Associated MASS REF </td>
|
|
|
318 |
<td valign="top" nowrap class="form_iname">
|
|
|
319 |
<%
|
|
|
320 |
OraDatabase.Parameters.Add "PROJ_ID", 2, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 5442 |
dpurdie |
321 |
OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 5357 |
dpurdie |
322 |
|
|
|
323 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ReleaseVersionTree.sql") , ORADYN_DEFAULT )
|
|
|
324 |
|
| 5442 |
dpurdie |
325 |
OraDatabase.Parameters.Remove "USER_ID"
|
| 5357 |
dpurdie |
326 |
OraDatabase.Parameters.Remove "PROJ_ID"
|
|
|
327 |
%>
|
|
|
328 |
<select name="massref_rtag_id" class="form_item" disabled <%=ctrlDisabled%>>
|
|
|
329 |
<option value="">---None---</option>
|
|
|
330 |
<%While (NOT rsQry.BOF) AND (NOT rsQry.EOF)%>
|
|
|
331 |
<option value="<%=rsQry("rtag_id")%>"
|
| 5442 |
dpurdie |
332 |
<%If ( cLng( rsQry("rtag_id") ) = cLng(objFormCollector.Item("massref_rtag_id")) ) Then%>
|
| 5357 |
dpurdie |
333 |
selected
|
|
|
334 |
<%End If%>
|
|
|
335 |
>
|
|
|
336 |
<%=rsQry("rtag_name")%>
|
|
|
337 |
</option>
|
|
|
338 |
<%
|
|
|
339 |
rsQry.MoveNext
|
|
|
340 |
WEnd%>
|
|
|
341 |
</select> [No longer supported]
|
|
|
342 |
</td>
|
|
|
343 |
<td valign="top"></td>
|
|
|
344 |
<%End If%>
|
|
|
345 |
</tr>
|
|
|
346 |
<tr>
|
|
|
347 |
<td valign="top" nowrap class="form_iname">Configured To Use Product States</td>
|
| 6543 |
dpurdie |
348 |
<td valign="top"><input type="checkbox" name="product_state_used" <%=iif(CheckBoxValue(objForm.GetValue( "product_state_used", objFormCollector.Item("product_state_used") )), "checked ","")%><%=ctrlDisabled%>></td>
|
| 5357 |
dpurdie |
349 |
<td valign="top"></td>
|
|
|
350 |
</tr>
|
|
|
351 |
|
|
|
352 |
<tr>
|
|
|
353 |
<td valign="top" nowrap class="form_iname">Build Age before warning</td>
|
|
|
354 |
|
| 6543 |
dpurdie |
355 |
<td valign="top" nowrap>
|
|
|
356 |
<%=objFormComponent.TextBox ( "build_age", objForm.GetValue( "build_age", objFormCollector.Item("build_age") ), "class='form_ivalue' size='5'" )%></td>
|
|
|
357 |
<td valign="top"><%=objForm.Validate ("build_age")%></td>
|
| 5357 |
dpurdie |
358 |
|
|
|
359 |
</tr>
|
|
|
360 |
|
|
|
361 |
<tr>
|
|
|
362 |
<td valign="top" nowrap class="form_iname">LXR Support</td>
|
|
|
363 |
|
|
|
364 |
<td valign="top" nowrap>
|
| 6543 |
dpurdie |
365 |
<input type="checkbox" name="lxr" <%=iif(CheckBoxValue(objForm.GetValue( "lxr", objFormCollector.Item("lxr") )), "checked ","")%><%=ctrlDisabled%> >
|
| 5357 |
dpurdie |
366 |
</td>
|
|
|
367 |
<td valign="top"></td>
|
|
|
368 |
|
|
|
369 |
</tr>
|
|
|
370 |
|
| 7395 |
dpurdie |
371 |
<tr>
|
|
|
372 |
<td valign="top" nowrap class="form_iname">Sync to S3</td>
|
| 5357 |
dpurdie |
373 |
|
| 7395 |
dpurdie |
374 |
<td valign="top" nowrap>
|
|
|
375 |
<input type="checkbox" name="s3sync" <%=iif(CheckBoxValue(objForm.GetValue( "s3sync", objFormCollector.Item("s3sync") )), "checked ","")%><%=ctrlDisabled%> >
|
|
|
376 |
</td>
|
|
|
377 |
<td valign="top"></td>
|
|
|
378 |
|
|
|
379 |
</tr>
|
|
|
380 |
|
| 5357 |
dpurdie |
381 |
<tr>
|
|
|
382 |
<td class="form_iname"> </td>
|
|
|
383 |
<td> </td>
|
|
|
384 |
<td class="val_err"></td>
|
|
|
385 |
</tr>
|
|
|
386 |
</table>
|
|
|
387 |
</td>
|
|
|
388 |
<td background="images/lbox_bgside_white.gif"> </td>
|
|
|
389 |
</tr>
|
|
|
390 |
|
|
|
391 |
<tr>
|
| 6877 |
dpurdie |
392 |
<td class='bg_dialog'></td>
|
|
|
393 |
<td align="right" class='bg_dialog' >
|
| 5357 |
dpurdie |
394 |
<%If bCanEdit Then%>
|
|
|
395 |
<%=objFormComponent.SubmitButton ( "Submit", "class='form_btn'" )%>
|
|
|
396 |
<%End If%>
|
|
|
397 |
<%=objFormComponent.CancelButton ( "Cancel", "class='form_btn'", returnUrl )%>
|
|
|
398 |
<%=objPMod.ComposeHiddenTags()%>
|
|
|
399 |
<input type="hidden" name="returnUrl" value="<%=returnUrl%>">
|
|
|
400 |
<input type="hidden" name="action" value="true">
|
|
|
401 |
</td>
|
| 6877 |
dpurdie |
402 |
<td class='bg_dialog'><img src="images/h_trsp_dot.gif" width="5" height="30"></td>
|
| 5357 |
dpurdie |
403 |
</tr>
|
|
|
404 |
<tr>
|
|
|
405 |
<td background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
|
|
|
406 |
<td background="images/lbox_bg_blue.gif"></td>
|
|
|
407 |
<td background="images/lbox_bg_blue.gif" valign="bottom" align="right"><img src="images/lbox_br_cnr_b.gif" width="13" height="13"></td>
|
|
|
408 |
</tr>
|
|
|
409 |
</table>
|
|
|
410 |
|
|
|
411 |
<!-- ACTION BUTTONS ---------------------------------------------->
|
|
|
412 |
<!-- ACTION BUTTONS END ------------------------------------------>
|
|
|
413 |
</td>
|
|
|
414 |
<td width="1" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
415 |
</tr>
|
|
|
416 |
<tr>
|
| 6876 |
dpurdie |
417 |
<td class='bg_panel_btm'><img src="images/img_vtree.gif" width="86" height="99" vspace="20" hspace="30"></td>
|
| 5357 |
dpurdie |
418 |
<td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
|
|
|
419 |
</tr>
|
|
|
420 |
<%
|
|
|
421 |
Call objFormComponent.FormEnd()
|
|
|
422 |
'-- FROM END ----------------------------------------------------------------------------------------------------------------
|
|
|
423 |
%>
|
|
|
424 |
</table>
|
|
|
425 |
<!-- FOOTER -->
|
|
|
426 |
<!--#include file="_footer.asp"-->
|
|
|
427 |
</body>
|
|
|
428 |
</html>
|