DBA Data[Home] [Help]

APPS.WFA_HTML dependencies on WFA_HTML

Line 1: package body WFA_HTML as

1: package body WFA_HTML as
2: /* $Header: wfhtmb.pls 120.5.12010000.7 2009/12/09 18:47:45 vshanmug ship $ */
3:
4: -- Bug# 2236250 exception to handle invalid number
5: invalid_number exception;

Line 62: wfa_html.create_help_function('wf/links/log.htm?LOGIN');

58:
59: htp.htmlOpen;
60: htp.headOpen;
61: htp.title(wf_core.translate('WFA_LOGIN_REQUEST'));
62: wfa_html.create_help_function('wf/links/log.htm?LOGIN');
63: htp.headClose;
64: wfa_sec.Header(background_only=>FALSE, inc_lov_applet=>FALSE);
65:
66: htp.p('

');

Line 66: htp.p('');

62: wfa_html.create_help_function('wf/links/log.htm?LOGIN');
63: htp.headClose;
64: wfa_sec.Header(background_only=>FALSE, inc_lov_applet=>FALSE);
65:
66: htp.p('');
67:
68: -- bug 1838410
69: if (i_direct is not null) then
70: htp.formHidden('i_direct', i_direct);

Line 111: wfa_html.create_reg_button ('javascript:document.WFA_LOGIN.submit()',

107: htp.tableRowOpen;
108:
109: htp.p('');
110:
111: wfa_html.create_reg_button ('javascript:document.WFA_LOGIN.submit()',
112: wf_core.translate ('LOGIN'),
113: wfa_html.image_loc,
114: 'FNDJLFOK.gif',
115: wf_core.translate ('LOGIN'));

Line 113: wfa_html.image_loc,

109: htp.p('');
110:
111: wfa_html.create_reg_button ('javascript:document.WFA_LOGIN.submit()',
112: wf_core.translate ('LOGIN'),
113: wfa_html.image_loc,
114: 'FNDJLFOK.gif',
115: wf_core.translate ('LOGIN'));
116:
117: htp.p('');

Line 127: wf_core.context('Wfa_Html', 'Login');

123: htp.htmlClose;
124: exception
125: when others then
126: rollback;
127: wf_core.context('Wfa_Html', 'Login');
128: wfa_html.Error;
129: end Login;
130:
131: --

Line 128: wfa_html.Error;

124: exception
125: when others then
126: rollback;
127: wf_core.context('Wfa_Html', 'Login');
128: wfa_html.Error;
129: end Login;
130:
131: --
132: -- Viewer

Line 156: wfa_html.Login('WFA_ENTER_ID');

152: begin
153: -- Validate the user
154: if (user_id is null) then
155: -- No username entered
156: wfa_html.Login('WFA_ENTER_ID');
157: return;
158: end if;
159: username := upper(user_id);
160:

Line 168: wfa_html.Login('WFA_ILLEGAL_IDP');

164: when others then
165: if (wf_core.error_name='WFSEC_USER_PASSWORD') then
166: -- Bad username or password
167: wf_core.clear;
168: wfa_html.Login('WFA_ILLEGAL_IDP');
169: return;
170: end if;
171: -- Raise any other error message
172: raise;

Line 178: Wfa_Html.Home;

174:
175: if (i_direct is null) then
176:
177: -- Go to home page
178: Wfa_Html.Home;
179:
180: else
181: -- Fix for bug 1838410
182: -- Instead of navigating to the home page, we will go directly to the URL

Line 203: wf_core.context('Wfa_Html', 'Viewer', user_id, password);

199:
200: exception
201: when others then
202: rollback;
203: wf_core.context('Wfa_Html', 'Viewer', user_id, password);
204: wfa_html.Error;
205: end Viewer;
206:
207:

Line 204: wfa_html.Error;

200: exception
201: when others then
202: rollback;
203: wf_core.context('Wfa_Html', 'Viewer', user_id, password);
204: wfa_html.Error;
205: end Viewer;
206:
207:
208: --

Line 285: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_HIGH_PRIORITY');

281: return varchar2
282: as
283: begin
284: if (priority < 34) /* HIGH */ then
285: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_HIGH_PRIORITY');
286: return(wfa_html.image_loc||'high.gif');
287: elsif (priority > 66) /* LOW */ then
288: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_LOW_PRIORITY');
289: return(wfa_html.image_loc||'low.gif');

Line 286: return(wfa_html.image_loc||'high.gif');

282: as
283: begin
284: if (priority < 34) /* HIGH */ then
285: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_HIGH_PRIORITY');
286: return(wfa_html.image_loc||'high.gif');
287: elsif (priority > 66) /* LOW */ then
288: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_LOW_PRIORITY');
289: return(wfa_html.image_loc||'low.gif');
290: else /* NORMAL */

Line 288: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_LOW_PRIORITY');

284: if (priority < 34) /* HIGH */ then
285: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_HIGH_PRIORITY');
286: return(wfa_html.image_loc||'high.gif');
287: elsif (priority > 66) /* LOW */ then
288: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_LOW_PRIORITY');
289: return(wfa_html.image_loc||'low.gif');
290: else /* NORMAL */
291: return null;
292: end if;

Line 289: return(wfa_html.image_loc||'low.gif');

285: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_HIGH_PRIORITY');
286: return(wfa_html.image_loc||'high.gif');
287: elsif (priority > 66) /* LOW */ then
288: WFA_HTML.g_priority := WF_CORE.Translate('WFJSP_LOW_PRIORITY');
289: return(wfa_html.image_loc||'low.gif');
290: else /* NORMAL */
291: return null;
292: end if;
293: end GetPriorityIcon;

Line 507: wf_core.context('Wfa_Html', 'Authenticate', to_char(nid), nkey);

503: return(username);
504:
505: exception
506: when others then
507: wf_core.context('Wfa_Html', 'Authenticate', to_char(nid), nkey);
508: raise;
509: end Authenticate;
510:
511: --

Line 667: wf_core.context('Wfa_Html', 'RespFrameSize', to_char(nid));

663: return(respsize);
664:
665: exception
666: when others then
667: wf_core.context('Wfa_Html', 'RespFrameSize', to_char(nid));
668: raise;
669: end RespFrameSize;
670:
671: --

Line 720: username := Wfa_Html.Authenticate(nid, nkey);

716: if (wf_mail.send_accesskey and n_sig_policy not in ('PSIG_ONLY')) then
717: key := nkey;
718:
719: -- Authenticate the user has access
720: username := Wfa_Html.Authenticate(nid, nkey);
721:
722: -- Get notification recipient and status
723: Wf_Notification.GetInfo(nid, username, s0, s0, s0, s0, status);
724: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);

Line 741: -- wfa_html.create_help_function('wf/links/det.htm?DETNOT');

737: end if;
738:
739: --tr: dont execute the help function
740: --it calls htp procs which causes session to hang
741: -- wfa_html.create_help_function('wf/links/det.htm?DETNOT');
742:
743: result := result || htf.headClose||g_newLine;
744:
745: -- Calculate size of response frame

Line 755: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||

751: -- be used to display the html returned to the mailer.
752: result := result||''||
756: g_newLine;
757: result := result ||
758: ' 759: 'src="'||agent||'/wfa_html.DetailFrame?nid='||to_char(nid)||

Line 759: 'src="'||agent||'/wfa_html.DetailFrame?nid='||to_char(nid)||

755: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||
756: g_newLine;
757: result := result ||
758: ' 759: 'src="'||agent||'/wfa_html.DetailFrame?nid='||to_char(nid)||
760: '&'||'nkey='||key||'" TITLE="' ||
761: WF_CORE.Translate('WFA_DTITLE_TBAR') || '" LONGDESC="' ||
762: agent ||
763: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||g_newLine;

Line 763: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||g_newLine;

759: 'src="'||agent||'/wfa_html.DetailFrame?nid='||to_char(nid)||
760: '&'||'nkey='||key||'" TITLE="' ||
761: WF_CORE.Translate('WFA_DTITLE_TBAR') || '" LONGDESC="' ||
762: agent ||
763: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||g_newLine;
764: result := result ||
765: ' 766: 'src="'||agent||'/wfa_html.ResponseFrame?nid='||to_char(nid)||
767: '&'||'nkey='||key||'" TITLE="' ||

Line 766: 'src="'||agent||'/wfa_html.ResponseFrame?nid='||to_char(nid)||

762: agent ||
763: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||g_newLine;
764: result := result ||
765: ' 766: 'src="'||agent||'/wfa_html.ResponseFrame?nid='||to_char(nid)||
767: '&'||'nkey='||key||'" TITLE="' ||
768: WF_CORE.Translate('WFA_DTITLE_TBAR') || '" LONGDESC="' ||
769: agent ||
770: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||g_newLine;

Line 770: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||g_newLine;

766: 'src="'||agent||'/wfa_html.ResponseFrame?nid='||to_char(nid)||
767: '&'||'nkey='||key||'" TITLE="' ||
768: WF_CORE.Translate('WFA_DTITLE_TBAR') || '" LONGDESC="' ||
769: agent ||
770: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||g_newLine;
771: result := result || ''||g_newLine;
772: result := result || htf.htmlClose;
773:
774: else

Line 802: wf_core.context('Wfa_Html', 'Detail', to_char(nid), nkey, agent);

798:
799: return(result);
800: exception
801: when others then
802: wf_core.context('Wfa_Html', 'Detail', to_char(nid), nkey, agent);
803: raise;
804: end Detail;
805:
806: --

Line 835: username := Wfa_Html.Authenticate(nid, nkey);

831:
832: Wf_Mail.GetSignaturePolicy(nid, n_sig_policy);
833:
834: -- Authenticate the user has access
835: username := Wfa_Html.Authenticate(nid, nkey);
836:
837: -- Get notification recipient and status
838: Wf_Notification.GetInfo(nid, username, s0, s0, s0, s0, status);
839: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);

Line 877: result := wfa_html.detail(nid, nkey, g_webAgent);

873: else
874: -- While the call is within standalone, continue to
875: -- operate as before.
876: if (agent is null) then
877: result := wfa_html.detail(nid, nkey, g_webAgent);
878: else
879: result := wfa_html.detail(nid, nkey, agent);
880: end if;
881: end if;

Line 879: result := wfa_html.detail(nid, nkey, agent);

875: -- operate as before.
876: if (agent is null) then
877: result := wfa_html.detail(nid, nkey, g_webAgent);
878: else
879: result := wfa_html.detail(nid, nkey, agent);
880: end if;
881: end if;
882:
883: return(result);

Line 886: wf_core.context('Wfa_Html', 'Detail', to_char(nid), nkey, agent);

882:
883: return(result);
884: exception
885: when others then
886: wf_core.context('Wfa_Html', 'Detail', to_char(nid), nkey, agent);
887: raise;
888: end Detail2;
889:
890:

Line 910: wf_core.context('Wfa_Html', 'DetailLink', to_char(nid), nkey, agent);

906: -- bug 7314545
907: null;
908: exception
909: when others then
910: wf_core.context('Wfa_Html', 'DetailLink', to_char(nid), nkey, agent);
911: raise;
912: end DetailLink;
913:
914:

Line 1051: wfa_html.validate_display_name (display_forwardee, l_forwardee);

1047: end if;
1048:
1049: -- Fully resolve forwardee name
1050: l_forwardee := forwardee;
1051: wfa_html.validate_display_name (display_forwardee, l_forwardee);
1052:
1053: -- Otherwise, for each notification, delegate or transfer
1054: for x in 2..h_nids.count loop
1055: -- Authenticate user

Line 1057: username := Wfa_Html.Authenticate(nid, nkey);

1053: -- Otherwise, for each notification, delegate or transfer
1054: for x in 2..h_nids.count loop
1055: -- Authenticate user
1056: nid := to_number(h_nids(x));
1057: username := Wfa_Html.Authenticate(nid, nkey);
1058:
1059: -- Delegating to forwardee with comments
1060: if (fmode = 'DELEGATE') then
1061: if (comments is not null) then

Line 1087: Wfa_Html.WorkList;

1083: end loop;
1084:
1085: -- Back to the worklist
1086: <>
1087: Wfa_Html.WorkList;
1088: return;
1089: exception
1090: when others then
1091: rollback;

Line 1092: wfa_html.Error;

1088: return;
1089: exception
1090: when others then
1091: rollback;
1092: wfa_html.Error;
1093: return;
1094: end ForwardNids;
1095:
1096: /*===========================================================================

Line 1191: Wf_Core.Context('wfa_html', 'create_help_function',

1187: end if;
1188:
1189: exception
1190: when others then
1191: Wf_Core.Context('wfa_html', 'create_help_function',
1192: p_help_file);
1193: wfa_html.Error;
1194:
1195: END create_help_function;

Line 1193: wfa_html.Error;

1189: exception
1190: when others then
1191: Wf_Core.Context('wfa_html', 'create_help_function',
1192: p_help_file);
1193: wfa_html.Error;
1194:
1195: END create_help_function;
1196:
1197: /*===========================================================================

Line 1327: Wf_Core.Context('wfa_html', 'conv_special_url_chars',

1323: end loop;
1324: return l_tmp;
1325: exception
1326: when others then
1327: Wf_Core.Context('wfa_html', 'conv_special_url_chars',
1328: p_url_token);
1329: wfa_html.Error;
1330: END conv_special_url_chars;
1331:

Line 1329: wfa_html.Error;

1325: exception
1326: when others then
1327: Wf_Core.Context('wfa_html', 'conv_special_url_chars',
1328: p_url_token);
1329: wfa_html.Error;
1330: END conv_special_url_chars;
1331:
1332: /*===========================================================================
1333: FUNCTION NAME: encode_url (PRIVATE)

Line 1473: Wf_Core.Context('wfa_html', 'encode_url',

1469: end loop;
1470: return l_tmp;
1471: exception
1472: when others then
1473: Wf_Core.Context('wfa_html', 'encode_url',
1474: p_url_token);
1475: wfa_html.Error;
1476: END encode_url;
1477:

Line 1475: wfa_html.Error;

1471: exception
1472: when others then
1473: Wf_Core.Context('wfa_html', 'encode_url',
1474: p_url_token);
1475: wfa_html.Error;
1476: END encode_url;
1477:
1478: --
1479: -- User_LOV

Line 1583: username := wfa_html.authenticate(nid,nkey);

1579:
1580: begin
1581:
1582: -- Verify if user is admin or can access this notification
1583: username := wfa_html.authenticate(nid,nkey);
1584:
1585: username := upper(username);
1586:
1587: -- note that GetAttrDoc will not translate for PLSQLCLOB

Line 1606: wfa_html.create_help_function('wfnew/wfnew52.htm#nrr');

1602: htp.htmlOpen;
1603: htp.headOpen;
1604: htp.p('');
1605: htp.title(wf_core.translate('WFITD_ATTR_TYPE_DOCUMENT'));
1606: wfa_html.create_help_function('wfnew/wfnew52.htm#nrr');
1607: htp.headClose;
1608: wfa_sec.Header(FALSE, '',wf_core.translate('WFITD_ATTR_TYPE_DOCUMENT'),
1609: TRUE);
1610: htp.br;

Line 1682: wfa_html.create_help_function('wfnew/wfnew52.htm#nrr');

1678: -- Set page title
1679: htp.htmlOpen;
1680: htp.headOpen;
1681: htp.title(wf_core.translate('WFITD_ATTR_TYPE_DOCUMENT'));
1682: wfa_html.create_help_function('wfnew/wfnew52.htm#nrr');
1683: htp.headClose;
1684: wfa_sec.Header(FALSE, '',wf_core.translate('WFITD_ATTR_TYPE_DOCUMENT'),
1685: TRUE);
1686: htp.br;

Line 1696: wf_core.context('Wfa_Html','show_plsql_doc',wf_core.substitutespecialchars(nid),

1692: end if;
1693:
1694: exception
1695: when others then
1696: wf_core.context('Wfa_Html','show_plsql_doc',wf_core.substitutespecialchars(nid),
1697: wf_core.substitutespecialchars(aname));
1698: wfa_html.Error;
1699: end show_plsql_doc;
1700:

Line 1698: wfa_html.Error;

1694: exception
1695: when others then
1696: wf_core.context('Wfa_Html','show_plsql_doc',wf_core.substitutespecialchars(nid),
1697: wf_core.substitutespecialchars(aname));
1698: wfa_html.Error;
1699: end show_plsql_doc;
1700:
1701: -- base_url
1702: -- Get the base url for the current browser where you have launched the

Line 1736: wf_core.context('Wfa_Html','base_url');

1732: return (l_base_url);
1733:
1734: exception
1735: when others then
1736: wf_core.context('Wfa_Html','base_url');
1737: wfa_html.Error;
1738: end base_url;
1739:
1740: --

Line 1737: wfa_html.Error;

1733:
1734: exception
1735: when others then
1736: wf_core.context('Wfa_Html','base_url');
1737: wfa_html.Error;
1738: end base_url;
1739:
1740: --
1741: -- wf_user_val

Line 1905: wf_core.context('Wfa_Html', 'wf_user_val');

1901:
1902: exception
1903: when others then
1904: rollback;
1905: wf_core.context('Wfa_Html', 'wf_user_val');
1906: raise;
1907: end wf_user_val;
1908:
1909:

Line 2088: wf_core.context('Wfa_Html', 'validate_display_name', p_display_name,

2084: end if;
2085:
2086: exception
2087: when others then
2088: wf_core.context('Wfa_Html', 'validate_display_name', p_display_name,
2089: p_user_name);
2090: raise;
2091: end validate_display_name;
2092:

Line 2118: end WFA_HTML;

2114: htp.htmlClose;
2115:
2116: END LongDesc;
2117:
2118: end WFA_HTML;