-
Notifications
You must be signed in to change notification settings - Fork 0
/
DLOGselectAuthObj.aspx
executable file
·159 lines (115 loc) · 4.63 KB
/
DLOGselectAuthObj.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<%@ Page Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" CodeBehind="DLOGselectAuthObj.aspx.cs" Inherits="_6MAR_WebApplication.WebForm133" Title="Untitled Page" %>
<%@ Register Assembly="ComponentArt.Web.UI" Namespace="ComponentArt.Web.UI" TagPrefix="ComponentArt" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class='ts-m' style='height:20px;color:#FFFFFF;padding-top:8px;margin-bottom:30px'>
<a style='color:#FFFFFF' href='<%=Request.Params["origin"]%>'><<< back to 1251 grid</a>
</div>
<input type='hidden' id='returnurl' value='<%=Request.Params["origin"]%>'>
<input type='hidden' id='RoleID' value='<%=Request.Params["RoleID"]%>'>
<P>
<script type="text/javascript" src='SAP1251.js'></script>
<script type="text/javascript" src='SAP1251_modaldialog.js'></script>
<script type="text/javascript" src='PAGE_DictTcodes.js'></script>
<TABLE>
<TR>
<TD>
<ComponentArt:Grid ID="GRID_authobjects" runat="server" Width="600"
DataSourceID="SQL_AuthObjects"
ManualPaging="True"
RunningMode="Client"
AllowMultipleSelect="false"
ShowHeader="true"
ShowSearchBox="true"
SearchOnKeyPress="false"
HeaderHeight="18"
HeaderCssClass="GridHeader"
SearchText="Search (hit Enter to refresh):"
SearchTextCssClass="GridHeaderText"
GroupByTextCssClass="GroupByText"
GroupByCssClass="GroupByCell"
GroupingNotificationTextCssClass="GridHeaderText"
GroupingNotificationText=""
ShowFooter="false"
ScrollBar="Auto"
ScrollTopBottomImagesEnabled="true"
ScrollTopBottomImageHeight="2"
ScrollTopBottomImageWidth="16"
ScrollImagesFolderUrl="images/scroller/"
ScrollButtonWidth="16"
ScrollButtonHeight="17"
ScrollBarCssClass="ScrollBar"
ScrollGripCssClass="ScrollGrip"
ScrollBarWidth="16"
AutoCallBackOnUpdate="true"
>
<Levels>
<ComponentArt:GridLevel DataKeyField="c_id" HeadingCellCssClass="HeadingCell"
DataCellCssClass="DataCell" AllowSorting="False"
RowCssClass="Row" SelectedRowCssClass="SelectedRow"
EditCellCssClass="EditDataCell"
EditFieldCssClass="EditDataField"
>
<Columns>
<ComponentArt:GridColumn DataField="c_id" Visible="false" AllowEditing="False" />
<ComponentArt:GridColumn DataField="ClassName" Width="130"
Visible="true" AllowEditing="False" HeadingText="Class" />
<ComponentArt:GridColumn DataField="ObjName" Width="130"
Visible="true" AllowEditing="False" HeadingText="Object" />
<ComponentArt:GridColumn DataField="ObjDescr"
Visible="true" AllowEditing="False" HeadingText="Description" />
<ComponentArt:GridColumn DataField="c_id" Width="30" fixedWidth="True"
DataCellClientTemplateId="TEMPLhovershowfield"
Visible="true" AllowEditing="False" HeadingText="Fields" />
</Columns>
</ComponentArt:GridLevel>
</Levels>
<ClientTemplates>
<ComponentArt:ClientTemplate ID="TEMPLhovershowfield">
## "<IMG onmouseout='hoverhide()' onmouseover='hovershow(this,\\"" +
DataItem.ClientId + "\\")' src='images/msg_unread.gif' border=0/>"
##
</ComponentArt:ClientTemplate>
</ClientTemplates>
<ClientEvents>
</ClientEvents>
</ComponentArt:Grid>
</TD>
<TD style='font-size:16px;padding-left:20px'>
Select an object from the list,<br/>
then click the "Add" button below.
<br/>
<br/>
A new 1251-entitlement row will be added <u>for each field</u><br/>
that is associated with that object type.
<br/>
<br/>
If this object is already represented in this workspace,
<br/>
the only action would be the addition of newly-registered
<br/>
fields (if any).
<br/>
<br/>
<INPUT type='button' value='ADD' onclick='javascript:ProcessSelectedObj();'>
</TD>
</TR>
</TABLE>
<asp:SqlDataSource ID="SQL_AuthObjects" runat="server"
ConnectionString="<%$ ConnectionStrings:afwac_sv6ConnectionString %>"
SelectCommand="
SELECT
OBJD.c_id,
OBJD.c_u_Name as ObjName,
OBJD.c_u_Description as ObjDescr,
CLD.c_u_Name as ClassName,
CLD.c_u_Description as ClassDescr
FROM [t_RBSR_AUFW_u_SAPauthObj] OBJD
LEFT OUTER JOIN [t_RBSR_AUFW_u_SAPauthClass] CLD
ON CLD.c_id = OBJD.c_r_SAPauthClass
WHERE OBJD.c_u_Status<>'X' AND CLD.c_u_Status<>'X' ORDER BY OBJD.c_u_Name">
</asp:SqlDataSource>
<div id='hoverpopup'
style='font-size:9px;z-index:10000;text-align:left;visibility:hidden; position:absolute; top:0; left:0; width:180px;height:100px; padding:7px; background-color:#CCCCFF;filter:alpha(opacity=90)'>
<span id='_hoverpopup'></span>
</div>
</asp:Content>