DBA Data[Home] [Help]

APPS.WF_PREF dependencies on WF_PREF

Line 1: package body WF_PREF as

1: package body WF_PREF as
2: /* $Header: wfprfb.pls 120.3 2006/10/04 09:42:18 hgandiko ship $ */
3:
4:
5: --

Line 41: document.WF_PREF.p_dm_home.value = x + '':''+ y;

37: htp.p(
38: 'function fnd_open_dm_window(x,y)
39: {
40: window.focus();
41: document.WF_PREF.p_dm_home.value = x + '':''+ y;
42: }'
43: );
44:
45: htp.p(' ');

Line 51: Wf_Core.Context('wf_pref',

47: htp.p('');
48:
49: EXCEPTION
50: WHEN OTHERS THEN
51: Wf_Core.Context('wf_pref',
52: 'get_open_lov_window_html');
53: RAISE;
54:
55: END get_open_lov_window_html;

Line 70: if ( document.WF_PREF.p_ldap_npwd.value.length > 0 || document.WF_PREF.p_ldap_rpwd.value.length > 0 )

66: htp.p(
67: 'function form_submit()
68: {
69: var l_submit = true;
70: if ( document.WF_PREF.p_ldap_npwd.value.length > 0 || document.WF_PREF.p_ldap_rpwd.value.length > 0 )
71: {
72: if ( document.WF_PREF.p_ldap_npwd.value.length < 5 )
73: {
74: l_submit = false;

Line 72: if ( document.WF_PREF.p_ldap_npwd.value.length < 5 )

68: {
69: var l_submit = true;
70: if ( document.WF_PREF.p_ldap_npwd.value.length > 0 || document.WF_PREF.p_ldap_rpwd.value.length > 0 )
71: {
72: if ( document.WF_PREF.p_ldap_npwd.value.length < 5 )
73: {
74: l_submit = false;
75: window.alert("' || wf_core.translate('WFPREF_LDAP_PASSWORD_LEN') ||'");
76: document.WF_PREF.p_ldap_npwd.focus();

Line 76: document.WF_PREF.p_ldap_npwd.focus();

72: if ( document.WF_PREF.p_ldap_npwd.value.length < 5 )
73: {
74: l_submit = false;
75: window.alert("' || wf_core.translate('WFPREF_LDAP_PASSWORD_LEN') ||'");
76: document.WF_PREF.p_ldap_npwd.focus();
77: }
78: else if( document.WF_PREF.p_ldap_npwd.value != document.WF_PREF.p_ldap_rpwd.value )
79: {
80: l_submit = false;

Line 78: else if( document.WF_PREF.p_ldap_npwd.value != document.WF_PREF.p_ldap_rpwd.value )

74: l_submit = false;
75: window.alert("' || wf_core.translate('WFPREF_LDAP_PASSWORD_LEN') ||'");
76: document.WF_PREF.p_ldap_npwd.focus();
77: }
78: else if( document.WF_PREF.p_ldap_npwd.value != document.WF_PREF.p_ldap_rpwd.value )
79: {
80: l_submit = false;
81: window.alert("' || wf_core.translate('WFPREF_LDAP_PASSWORD_MISMATCH') || '");
82: document.WF_PREF.p_ldap_rpwd.focus();

Line 82: document.WF_PREF.p_ldap_rpwd.focus();

78: else if( document.WF_PREF.p_ldap_npwd.value != document.WF_PREF.p_ldap_rpwd.value )
79: {
80: l_submit = false;
81: window.alert("' || wf_core.translate('WFPREF_LDAP_PASSWORD_MISMATCH') || '");
82: document.WF_PREF.p_ldap_rpwd.focus();
83: }
84: }
85: if ( l_submit == true)
86: document.WF_PREF.submit();

Line 86: document.WF_PREF.submit();

82: document.WF_PREF.p_ldap_rpwd.focus();
83: }
84: }
85: if ( l_submit == true)
86: document.WF_PREF.submit();
87: }'
88: );
89:
90: htp.p(' ');

Line 96: Wf_Core.Context('wf_pref',

92: htp.p('');
93:
94: EXCEPTION
95: WHEN OTHERS THEN
96: Wf_Core.Context('wf_pref',
97: 'validate_password');
98: RAISE;
99:
100: END validate_password;

Line 120: wf_core.context('Wf_Pref', 'create_reg_button',when_pressed_url,onmouseover,

116:
117: exception
118: when others then
119: rollback;
120: wf_core.context('Wf_Pref', 'create_reg_button',when_pressed_url,onmouseover,
121: icon_top,icon_name,show_text);
122: wf_pref.Error;
123:
124: end create_reg_button;

Line 122: wf_pref.Error;

118: when others then
119: rollback;
120: wf_core.context('Wf_Pref', 'create_reg_button',when_pressed_url,onmouseover,
121: icon_top,icon_name,show_text);
122: wf_pref.Error;
123:
124: end create_reg_button;
125:
126: --

Line 137: wf_core.context('Wf_Pref', 'Edit', edit_defaults);

133: null;
134: exception
135: when others then
136: rollback;
137: wf_core.context('Wf_Pref', 'Edit', edit_defaults);
138: wf_pref.Error;
139: end edit;
140:
141: --

Line 138: wf_pref.Error;

134: exception
135: when others then
136: rollback;
137: wf_core.context('Wf_Pref', 'Edit', edit_defaults);
138: wf_pref.Error;
139: end edit;
140:
141: --
142: -- Edit

Line 152: wf_core.context('Wf_Pref', 'Edit_Form', edit_defaults);

148: null;
149: exception
150: when others then
151: rollback;
152: wf_core.context('Wf_Pref', 'Edit_Form', edit_defaults);
153: wf_pref.Error;
154: end edit_form;
155:
156: --

Line 153: wf_pref.Error;

149: exception
150: when others then
151: rollback;
152: wf_core.context('Wf_Pref', 'Edit_Form', edit_defaults);
153: wf_pref.Error;
154: end edit_form;
155:
156: --
157: -- Lang_LOV

Line 228: wf_core.context('Wf_Pref', 'lang_lov',p_titles_only, p_find_criteria);

224:
225: exception
226: when others then
227: rollback;
228: wf_core.context('Wf_Pref', 'lang_lov',p_titles_only, p_find_criteria);
229: wf_pref.Error;
230: END lang_lov;
231:
232: --

Line 229: wf_pref.Error;

225: exception
226: when others then
227: rollback;
228: wf_core.context('Wf_Pref', 'lang_lov',p_titles_only, p_find_criteria);
229: wf_pref.Error;
230: END lang_lov;
231:
232: --
233: -- Terr_LOV

Line 308: wf_core.context('Wf_Pref', 'Terr_lov',p_titles_only, p_find_criteria);

304:
305: exception
306: when others then
307: rollback;
308: wf_core.context('Wf_Pref', 'Terr_lov',p_titles_only, p_find_criteria);
309: wf_pref.Error;
310: END terr_lov;
311:
312: --

Line 309: wf_pref.Error;

305: exception
306: when others then
307: rollback;
308: wf_core.context('Wf_Pref', 'Terr_lov',p_titles_only, p_find_criteria);
309: wf_pref.Error;
310: END terr_lov;
311:
312: --
313: -- DM_LOV

Line 386: wf_core.context('Wf_Pref', 'DM_lov',p_titles_only, p_find_criteria);

382:
383: exception
384: when others then
385: rollback;
386: wf_core.context('Wf_Pref', 'DM_lov',p_titles_only, p_find_criteria);
387: wf_pref.Error;
388: END DM_LOV;
389:
390:

Line 387: wf_pref.Error;

383: exception
384: when others then
385: rollback;
386: wf_core.context('Wf_Pref', 'DM_lov',p_titles_only, p_find_criteria);
387: wf_pref.Error;
388: END DM_LOV;
389:
390:
391: PROCEDURE update_pref (

Line 810: wf_core.context('Wf_Pref', 'update_pref',

806: END IF;
807: exception
808: when others then
809: rollback;
810: wf_core.context('Wf_Pref', 'update_pref',
811: p_language ,
812: p_territory ,
813: p_admin_role,
814: p_display_admin_role );

Line 873: end WF_PREF;

869: return l_preference_value;
870:
871: END get_pref;
872:
873: end WF_PREF;