| Line 43... |
Line 43... |
| 43 |
'--------------------------------------------------------------------------------------------------------------------------
|
43 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 44 |
Sub AddViewUser ()
|
44 |
Sub AddViewUser ()
|
| 45 |
On Error Resume Next
|
45 |
On Error Resume Next
|
| 46 |
|
46 |
|
| 47 |
OraDatabase.Parameters.Add "USER_ID_LIST", Request("user_id_list"), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
47 |
OraDatabase.Parameters.Add "USER_ID_LIST", Request("user_id_list"), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 48 |
OraDatabase.Parameters.Add "PROJ_ID", Request("proj_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
48 |
OraDatabase.Parameters.Add "PROJ_ID", Request("proj_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
| 49 |
OraDatabase.Parameters.Add "VIEW_ID", Request("view_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
49 |
OraDatabase.Parameters.Add "VIEW_ID", Request("view_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
| 50 |
|
50 |
|
| 51 |
objEH.TryORA ( OraSession )
|
51 |
objEH.TryORA ( OraSession )
|
| - |
|
52 |
objEH.ErrorRedirect = FALSE
|
| 52 |
|
53 |
|
| 53 |
OraDatabase.ExecuteSQL _
|
54 |
OraDatabase.ExecuteSQL _
|
| 54 |
"BEGIN ADD_AUTOBUILD_FAILURE_INFO ( :PROJ_ID, :VIEW_ID, :USER_ID_LIST ); END;"
|
55 |
"BEGIN ADD_AUTOBUILD_FAILURE_INFO ( :PROJ_ID, :VIEW_ID, :USER_ID_LIST ); END;"
|
| 55 |
|
56 |
|
| 56 |
objEH.CatchORA ( OraSession )
|
57 |
objEH.CatchORA ( OraSession )
|
| Line 70... |
Line 71... |
| 70 |
' --- Load Validation Rules ---
|
71 |
' --- Load Validation Rules ---
|
| 71 |
|
72 |
|
| 72 |
|
73 |
|
| 73 |
' --- Enter Form Validation Rule Changes here... ----
|
74 |
' --- Enter Form Validation Rule Changes here... ----
|
| 74 |
'----------------------------------------------------
|
75 |
'----------------------------------------------------
|
| 75 |
|
- |
|
| 76 |
If CBool(Request("action")) Then
|
76 |
If CBool(Request("action")) Then
|
| 77 |
If objForm.IsValidOnPostBack Then
|
77 |
If objForm.IsValidOnPostBack Then
|
| 78 |
' --- Form is Valid ---
|
- |
|
| 79 |
|
- |
|
| 80 |
Call AddViewUser()
|
78 |
Call AddViewUser()
|
| 81 |
|
- |
|
| 82 |
If objEH.Finally Then
|
79 |
If objEH.Finally Then
|
| 83 |
%>
|
- |
|
| 84 |
<script language="JavaScript" type="text/javascript">
|
80 |
Call ReloadParentWindow()
|
| 85 |
window.opener.location='form_edit_project_view.asp?proj_id=<%=Request.Form("proj_id")%>&FRview_id=<%=Request.Form("view_id")%>';
|
- |
|
| 86 |
</script>
|
- |
|
| 87 |
<%
|
- |
|
| 88 |
Call CloseWindow()
|
81 |
Response.End
|
| 89 |
|
- |
|
| 90 |
End If
|
82 |
End If
|
| 91 |
|
- |
|
| 92 |
End If
|
83 |
End If
|
| 93 |
End If
|
84 |
End If
|
| 94 |
'----------------------------------------------
|
85 |
'----------------------------------------------
|
| 95 |
%>
|
86 |
%>
|
| 96 |
<html>
|
87 |
<html>
|
| Line 102... |
Line 93... |
| 102 |
<link href="images/release_manager_style.css" rel="stylesheet" type="text/css">
|
93 |
<link href="images/release_manager_style.css" rel="stylesheet" type="text/css">
|
| 103 |
<script language="JavaScript" src="scripts/common.js"></script>
|
94 |
<script language="JavaScript" src="scripts/common.js"></script>
|
| 104 |
</head>
|
95 |
</head>
|
| 105 |
|
96 |
|
| 106 |
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" onLoad="self.focus();">
|
97 |
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" onLoad="self.focus();">
|
| 107 |
<table width="100%" border="0" cellspacing="0" cellpadding="10">
|
98 |
<table border="0" cellspacing="0" cellpadding="10">
|
| 108 |
<tr>
|
99 |
<tr>
|
| 109 |
|
- |
|
| 110 |
<td bgcolor="#FFFFFF" class="body_txt"><span class="body_h1"><img src="images/i_user_lrg.gif" width="13" height="17" hspace="0" align="absmiddle"> Add User </span> <br>
|
100 |
<td bgcolor="#FFFFFF" class="body_txt">
|
| 111 |
Search for User or select from the list. </td>
|
101 |
Search for User or select from the list.
|
| 112 |
|
102 |
</td>
|
| 113 |
</tr>
|
103 |
</tr>
|
| 114 |
<form name="FormSearch" method="post" action="<%=ScriptName%>">
|
104 |
<form class="form_tight" name="FormSearch" method="post" action="<%=ScriptName%>">
|
| 115 |
<tr>
|
105 |
<tr>
|
| - |
|
106 |
<td background="images/bg_quicksearch.gif" class="body_txt">
|
| 116 |
<td background="images/bg_quicksearch.gif" class="body_txt"><table width="100" border="0" cellspacing="3" cellpadding="0">
|
107 |
<table width="100" border="0" cellspacing="3" cellpadding="0">
|
| 117 |
<tr>
|
108 |
<tr>
|
| 118 |
<td nowrap class="body_txtw"><strong>User Search</strong> </td>
|
109 |
<td nowrap class="body_txtw"><strong>User Search</strong> </td>
|
| 119 |
<td><input name="filter" type="text" class="body_txt" size="20" value="<%=Request("filter")%>"></td>
|
110 |
<td><input name="filter" type="text" class="body_txt" size="20" value="<%=Request("filter")%>"></td>
|
| 120 |
<td><input name="btn" type="image" src="images/b_search.gif" width="16" height="16" border="0"></td>
|
111 |
<td><input name="btn" type="image" src="images/b_search.gif" width="16" height="16" border="0"></td>
|
| 121 |
</tr>
|
112 |
</tr>
|
| 122 |
</table></td>
|
113 |
</table>
|
| - |
|
114 |
</td>
|
| 123 |
</tr>
|
115 |
</tr>
|
| 124 |
<%'=objPMod.ComposeHiddenTags()%>
|
116 |
<%'=objPMod.ComposeHiddenTags()%>
|
| 125 |
<input type="hidden" name="view_id" value="<%=Request("view_id")%>">
|
117 |
<input type="hidden" name="view_id" value="<%=Request("view_id")%>">
|
| 126 |
<input type="hidden" name="proj_id" value="<%=Request("proj_id")%>">
|
118 |
<input type="hidden" name="proj_id" value="<%=Request("proj_id")%>">
|
| 127 |
</form>
|
119 |
</form>
|
| Line 130... |
Line 122... |
| 130 |
<td background="images/bg_drk_bage_pane.gif">
|
122 |
<td background="images/bg_drk_bage_pane.gif">
|
| 131 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
123 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 132 |
<tr>
|
124 |
<tr>
|
| 133 |
<td> </td>
|
125 |
<td> </td>
|
| 134 |
<td align="right"><input name="btn" type="submit" class="form_btn" value="Add">
|
126 |
<td align="right"><input name="btn" type="submit" class="form_btn" value="Add">
|
| 135 |
<input name="btn" type="reset" class="form_btn" value="Cancel" onClick="self.close();"></td>
|
127 |
<input name="btn" type="reset" class="form_btn" value="Cancel" onclick="parent.closeIFrame();"></td>
|
| 136 |
</tr>
|
128 |
</tr>
|
| 137 |
</table></td>
|
129 |
</table></td>
|
| 138 |
</tr>
|
130 |
</tr>
|
| 139 |
<tr>
|
131 |
<tr>
|
| 140 |
<td>
|
132 |
<td>
|
| 141 |
|
- |
|
| 142 |
<table width="300" border="0" cellspacing="2" cellpadding="0">
|
- |
|
| 143 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
133 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 144 |
<%If NOT objEH.Finally Then%>
|
- |
|
| 145 |
<tr>
|
- |
|
| 146 |
<td>
|
- |
|
| 147 |
<%objEH.DisplayMessage()%>
|
134 |
<!--#include file="messages/_msg_inline.asp"-->
|
| 148 |
</td>
|
- |
|
| 149 |
</tr>
|
- |
|
| 150 |
<%End If%>
|
- |
|
| 151 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
135 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 152 |
</table>
|
- |
|
| 153 |
|
- |
|
| 154 |
<%
|
136 |
<%
|
| 155 |
Dim startPosition, pageNumber, navigator, totalRecords, lastRecord
|
137 |
Dim startPosition, pageNumber, navigator, totalRecords, lastRecord
|
| 156 |
Const MAX_ROWS = 50 ' Maximum number of rows displayed
|
138 |
Const MAX_ROWS = 50 ' Maximum number of rows displayed
|
| 157 |
|
139 |
|
| 158 |
OraDatabase.Parameters.Add "APP_ID", Request("app_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
140 |
OraDatabase.Parameters.Add "APP_ID", Request("app_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
| Line 235... |
Line 217... |
| 235 |
%></td>
|
217 |
%></td>
|
| 236 |
<td align="right" class="body_scol"><%=navigator%></td>
|
218 |
<td align="right" class="body_scol"><%=navigator%></td>
|
| 237 |
</tr>
|
219 |
</tr>
|
| 238 |
</table>
|
220 |
</table>
|
| 239 |
<!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
221 |
<!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| - |
|
222 |
<div style="min-height:300px;max-height:500px;overflow:scroll;">
|
| 240 |
<table width="100%" border="0" cellspacing="3" cellpadding="0">
|
223 |
<table width="100%" border="0" cellspacing="3" cellpadding="0">
|
| 241 |
<tr>
|
224 |
<tr>
|
| 242 |
<td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
|
225 |
<td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
|
| 243 |
<td width="30%" background="images/bg_table_border.gif">
|
- |
|
| 244 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
- |
|
| 245 |
<tr>
|
- |
|
| 246 |
<td align="right" nowrap background="images/bg_table_col.gif" class="body_col">Full Name </td>
|
226 |
<td width="30%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">Full Name </td>
|
| 247 |
</tr>
|
- |
|
| 248 |
</table></td>
|
- |
|
| 249 |
<td width="30%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">User Name</td>
|
227 |
<td width="30%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">User Name</td>
|
| 250 |
<td width="40%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">Domain</td>
|
228 |
<td width="40%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">Domain</td>
|
| 251 |
</tr>
|
229 |
</tr>
|
| 252 |
<%If (Request("filter") = "") AND (rsUser.RecordCount > 0) Then%>
|
- |
|
| 253 |
<tr>
|
- |
|
| 254 |
<td align="center" background="images/bg_table_col.gif"><input type="checkbox" name="everyone" value="Y"></td>
|
- |
|
| 255 |
<td nowrap class="body_row" background="images/bg_table_col.gif"><img src="images/i_accounts.gif" width="16" height="14" border="0" hspace="4" align="absmiddle">Everyone</td>
|
- |
|
| 256 |
<td background="images/bg_table_col.gif"></td>
|
- |
|
| 257 |
<td background="images/bg_table_col.gif"></td>
|
- |
|
| 258 |
</tr>
|
- |
|
| 259 |
<%End If%>
|
- |
|
| 260 |
<%
|
230 |
<%
|
| 261 |
'--- Render rows ---
|
231 |
'--- Render rows ---
|
| 262 |
Do While (NOT rsUser.BOF) AND (NOT rsUser.EOF)
|
232 |
Do While (NOT rsUser.BOF) AND (NOT rsUser.EOF)
|
| 263 |
If rsUser.RowPosition => (startPosition + MAX_ROWS) Then Exit Do ' Limit the number of rows displayed
|
233 |
If rsUser.RowPosition => (startPosition + MAX_ROWS) Then Exit Do ' Limit the number of rows displayed
|
| 264 |
%>
|
234 |
%>
|
| Line 276... |
Line 246... |
| 276 |
</tr>
|
246 |
</tr>
|
| 277 |
<%End If%>
|
247 |
<%End If%>
|
| 278 |
|
248 |
|
| 279 |
<%
|
249 |
<%
|
| 280 |
Loop
|
250 |
Loop
|
| 281 |
|
- |
|
| 282 |
|
- |
|
| 283 |
|
- |
|
| 284 |
rsUser.Close()
|
251 |
rsUser.Close()
|
| 285 |
Set rsUser = Nothing
|
252 |
Set rsUser = Nothing
|
| 286 |
%>
|
253 |
%>
|
| 287 |
<tr>
|
- |
|
| 288 |
<td colspan="4" background="images/bg_table_border.gif">
|
- |
|
| 289 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
- |
|
| 290 |
<tr>
|
- |
|
| 291 |
<td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
- |
|
| 292 |
</tr>
|
- |
|
| 293 |
</table>
|
- |
|
| 294 |
</td>
|
- |
|
| 295 |
</tr>
|
- |
|
| 296 |
</table>
|
254 |
</table>
|
| - |
|
255 |
</div>
|
| 297 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
256 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 298 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
257 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 299 |
<tr>
|
258 |
<tr>
|
| 300 |
<td align="right" class="body_scol"><%=navigator%></td>
|
259 |
<td align="right" class="body_scol"><%=navigator%></td>
|
| 301 |
</tr>
|
260 |
</tr>
|
| 302 |
</table>
|
261 |
</table>
|
| 303 |
</td>
|
262 |
</td>
|
| 304 |
</tr>
|
263 |
</tr>
|
| 305 |
<%=objPMod.ComposeHiddenTags()%>
|
264 |
<%=objPMod.ComposeHiddenTags()%>
|
| 306 |
<input type="hidden" name="view_id" value="<%=Request("view_id")%>">
|
265 |
<input type="hidden" name="view_id" value="<%=Request("view_id")%>">
|
| 307 |
|
- |
|
| 308 |
<input type="hidden" name="action" value="true">
|
266 |
<input type="hidden" name="action" value="true">
|
| 309 |
</form>
|
267 |
</form>
|
| 310 |
</table>
|
268 |
</table>
|
| 311 |
</body>
|
269 |
</body>
|
| 312 |
</html>
|
270 |
</html>
|