| Line 15... |
Line 15... |
| 15 |
Dim objBtnControl
|
15 |
Dim objBtnControl
|
| 16 |
Dim aTabBtnsDef
|
16 |
Dim aTabBtnsDef
|
| 17 |
Dim objRepeater
|
17 |
Dim objRepeater
|
| 18 |
'------------ CONSTANTS DECLARATION -----------
|
18 |
'------------ CONSTANTS DECLARATION -----------
|
| 19 |
Const PARENT_TITLE = "Role"
|
19 |
Const PARENT_TITLE = "Role"
|
| 20 |
Const LIMG_ROLE = "<img src='images/i_role.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
|
- |
|
| 21 |
Const LIMG_CONTROL = "<img src='images/i_control.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
|
- |
|
| 22 |
Const LIMG_CONTROL_LRG = "<img src='images/i_control_lrg.gif' width='13' height='18' hspace='4' border='0' align='absmiddle'>"
|
- |
|
| 23 |
Const LIMG_ROLE_LRG = "<img src='images/i_role_lrg.gif' width='13' height='18' hspace='4' border='0' align='absmiddle'>"
|
- |
|
| 24 |
Const LIMG_SPEC_ROLE_LRG = "<img src='images/i_spec_role_lrg.gif' width='13' height='18' hspace='4' border='0' align='absmiddle'>"
|
- |
|
| 25 |
Const LIMG_USER = "<img src='images/i_user.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
|
- |
|
| 26 |
Const LIMG_USER_DISABLED = "<img src='images/i_user_disabled.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
|
- |
|
| 27 |
Const LIMG_DATA_TABLE = "<img src='images/i_data_table.gif' hspace='2' border='0' align='absmiddle' title='See this Control Data Filter (Filter is ON)'>"
|
- |
|
| 28 |
Const LIMG_DATA_TABLE_OFF = "<img src='images/i_data_table_off.gif' hspace='2' border='0' align='absmiddle' title='See this Control Data Filter (Filter is OFF)'>"
|
- |
|
| 29 |
Const LIMG_EDIT = "<img src='images/i_edit.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
|
- |
|
| 30 |
Const LIMG_REMOVE = "<img src='images/i_remove.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
|
- |
|
| 31 |
'------------ VARIABLE INIT -------------------
|
20 |
'------------ VARIABLE INIT -------------------
|
| 32 |
parRole_id = Request("role_id")
|
21 |
parRole_id = Request("role_id")
|
| 33 |
parApp_id = Request("app_id")
|
22 |
parApp_id = Request("app_id")
|
| 34 |
Set objBtnControl = New ActionButtonControl
|
23 |
Set objBtnControl = New ActionButtonControl
|
| 35 |
Set objRepeater = New Repeater
|
24 |
Set objRepeater = New Repeater
|
| Line 53... |
Line 42... |
| 53 |
Set rsQry = OraDatabase.DbCreateDynaset( query , ORADYN_DEFAULT )
|
42 |
Set rsQry = OraDatabase.DbCreateDynaset( query , ORADYN_DEFAULT )
|
| 54 |
|
43 |
|
| 55 |
If ((NOT rsQry.BOF) AND (NOT rsQry.EOF)) Then
|
44 |
If ((NOT rsQry.BOF) AND (NOT rsQry.EOF)) Then
|
| 56 |
outobjDetails.Item ("role_id") = rsQry("role_id")
|
45 |
outobjDetails.Item ("role_id") = rsQry("role_id")
|
| 57 |
outobjDetails.Item ("role_name") = rsQry("role_name")
|
46 |
outobjDetails.Item ("role_name") = rsQry("role_name")
|
| - |
|
47 |
outobjDetails.Item ("role_comments") = rsQry("comments")
|
| 58 |
outobjDetails.Item ("is_role_variation") = rsQry("is_role_variation")
|
48 |
outobjDetails.Item ("is_role_variation") = rsQry("is_role_variation")
|
| 59 |
|
49 |
|
| 60 |
Else
|
50 |
Else
|
| 61 |
Err.Raise 8, "Sub GetRoleDetails", "Empty record set returned. nRole_id="& nRole_id &", nApp_id="& nApp_id
|
51 |
Err.Raise 8, "Sub GetRoleDetails", "Empty record set returned. nRole_id="& nRole_id &", nApp_id="& nApp_id
|
| 62 |
|
52 |
|