[Home] [Help]
PACKAGE BODY: APPS.POS_ASL_MASTER_PKG
Source
1 PACKAGE BODY POS_ASL_MASTER_PKG AS
2 /* $Header: POSASLMB.pls 115.2 2001/10/29 17:18:31 pkm ship $*/
3
4
5 /* ShowFrameSet
6 * ------------
7 */
8 PROCEDURE ShowFrameSet(p_respID VARCHAR2) IS
9 l_language VARCHAR2(5);
10 l_script_name VARCHAR2(240);
11 l_org_id NUMBER;
12 l_user_id NUMBER;
13 l_session_id NUMBER;
14 BEGIN
15
16 -- Bug 1891728 mji
17 POS_INIT_SESSION_PKG.InitSession(p_respID);
18
19 l_session_id := icx_sec.getID(icx_sec.PV_SESSION_ID);
20 l_org_id := icx_sec.getID(icx_sec.PV_ORG_ID);
21 l_language := icx_sec.getID(icx_sec.PV_LANGUAGE_CODE);
22 l_script_name := owa_util.get_cgi_env('SCRIPT_NAME');
23 l_user_id := icx_sec.getID(icx_sec.PV_WEB_USER_ID);
24
25 htp.htmlOpen;
26 htp.title(fnd_message.get_string('ICX', 'POS_ASL_ATTRIBUTES'));
27
28
29 htp.headOpen;
30 icx_util.copyright;
31
32 htp.linkRel('STYLESHEET', '/OA_HTML/US/POSSTYLE.css');
33
34 js.scriptOpen;
35 pos_global_vars_sv.InitializeMessageArray;
36 pos_global_vars_sv.InitializeOtherVars(l_script_name);
37 js.scriptClose;
38 htp.p(' <script src="/OA_HTML/POSCUTIL.js" language="JavaScript">');
39 htp.p(' </script>');
40 htp.p(' <script src="/OA_HTML/POSWUTIL.js" language="JavaScript">');
41 htp.p(' </script>');
42 htp.p(' <script src="/OA_HTML/POSEVENT.js" language="JavaScript">');
43 htp.p(' </script>');
44 htp.p(' <script src="/OA_HTML/posaslet.js" language="JavaScript">');
45 htp.p(' </script>');
46 --icx_util.LOVscript;
47
48
49 htp.headClose;
50 -- htp.bodyOpen(NULL, 'bgcolor=#336699');
51
52
53 -- Here, we are using nested framesets. The illusion that
54 -- we want to achieve is as follows:
55 --
56 -- ************************************
57 -- * toolbar *
58 -- ************************************
59 -- * * upperbanner * *
60 -- * ****************************** *
61 -- * * search * *
62 -- * ****************************** *
63 -- * * results * *
64 -- * ****************************** *
65 -- * * lowerbanner * *
66 -- ************************************
67 -- * controlregion *
68 -- ************************************
69
70 -- these partitions should probably be in percentages
71 htp.p('<frameset rows="50,*,40" border=0>');
72
73 -- Toolbar frame
74 htp.p('<frame src="' || l_script_name || '/pos_toolbar_sv.PaintToolbar?p_title=POS_ASL_ATTRIBUTES"');
75
76 htp.p(' name=toolbar');
77 htp.p(' marginwidth=6');
78 htp.p(' marginheight=2');
79 htp.p(' scrolling=no>');
80
81 -- these partitions should probably be in percentages
82 htp.p('<frameset cols="3,*,3" border=0>');
83
84 -- blue border frame
85 htp.p('<frame src="/OA_HTML/US/POSBLBOR.htm"
86 name=borderLeft
87 marginwidth=0
88 marginheight=0
89 scrolling=no>');
90 -- these partitions should probably be in percentages
91 htp.p('<frameset rows="15,*,5" border=0>');
92
93 -- upper banner frame
94 htp.p('<frame src="/OA_HTML/US/POSUPBAN.htm"');
95
96 -- htp.p('<frame src="' || l_script_name || '/pos_upper_banner_sv.PaintUpperBanner?p_product=ICX&p_title=POS_ASL_ATTRIBUTES"');
97
98 htp.p(' name=upperbanner');
99 htp.p(' marginwidth=0');
100 htp.p(' marginheight=0');
101 htp.p(' scrolling=no>');
102
103 -- search frame
104 htp.p('<frame src="' || l_script_name || '/pos_asl_modifiers_search_pkg.search_page"');
105
106 htp.p(' name=content');
107 htp.p(' marginwidth=0');
108 htp.p(' marginheight=0');
109 htp.p(' scrolling=no>');
110
111 -- ASL modifiers frame
112 --htp.p('<frame src="' || l_script_name || '/pos_asl_search_pkg.asl_order_modifiers_frame"');
113
114 -- lower banner frame
115 htp.p('<frame src="/OA_HTML/US/POSLWBAN.htm"');
116 htp.p(' name=lowerbanner');
117 htp.p(' marginwidth=0');
118 htp.p(' marginheight=0');
119 htp.p(' scrolling=no>');
120
121 htp.p('</frameset>');
122
123 -- blue border frame
124 htp.p('<frame src="/OA_HTML/US/POSBLBOR.htm"
125 name=borderRight
126 marginwidth=0
127 marginheight=0
128 scrolling=no>');
129
130 htp.p('</frameset>');
131
132 -- control region frame
133 htp.p('<frame src="' || l_script_name || '/pos_asl_control_region_sv.PaintControlRegion?p_position=SUBMIT"');
134
135 htp.p(' name=controlregion');
136 htp.p(' marginwidth=0');
137 htp.p(' marginheight=0');
138 htp.p(' scrolling=no>');
139
140 htp.p('</frameset>');
141
142
143 -- htp.bodyClose;
144 htp.htmlClose;
145
146 END ShowFrameSet;
147
148 END POS_ASL_MASTER_PKG;
149