| Line 48... |
Line 48... |
| 48 |
|
48 |
|
| 49 |
|
49 |
|
| 50 |
Sub Update_Runtime_Dependency ( NNpv_id, NNrtd_id, SSrtd_version, SSrtd_url, SSrtd_comments, NNuser_id )
|
50 |
Sub Update_Runtime_Dependency ( NNpv_id, NNrtd_id, SSrtd_version, SSrtd_url, SSrtd_comments, NNuser_id )
|
| 51 |
|
51 |
|
| 52 |
On Error Resume Next
|
52 |
On Error Resume Next
|
| - |
|
53 |
objEH.ErrorRedirect = FALSE
|
| 53 |
OraSession.BeginTrans
|
54 |
objEH.TryORA ( OraSession )
|
| - |
|
55 |
|
| 54 |
OraDatabase.ExecuteSQL "BEGIN Update_Runtime_Dependency ( "& NNpv_id &", "&_
|
56 |
OraDatabase.ExecuteSQL "BEGIN Update_Runtime_Dependency ( "& NNpv_id &", "&_
|
| 55 |
NNrtd_id &", "&_
|
57 |
NNrtd_id &", "&_
|
| 56 |
"'"& SSrtd_version &"', "&_
|
58 |
"'"& SSrtd_version &"', "&_
|
| 57 |
"'"& SSrtd_url &"', "&_
|
59 |
"'"& SSrtd_url &"', "&_
|
| 58 |
"'"& SSrtd_comments &"', "&_
|
60 |
"'"& SSrtd_comments &"', "&_
|
| 59 |
NNuser_id &" ); END;"
|
61 |
NNuser_id &" ); END;"
|
| 60 |
|
62 |
|
| 61 |
If Err.number <> 0 Then
|
63 |
objEH.CatchORA ( OraSession )
|
| 62 |
OraSession.RollBack
|
- |
|
| 63 |
Call RaiseMsgInParent ( enum_MSG_ERROR, Err.description &"<br>"& Err.Source )
|
- |
|
| 64 |
Else
|
- |
|
| 65 |
OraSession.CommitTrans
|
64 |
If objEH.Finally Then
|
| 66 |
Call OpenInParentWindow ( "runtime_dependencies.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
|
65 |
Call OpenInParentWindow ( "runtime_dependencies.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
|
| 67 |
End If
|
66 |
End If
|
| 68 |
|
67 |
|
| 69 |
rsTemp.Close
|
68 |
rsTemp.Close
|
| 70 |
Set rsTemp = nothing
|
69 |
Set rsTemp = nothing
|
| 71 |
End Sub
|
70 |
End Sub
|
| 72 |
%>
|
71 |
%>
|
| 73 |
<%
|
72 |
<%
|
| 74 |
'Process submition
|
73 |
'Process submition
|
| 75 |
If CBool(QStrPar("action")) AND objAccessControl.UserLogedIn Then
|
74 |
If CBool(QStrPar("action")) AND objAccessControl.UserLogedIn Then
|
| 76 |
Call Update_Runtime_Dependency ( parPv_id, parRtd_id, Request("FRversion"), Replace( Request("FRurl"), "http://", "" ), Request("FRcomm"), objAccessControl.UserId)
|
75 |
Call Update_Runtime_Dependency ( parPv_id, parRtd_id, Request("FRversion"), Replace( Request("FRurl"), "http://", "" ), Request("FRcomm"), objAccessControl.UserId)
|
| 77 |
|
- |
|
| 78 |
Call CloseWindow
|
- |
|
| 79 |
|
- |
|
| 80 |
End If
|
76 |
End If
|
| 81 |
%>
|
77 |
%>
|
| 82 |
<%Call Get_RTD_Details ( parPv_id, parRtd_id, rsRTD )%>
|
78 |
<%Call Get_RTD_Details ( parPv_id, parRtd_id, rsRTD )%>
|
| 83 |
<html>
|
79 |
<html>
|
| 84 |
<head>
|
80 |
<head>
|
| Line 89... |
Line 85... |
| 89 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
85 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
| 90 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
86 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
| 91 |
<script language="JavaScript" src="images/common.js"></script>
|
87 |
<script language="JavaScript" src="images/common.js"></script>
|
| 92 |
</head>
|
88 |
</head>
|
| 93 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
|
89 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
|
| 94 |
<form name="rtd" method="post" action="<%=scriptName%>" onSubmit="MM_validateForm('FRversion','Version','RnotHTML','FRurl','URL','notHTML');return document.MM_returnValue;">
|
90 |
<form class="form_tight" name="rtd" method="post" action="<%=scriptName%>" onSubmit="MM_validateForm('FRversion','Version','RnotHTML','FRurl','URL','notHTML');return document.MM_returnValue;">
|
| 95 |
<table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
|
91 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
| 96 |
<tr>
|
92 |
<tr>
|
| 97 |
<td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/i_new_pkg_off.gif" width="21" height="23" hspace="5" border="0"></td>
|
- |
|
| 98 |
<td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl"> Update
|
93 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
|
| 99 |
Runtime Dependency</td>
|
- |
|
| 100 |
<td background="images/lbox_bg_blue.gif" align="right" width="50%">
|
94 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 101 |
<input type="submit" name="btn" value="Submit" class="form_btn_comp">
|
95 |
<!--#include file="messages/_msg_inline.asp"-->
|
| 102 |
<input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
|
- |
|
| 103 |
</td>
|
- |
|
| 104 |
<td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap>
|
- |
|
| 105 |
<img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
|
96 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 106 |
</tr>
|
- |
|
| 107 |
<tr>
|
- |
|
| 108 |
<td height="100%" width="1%"> </td>
|
- |
|
| 109 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
|
- |
|
| 110 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
97 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 111 |
<tr>
|
98 |
<tr>
|
| 112 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
|
- |
|
| 113 |
<td width="1%" nowrap class="form_group" valign="bottom"></td>
|
- |
|
| 114 |
<td nowrap width="100%"></td>
|
- |
|
| 115 |
</tr>
|
- |
|
| 116 |
<tr>
|
- |
|
| 117 |
<td> </td>
|
- |
|
| 118 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Product</td>
|
99 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Product</td>
|
| 119 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt"><%=rsRTD("pkg_name")%></td>
|
100 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt"><%=rsRTD("pkg_name")%></td>
|
| 120 |
</tr>
|
101 |
</tr>
|
| 121 |
<tr>
|
102 |
<tr>
|
| 122 |
<td> </td>
|
- |
|
| 123 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Version</td>
|
103 |
<td valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Version</td>
|
| 124 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
|
104 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
|
| 125 |
<input name="FRversion" type="text" class="form_item" size="30" maxlength="50" value="<%=rsRTD("pkg_version")%>">
|
105 |
<input name="FRversion" type="text" class="form_item" size="30" maxlength="50" value="<%=rsRTD("pkg_version")%>">
|
| 126 |
</td>
|
106 |
</td>
|
| 127 |
</tr>
|
107 |
</tr>
|
| 128 |
<tr>
|
108 |
<tr>
|
| 129 |
<td> </td>
|
- |
|
| 130 |
<td valign="top" background="images/bg_form_lightbluedark.gif" class="form_field">URL for 3rd party packages</td>
|
109 |
<td valign="top" background="images/bg_form_lightbluedark.gif" class="form_field">URL for 3rd party packages</td>
|
| 131 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
|
110 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
|
| 132 |
<input name="FRurl" type="text" class="form_item" size="60" maxlength="2000" value="<%=rsRTD("rtd_url")%>">
|
111 |
<input name="FRurl" type="text" class="form_item" size="60" maxlength="2000" value="<%=rsRTD("rtd_url")%>">
|
| 133 |
<br>
|
112 |
<br>
|
| 134 |
Example:<br>
|
113 |
Example:<br>
|
| 135 |
http://www.sun.com/downloads/JavaSDK.zip</td>
|
114 |
http://www.sun.com/downloads/JavaSDK.zip</td>
|
| 136 |
</tr>
|
115 |
</tr>
|
| 137 |
<tr>
|
116 |
<tr>
|
| 138 |
<td width="1%"> </td>
|
- |
|
| 139 |
<td width="1%" valign="top" background="images/bg_form_lightbluedark.gif" class="form_field"><p>Comments</p></td>
|
117 |
<td width="1%" valign="top" background="images/bg_form_lightbluedark.gif" class="form_field"><p>Comments</p></td>
|
| 140 |
<td width="100%" valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_txt"><textarea name="FRcomm" cols="60" rows="10" class="form_item"><%=Format4HTML(rsRTD("rtd_comments"))%></textarea>
|
118 |
<td width="100%" valign="top" nowrap background="images/bg_form_lightbluedark.gif" class="form_txt"><textarea name="FRcomm" cols="60" rows="10" class="form_item"><%=Format4HTML(rsRTD("rtd_comments"))%></textarea>
|
| 141 |
</td>
|
119 |
</td>
|
| 142 |
</tr>
|
120 |
</tr>
|
| 143 |
<tr>
|
121 |
</table>
|
| 144 |
<td width="1%"> </td>
|
- |
|
| 145 |
<td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
|
- |
|
| 146 |
<td nowrap width="100%"> <p> </p></td>
|
- |
|
| 147 |
</tr>
|
122 |
</td>
|
| 148 |
</table> </td>
|
- |
|
| 149 |
</tr>
|
123 |
</tr>
|
| 150 |
<tr>
|
124 |
<tr>
|
| - |
|
125 |
<td align="right">
|
| 151 |
<td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
|
126 |
<input type="submit" name="btn" value="Submit" class="form_btn_comp">
|
| 152 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/lbox_bg_blue.gif"></td>
|
127 |
<input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="parent.closeIFrame()">
|
| - |
|
128 |
</td>
|
| 153 |
</tr>
|
129 |
</tr>
|
| 154 |
</table>
|
130 |
</table>
|
| 155 |
<input type="hidden" name="rtd_id" value="<%=parRtd_id%>">
|
131 |
<input type="hidden" name="rtd_id" value="<%=parRtd_id%>">
|
| 156 |
<input type="hidden" name="pv_id" value="<%=parPv_id%>">
|
132 |
<input type="hidden" name="pv_id" value="<%=parPv_id%>">
|
| 157 |
<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
|
133 |
<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
|
| 158 |
<input type="hidden" name="action" value="true">
|
134 |
<input type="hidden" name="action" value="true">
|
| 159 |
</form>
|
135 |
</form>
|
| 160 |
</body>
|
136 |
</body>
|
| 161 |
</html>
|
137 |
</html>
|
| 162 |
|
- |
|
| 163 |
|
- |
|
| 164 |
<!-- DESTRUCTOR ------->
|
138 |
<!-- DESTRUCTOR ------->
|
| 165 |
<!--#include file="common/destructor.asp"-->
|
139 |
<!--#include file="common/destructor.asp"-->
|
| 166 |
|
140 |
|