DBA Data[Home] [Help]

APPS.FND_DOCUMENT_MANAGEMENT dependencies on WF_CORE

Line 9: dm_base_url varchar2(240) := wf_core.translate('WF_WEB_AGENT');

5: ** We need need to fetch URL prefix from WF_WEB_AGENT in wf_resources
6: ** since this function gets called from the forms environment
7: ** which doesn't know anything about the cgi variables.
8: */
9: dm_base_url varchar2(240) := wf_core.translate('WF_WEB_AGENT');
10:
11: --
12: -- Error (PRIVATE)
13: -- Print a page with an error message.

Line 15: -- 1. wf_core errors

11: --
12: -- Error (PRIVATE)
13: -- Print a page with an error message.
14: -- Errors are retrieved from these sources in order:
15: -- 1. wf_core errors
16: -- 2. Oracle errors
17: -- 3. Unspecified INTERNAL error
18: --
19: procedure Error

Line 27: htp.title(wf_core.translate('ERROR'));

23: error_stack varchar2(32000);
24: begin
25: htp.htmlOpen;
26: htp.headOpen;
27: htp.title(wf_core.translate('ERROR'));
28: htp.headClose;
29:
30: begin
31: wfa_sec.Header(background_only=>TRUE);

Line 37: htp.header(nsize=>1, cheader=>wf_core.translate('ERROR'));

33: when others then
34: htp.bodyOpen;
35: end;
36:
37: htp.header(nsize=>1, cheader=>wf_core.translate('ERROR'));
38:
39: wf_core.get_error(error_name, error_message, error_stack);
40:
41: -- Bug5161758 - XSS

Line 39: wf_core.get_error(error_name, error_message, error_stack);

35: end;
36:
37: htp.header(nsize=>1, cheader=>wf_core.translate('ERROR'));
38:
39: wf_core.get_error(error_name, error_message, error_stack);
40:
41: -- Bug5161758 - XSS
42: error_message := wf_core.substitutespecialchars(error_message);
43: error_stack := wf_core.substitutespecialchars(error_stack);

Line 42: error_message := wf_core.substitutespecialchars(error_message);

38:
39: wf_core.get_error(error_name, error_message, error_stack);
40:
41: -- Bug5161758 - XSS
42: error_message := wf_core.substitutespecialchars(error_message);
43: error_stack := wf_core.substitutespecialchars(error_stack);
44:
45: if (error_name is not null) then
46: htp.p(error_message);

Line 43: error_stack := wf_core.substitutespecialchars(error_stack);

39: wf_core.get_error(error_name, error_message, error_stack);
40:
41: -- Bug5161758 - XSS
42: error_message := wf_core.substitutespecialchars(error_message);
43: error_stack := wf_core.substitutespecialchars(error_stack);
44:
45: if (error_name is not null) then
46: htp.p(error_message);
47: else

Line 52: htp.p(wf_core.translate('WFENG_ERRNAME')||': '||error_name);

48: htp.p(sqlerrm);
49: end if;
50:
51: htp.hr;
52: htp.p(wf_core.translate('WFENG_ERRNAME')||': '||error_name);
53: htp.br;
54: htp.p(wf_core.translate('WFENG_ERRSTACK')||': '||
55: replace(error_stack,wf_core.newline,'
'));
56:

Line 54: htp.p(wf_core.translate('WFENG_ERRSTACK')||': '||

50:
51: htp.hr;
52: htp.p(wf_core.translate('WFENG_ERRNAME')||': '||error_name);
53: htp.br;
54: htp.p(wf_core.translate('WFENG_ERRSTACK')||': '||
55: replace(error_stack,wf_core.newline,'
'));
56:
57: wfa_sec.Footer;
58: htp.htmlClose;

Line 55: replace(error_stack,wf_core.newline,'
'));

51: htp.hr;
52: htp.p(wf_core.translate('WFENG_ERRNAME')||': '||error_name);
53: htp.br;
54: htp.p(wf_core.translate('WFENG_ERRSTACK')||': '||
55: replace(error_stack,wf_core.newline,'
'));
56:
57: wfa_sec.Footer;
58: htp.htmlClose;
59: end Error;

Line 117: Wf_Core.Context('fnd_document_management',

113: END LOOP;
114:
115: EXCEPTION
116: WHEN OTHERS THEN
117: Wf_Core.Context('fnd_document_management',
118: 'get_product_parameter_list',
119: to_char(product_function_id));
120: RAISE;
121:

Line 186: Wf_Core.Context('fnd_document_management',

182: p_function_syntax := NULL;
183: p_product_function_id := 0;
184: p_icon_name := NULL;
185: WHEN OTHERS THEN
186: Wf_Core.Context('fnd_document_management',
187: 'get_function_defintion',
188: to_char(p_node_id),
189: p_function_name);
190: RAISE;

Line 196: Wf_Core.Context('fnd_document_management',

192: END;
193:
194: EXCEPTION
195: WHEN OTHERS THEN
196: Wf_Core.Context('fnd_document_management',
197: 'get_function_defintion',
198: to_char(p_node_id),
199: p_function_name);
200: RAISE;

Line 280: Wf_Core.Context('fnd_document_management',

276: END IF;
277:
278: EXCEPTION
279: WHEN OTHERS THEN
280: Wf_Core.Context('fnd_document_management',
281: 'create_html_syntax',
282: p_function_name,
283: p_node_connect_syntax,
284: p_function_syntax,

Line 320: l_dummy := wf_core.CheckIllegalChars(username,true);

316:
317: BEGIN
318: -- Bug5161758 HTML injection
319: begin
320: l_dummy := wf_core.CheckIllegalChars(username,true);
321: exception
322: when OTHERS then
323: fnd_document_management.error;
324: return;

Line 438: Wf_Core.Context('fnd_document_management',

434: END IF;
435:
436: EXCEPTION
437: WHEN OTHERS THEN
438: Wf_Core.Context('fnd_document_management',
439: 'get_launch_document_url',
440: document_identifier);
441: RAISE;
442:

Line 467: l_dummy := wf_core.CheckIllegalChars(username,true);

463:
464: BEGIN
465: -- Bug5161758 HTML injection
466: begin
467: l_dummy := wf_core.CheckIllegalChars(username,true);
468: exception
469: when OTHERS then
470: fnd_document_management.error;
471: return;

Line 521: Wf_Core.Context('fnd_document_management',

517: htp.p ('');
518:
519: EXCEPTION
520: WHEN OTHERS THEN
521: Wf_Core.Context('fnd_document_management',
522: 'create_display_document_url',
523: document_identifier);
524: RAISE;
525:

Line 572: l_dummy := wf_core.CheckIllegalChars(username,true);

568:
569: BEGIN
570: -- Bug5161758 HTML injection
571: begin
572: l_dummy := wf_core.CheckIllegalChars(username,true);
573: exception
574: when OTHERS then
575: fnd_document_management.error;
576: return;

Line 667: Wf_Core.Context('fnd_document_management',

663: search_document_url);
664:
665: EXCEPTION
666: WHEN OTHERS THEN
667: Wf_Core.Context('fnd_document_management',
668: 'get_search_document_url');
669: RAISE;
670:
671: END get_search_document_url;

Line 720: l_dummy := wf_core.CheckIllegalChars(username,true);

716:
717: BEGIN
718: -- Bug5161758 HTML injection
719: begin
720: l_dummy := wf_core.CheckIllegalChars(username,true);
721: exception
722: when OTHERS then
723: fnd_document_management.error;
724: return;

Line 863: Wf_Core.Context('fnd_document_management',

859: create_document_url);
860:
861: EXCEPTION
862: WHEN OTHERS THEN
863: Wf_Core.Context('fnd_document_management',
864: 'get_create_document_url',
865: callback_function);
866: RAISE;
867:

Line 916: l_dummy := wf_core.CheckIllegalChars(username,true);

912:
913: BEGIN
914: -- Bug5161758 HTML injection
915: begin
916: l_dummy := wf_core.CheckIllegalChars(username,true);
917: exception
918: when OTHERS then
919: fnd_document_management.error;
920: return;

Line 1015: Wf_Core.Context('fnd_document_management',

1011: browse_document_url);
1012:
1013: EXCEPTION
1014: WHEN OTHERS THEN
1015: Wf_Core.Context('fnd_document_management',
1016: 'get_browse_document_url',
1017: callback_function);
1018: RAISE;
1019:

Line 1060: l_dummy := wf_core.CheckIllegalChars(username,true);

1056:
1057: BEGIN
1058: -- Bug5161758 HTML injection
1059: begin
1060: l_dummy := wf_core.CheckIllegalChars(username,true);
1061: exception
1062: when OTHERS then
1063: fnd_document_management.error;
1064: return;

Line 1174: Wf_Core.Context('fnd_document_management',

1170:
1171:
1172: EXCEPTION
1173: WHEN OTHERS THEN
1174: Wf_Core.Context('fnd_document_management',
1175: 'get_display_document_url',
1176: document_identifier);
1177: RAISE;
1178:

Line 1223: l_dummy := wf_core.CheckIllegalChars(username,true);

1219:
1220: BEGIN
1221: -- Bug5161758 HTML injection
1222: begin
1223: l_dummy := wf_core.CheckIllegalChars(username,true);
1224: exception
1225: when OTHERS then
1226: fnd_document_management.error;
1227: return;

Line 1359: Wf_Core.Context('fnd_document_management',

1355:
1356:
1357: EXCEPTION
1358: WHEN OTHERS THEN
1359: Wf_Core.Context('fnd_document_management',
1360: 'get_original_document_url',
1361: document_identifier);
1362: RAISE;
1363:

Line 1398: l_dummy := wf_core.CheckIllegalChars(username,true);

1394:
1395: BEGIN
1396: -- Bug5161758 HTML injection
1397: begin
1398: l_dummy := wf_core.CheckIllegalChars(username,true);
1399: exception
1400: when OTHERS then
1401: fnd_document_management.error;
1402: return;

Line 1485: Wf_Core.Context('fnd_document_management',

1481: fetch_document_url);
1482:
1483: EXCEPTION
1484: WHEN OTHERS THEN
1485: Wf_Core.Context('fnd_document_management',
1486: 'get_fetch_document_url',
1487: document_identifier);
1488: RAISE;
1489:

Line 1526: l_dummy := wf_core.CheckIllegalChars(username,true);

1522:
1523: BEGIN
1524: -- Bug5161758 HTML injection
1525: begin
1526: l_dummy := wf_core.CheckIllegalChars(username,true);
1527: exception
1528: when OTHERS then
1529: fnd_document_management.error;
1530: return;

Line 1623: Wf_Core.Context('fnd_document_management',

1619: check_out_document_url);
1620:
1621: EXCEPTION
1622: WHEN OTHERS THEN
1623: Wf_Core.Context('fnd_document_management',
1624: 'get_check_out_document_url',
1625: document_identifier);
1626: RAISE;
1627:

Line 1664: l_dummy := wf_core.CheckIllegalChars(username,true);

1660:
1661: BEGIN
1662: -- Bug5161758 HTML injection
1663: begin
1664: l_dummy := wf_core.CheckIllegalChars(username,true);
1665: exception
1666: when OTHERS then
1667: fnd_document_management.error;
1668: return;

Line 1777: Wf_Core.Context('fnd_document_management',

1773: check_in_document_url);
1774:
1775: EXCEPTION
1776: WHEN OTHERS THEN
1777: Wf_Core.Context('fnd_document_management',
1778: 'get_check_in_document_url',
1779: document_identifier);
1780: RAISE;
1781:

Line 1818: l_dummy := wf_core.CheckIllegalChars(username,true);

1814:
1815: BEGIN
1816: -- Bug5161758 HTML injection
1817: begin
1818: l_dummy := wf_core.CheckIllegalChars(username,true);
1819: exception
1820: when OTHERS then
1821: fnd_document_management.error;
1822: return;

Line 1932: Wf_Core.Context('fnd_document_management',

1928: lock_document_url);
1929:
1930: EXCEPTION
1931: WHEN OTHERS THEN
1932: Wf_Core.Context('fnd_document_management',
1933: 'get_lock_document_url',
1934: document_identifier);
1935: RAISE;
1936:

Line 1972: l_dummy := wf_core.CheckIllegalChars(username,true);

1968:
1969: BEGIN
1970: -- Bug5161758 HTML injection
1971: begin
1972: l_dummy := wf_core.CheckIllegalChars(username,true);
1973: exception
1974: when OTHERS then
1975: fnd_document_management.error;
1976: return;

Line 2086: Wf_Core.Context('fnd_document_management',

2082: unlock_document_url);
2083:
2084: EXCEPTION
2085: WHEN OTHERS THEN
2086: Wf_Core.Context('fnd_document_management',
2087: 'get_unlock_document_url',
2088: document_identifier);
2089: RAISE;
2090:

Line 2126: l_dummy := wf_core.CheckIllegalChars(username,true);

2122:
2123: BEGIN
2124: -- Bug5161758 HTML injection
2125: begin
2126: l_dummy := wf_core.CheckIllegalChars(username,true);
2127: exception
2128: when OTHERS then
2129: fnd_document_management.error;
2130: return;

Line 2240: Wf_Core.Context('fnd_document_management',

2236: display_history_url);
2237:
2238: EXCEPTION
2239: WHEN OTHERS THEN
2240: Wf_Core.Context('fnd_document_management',
2241: 'get_display_history_url',
2242: document_identifier);
2243: RAISE;
2244:

Line 2282: htp.p('');

2278: );
2279:
2280:
2281: htp.p(' ');
2282: htp.p('');
2283:
2284: EXCEPTION
2285: WHEN OTHERS THEN
2286: Wf_Core.Context('fnd_document_management',

Line 2286: Wf_Core.Context('fnd_document_management',

2282: htp.p('');
2283:
2284: EXCEPTION
2285: WHEN OTHERS THEN
2286: Wf_Core.Context('fnd_document_management',
2287: 'get_open_dm_display_window');
2288: RAISE;
2289:
2290: END get_open_dm_display_window;

Line 2336: htp.p('');

2332: }'
2333: );
2334:
2335: htp.p(' ');
2336: htp.p('');
2337:
2338: EXCEPTION
2339: WHEN OTHERS THEN
2340: Wf_Core.Context('fnd_document_management',

Line 2340: Wf_Core.Context('fnd_document_management',

2336: htp.p('');
2337:
2338: EXCEPTION
2339: WHEN OTHERS THEN
2340: Wf_Core.Context('fnd_document_management',
2341: 'get_open_dm_attach_window');
2342: RAISE;
2343:
2344: END get_open_dm_attach_window;

Line 2406: Wf_Core.Context('fnd_document_management',

2402: callback_url := wfa_html.conv_special_url_chars(l_callback_url);
2403:
2404: EXCEPTION
2405: WHEN OTHERS THEN
2406: Wf_Core.Context('fnd_document_management',
2407: 'set_document_id_html',
2408: form_name,
2409: document_id_field_name,
2410: document_name_field_name);

Line 2543: l_dummy := wf_core.CheckIllegalChars(username,true);

2539: l_dummy boolean; -- Bug5161758 HTML injection
2540: BEGIN
2541: -- Bug5161758 HTML injection
2542: begin
2543: l_dummy := wf_core.CheckIllegalChars(username,true);
2544: exception
2545: when OTHERS then
2546: fnd_document_management.error;
2547: return;

Line 2614: l_document_name := wf_core.substitutespecialchars(l_document_name);

2610: */
2611: htp.p('');
2612:
2613: -- Bug5161758 - XSS
2614: l_document_name := wf_core.substitutespecialchars(l_document_name);
2615:
2616: /*
2617: ** Create the page title.
2618: */

Line 2642: wf_core.translate('WFDM_DISPLAY')||''''||';return true">'||

2638: FALSE,
2639: l_url_syntax);
2640:
2641: htp.p(''||
2643: ''||wf_core.translate('WFDM_DISPLAY')||'
');
2644:
2645: /*
2646: ** Create the display latest version document icon control

Line 2643: ''||wf_core.translate('WFDM_DISPLAY')||'');

2639: l_url_syntax);
2640:
2641: htp.p(''||
2643: ''||wf_core.translate('WFDM_DISPLAY')||'
');
2644:
2645: /*
2646: ** Create the display latest version document icon control
2647: */

Line 2656: wf_core.translate('WFDM_ORIGINAL_VERSION')||''''||';return true">'||

2652: FALSE,
2653: l_url_syntax);
2654:
2655: htp.p(''||
2657: ''||wf_core.translate('WFDM_ORIGINAL_VERSION')||'
');
2658:
2659: /*
2660: ** Create the fetch document icon control

Line 2657: ''||wf_core.translate('WFDM_ORIGINAL_VERSION')||'');

2653: l_url_syntax);
2654:
2655: htp.p(''||
2657: ''||wf_core.translate('WFDM_ORIGINAL_VERSION')||'
');
2658:
2659: /*
2660: ** Create the fetch document icon control
2661: */

Line 2669: wf_core.translate('WFDM_FETCH')||''''||';return true">'||

2665: FALSE,
2666: l_url_syntax);
2667:
2668: htp.p(''||
2670: ''||wf_core.translate('WFDM_FETCH')||'
');
2671:
2672: /*
2673: ** Create a dividing line

Line 2670: ''||wf_core.translate('WFDM_FETCH')||'');

2666: l_url_syntax);
2667:
2668: htp.p(''||
2670: ''||wf_core.translate('WFDM_FETCH')||'
');
2671:
2672: /*
2673: ** Create a dividing line
2674: */

Line 2687: wf_core.translate('WFDM_CHECK_OUT')||''''||';return true">'||

2683: FALSE,
2684: l_url_syntax);
2685:
2686: htp.p(''||
2688: ''||wf_core.translate('WFDM_CHECK_OUT')||'
');
2689:
2690: /*
2691: ** Create the check in icon control

Line 2688: ''||wf_core.translate('WFDM_CHECK_OUT')||'');

2684: l_url_syntax);
2685:
2686: htp.p(''||
2688: ''||wf_core.translate('WFDM_CHECK_OUT')||'
');
2689:
2690: /*
2691: ** Create the check in icon control
2692: */

Line 2700: wf_core.translate('WFDM_CHECK_IN')||''''||';return true">'||

2696: FALSE,
2697: l_url_syntax);
2698:
2699: htp.p(''||
2701: ''||wf_core.translate('WFDM_CHECK_IN')||'
');
2702:
2703: /*
2704: ** Create the unlock icon control

Line 2701: ''||wf_core.translate('WFDM_CHECK_IN')||'');

2697: l_url_syntax);
2698:
2699: htp.p(''||
2701: ''||wf_core.translate('WFDM_CHECK_IN')||'
');
2702:
2703: /*
2704: ** Create the unlock icon control
2705: */

Line 2713: wf_core.translate('WFDM_UNLOCK')||''''||';return true">'||

2709: FALSE,
2710: l_url_syntax);
2711:
2712: htp.p(''||
2714: ''||wf_core.translate('WFDM_UNLOCK')||'
');
2715: /*
2716: ** Create a dividing line
2717: */

Line 2714: ''||wf_core.translate('WFDM_UNLOCK')||'');

2710: l_url_syntax);
2711:
2712: htp.p(''||
2714: ''||wf_core.translate('WFDM_UNLOCK')||'
');
2715: /*
2716: ** Create a dividing line
2717: */
2718: htp.p('');

Line 2730: wf_core.translate('WFDM_DISPLAY_HISTORY')||''''||';return true">'||

2726: FALSE,
2727: l_url_syntax);
2728:
2729: htp.p(''||
2731: ''||wf_core.translate('WFDM_DISPLAY_HISTORY')||'
');
2732:
2733: htp.p('');
2734:

Line 2731: ''||wf_core.translate('WFDM_DISPLAY_HISTORY')||'');

2727: l_url_syntax);
2728:
2729: htp.p(''||
2731: ''||wf_core.translate('WFDM_DISPLAY_HISTORY')||'
');
2732:
2733: htp.p('');
2734:
2735: /*

Line 2739: ''''||wf_core.translate('WFMON_HELP')||''''||

2735: /*
2736: ** Create the help icon
2737: */
2738: htp.p(''||wf_core.translate('WFMON_HELP')||'');
2741: htp.p('');
2742:
2743: /*

Line 2740: ';return true">'||wf_core.translate('WFMON_HELP')||'');

2736: ** Create the help icon
2737: */
2738: htp.p(''||wf_core.translate('WFMON_HELP')||'');
2741: htp.p('');
2742:
2743: /*
2744: ** Create the black border under the toolbar and close the icon table

Line 2762: wf_core.context('fnd_document_management',

2758:
2759:
2760: exception
2761: when others then
2762: wf_core.context('fnd_document_management',
2763: 'create_document_toolbar',
2764: document_identifier);
2765: raise;
2766:

Line 2826: l_dummy := wf_core.CheckIllegalChars(username,true);

2822: ** has their own mechanism for controlling the DM options.
2823: */
2824: -- Bug5161758 HTML injection
2825: begin
2826: l_dummy := wf_core.CheckIllegalChars(username,true);
2827: exception
2828: when OTHERS then
2829: fnd_document_management.error;
2830: return;

Line 2946: || WF_CORE.Translate('WFITD_ATTACH') || '">'||

2942: l_attach_url||
2943: '''' ||
2944: ', 700, 600)">'||
2945: ''<br>
<b>2946:              || WF_CORE.Translate('WFITD_ATTACH') || ''||
2947: '';
2948: ELSE
2949:
2950: /*

Line 2964: || WF_CORE.Translate('WFITD_ATTACH') || '">'||

2960: '&callback_function='||callback_function||
2961: '''' ||
2962: ', 700, 600)">'||
2963: ''<br>
<b>2964:              || WF_CORE.Translate('WFITD_ATTACH') || ''||
2965: ' ';
2966:
2967: END IF;
2968:

Line 2973: Wf_Core.Context('fnd_document_management',

2969: END IF;
2970:
2971: EXCEPTION
2972: WHEN OTHERS THEN
2973: Wf_Core.Context('fnd_document_management',
2974: 'get_launch_attach_url',
2975: callback_function);
2976: RAISE;
2977:

Line 3003: l_dummy := wf_core.CheckIllegalChars(username,true);

2999:
3000: BEGIN
3001: -- Bug5161758 HTML injection / XSS
3002: begin
3003: l_dummy := wf_core.CheckIllegalChars(username,true);
3004: exception
3005: when OTHERS then
3006: fnd_document_management.error;
3007: return;

Line 3019: htp.title(wf_core.translate('WF_WORKFLOW_TITLE'));

3015: IF (l_dm_node_id IS NULL) THEN
3016:
3017: htp.htmlOpen;
3018: htp.headOpen;
3019: htp.title(wf_core.translate('WF_WORKFLOW_TITLE'));
3020: htp.headClose;
3021:
3022: htp.p ('');
3023: htp.tableOpen(cattributes=>'summary=""');

Line 3027: WF_CORE.Translate('WFDM_NO_NODES') || '">');

3023: htp.tableOpen(cattributes=>'summary=""');
3024: htp.tableRowOpen;
3025:
3026: htp.tabledata('' ||<br>
<b>3027:                     WF_CORE.Translate('WFDM_NO_NODES') || '');
3028: htp.tabledata(''||wf_core.translate('WFDM_NO_NODES')||'');
3029:
3030: htp.tableRowClose;
3031: htp.tableClose;

Line 3028: htp.tabledata(''||wf_core.translate('WFDM_NO_NODES')||'');

3024: htp.tableRowOpen;
3025:
3026: htp.tabledata('' ||<br>
3027:                     WF_CORE.Translate('WFDM_NO_NODES') || '');
3028: htp.tabledata(''||wf_core.translate('WFDM_NO_NODES')||'');
3029:
3030: htp.tableRowClose;
3031: htp.tableClose;
3032: htp.bodyClose;

Line 3109: Wf_Core.Context('fnd_document_management',

3105: htp.p ('');
3106:
3107: EXCEPTION
3108: WHEN OTHERS THEN
3109: Wf_Core.Context('fnd_document_management',
3110: 'create_attach_document_url',
3111: callback_function);
3112: RAISE;
3113:

Line 3142: l_dummy := wf_core.CheckIllegalChars(username,true);

3138:
3139: BEGIN
3140: -- Bug5161758 HTML injection / XSS
3141: begin
3142: l_dummy := wf_core.CheckIllegalChars(username,true);
3143: exception
3144: when OTHERS then
3145: fnd_document_management.error;
3146: return;

Line 3211: wf_core.translate('WFDM_HOME')||''''||';return true">'||

3207: 'username='||username||
3208: '&callback='||
3209: wfa_html.conv_special_url_chars(callback_function)||'"'||
3210: '" TARGET="DOCUMENT" onMouseOver="window.status='||''''||
3211: wf_core.translate('WFDM_HOME')||''''||';return true">'||
3212: ''||wf_core.translate('WFDM_HOME')||'');
3213:
3214: htp.p('');
3215:

Line 3212: ''||wf_core.translate('WFDM_HOME')||'');

3208: '&callback='||
3209: wfa_html.conv_special_url_chars(callback_function)||'"'||
3210: '" TARGET="DOCUMENT" onMouseOver="window.status='||''''||
3211: wf_core.translate('WFDM_HOME')||''''||';return true">'||
3212: ''||wf_core.translate('WFDM_HOME')||'');
3213:
3214: htp.p('');
3215:
3216: htp.p('');

Line 3256: wf_core.translate('WFDM_SEARCH')||''''||';return true">'||

3252: REPLACE (l_url_syntax,
3253: '.opener.parent.parent.opener.',
3254: '.opener.parent.')||
3255: '" TARGET="DOCUMENT" onMouseOver="window.status='||''''||
3256: wf_core.translate('WFDM_SEARCH')||''''||';return true">'||
3257: ''||wf_core.translate('WFDM_SEARCH')||'');
3258:
3259: /*
3260: ** Create the add document icon control

Line 3257: ''||wf_core.translate('WFDM_SEARCH')||'');

3253: '.opener.parent.parent.opener.',
3254: '.opener.parent.')||
3255: '" TARGET="DOCUMENT" onMouseOver="window.status='||''''||
3256: wf_core.translate('WFDM_SEARCH')||''''||';return true">'||
3257: ''||wf_core.translate('WFDM_SEARCH')||'');
3258:
3259: /*
3260: ** Create the add document icon control
3261: */

Line 3269: wf_core.translate('WFDM_CREATE')||''''||';return true">'||

3265: FALSE,
3266: l_url_syntax);
3267:
3268: htp.p(''||
3270: ''||wf_core.translate('WFDM_CREATE')||'
');
3271:
3272: /*
3273: ** Create the browse icon control

Line 3270: ''||wf_core.translate('WFDM_CREATE')||'');

3266: l_url_syntax);
3267:
3268: htp.p(''||
3270: ''||wf_core.translate('WFDM_CREATE')||'
');
3271:
3272: /*
3273: ** Create the browse icon control
3274: */

Line 3282: wf_core.translate('WFDM_BROWSE')||''''||';return true">'||

3278: FALSE,
3279: l_url_syntax);
3280:
3281: htp.p(''||
3283: ''||wf_core.translate('WFDM_BROWSE')||'
');
3284:
3285: htp.p('');
3286:

Line 3283: ''||wf_core.translate('WFDM_BROWSE')||'');

3279: l_url_syntax);
3280:
3281: htp.p(''||
3283: ''||wf_core.translate('WFDM_BROWSE')||'
');
3284:
3285: htp.p('');
3286:
3287: /*

Line 3291: ''''||wf_core.translate('WFMON_HELP_DETAILS')||''''||

3287: /*
3288: ** Create the help icon
3289: */
3290: htp.p(''||wf_core.translate('WFMON_HELP_DETAILS')||'');
3293: htp.p('');
3294:
3295: /*

Line 3292: ';return true">'||wf_core.translate('WFMON_HELP_DETAILS')||'');

3288: ** Create the help icon
3289: */
3290: htp.p(''||wf_core.translate('WFMON_HELP_DETAILS')||'');
3293: htp.p('');
3294:
3295: /*
3296: ** Create the black border under the toolbar and close the icon table

Line 3314: wf_core.context('fnd_document_management',

3310:
3311:
3312: exception
3313: when others then
3314: wf_core.context('fnd_document_management',
3315: 'create_attach_toolbar',
3316: callback_function);
3317: raise;
3318:

Line 3341: l_dummy := wf_core.CheckIllegalChars(username,true);

3337: l_dummy boolean; -- Bug5161758 HTML injection
3338: BEGIN
3339: -- Bug5161758 HTML injection
3340: begin
3341: l_dummy := wf_core.CheckIllegalChars(username,true);
3342: exception
3343: when OTHERS then
3344: fnd_document_management.error;
3345: return;

Line 3428: wf_core.context('fnd_document_management',

3424: END IF;
3425:
3426: exception
3427: when others then
3428: wf_core.context('fnd_document_management',
3429: 'get_dm_home',
3430: username);
3431: raise;
3432:

Line 3451: l_dummy := wf_core.CheckIllegalChars(username,true);

3447:
3448: BEGIN
3449: -- Bug5161758 HTML injection
3450: begin
3451: l_dummy := wf_core.CheckIllegalChars(username,true);
3452: exception
3453: when OTHERS then
3454: fnd_document_management.error;
3455: return;

Line 3464: wf_core.context('fnd_document_management',

3460: fnd_preference.put (username, 'WF', 'DMHOME', dm_node_id);
3461:
3462: exception
3463: when others then
3464: wf_core.context('fnd_document_management',
3465: 'set_dm_home',
3466: username,
3467: dm_node_id);
3468: raise;

Line 3494: l_dummy := wf_core.CheckIllegalChars(username,true);

3490: BEGIN
3491:
3492: -- Bug5161758 HTML injection
3493: begin
3494: l_dummy := wf_core.CheckIllegalChars(username,true);
3495: exception
3496: when OTHERS then
3497: fnd_document_management.error;
3498: return;

Line 3550: wf_core.context('fnd_document_management',

3546: END IF;
3547:
3548: exception
3549: when others then
3550: wf_core.context('fnd_document_management',
3551: 'set_dm_home_html',
3552: dm_node_id, username, callback);
3553: raise;
3554:

Line 3597: admin_role := wf_core.translate('WF_ADMIN_ROLE');

3593: wfa_sec.GetSession(username);
3594: username := upper(username);
3595: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
3596:
3597: admin_role := wf_core.translate('WF_ADMIN_ROLE');
3598: if (admin_role = '*' or
3599: Wf_Directory.IsPerformer(username, admin_role)) then
3600: admin_mode := 'Y';
3601: else

Line 3603: l_error_msg := wf_core.translate('WFPREF_INVALID_ADMIN');

3599: Wf_Directory.IsPerformer(username, admin_role)) then
3600: admin_mode := 'Y';
3601: else
3602:
3603: l_error_msg := wf_core.translate('WFPREF_INVALID_ADMIN');
3604:
3605: end if;
3606:
3607: -- Set page title

Line 3611: htp.title(wf_core.translate('WFDM_NODES_TITLE'));

3607: -- Set page title
3608: htp.htmlOpen;
3609: htp.headOpen;
3610: htp.p('');
3611: htp.title(wf_core.translate('WFDM_NODES_TITLE'));
3612: wfa_html.create_help_function('wf/links/dmr.htm?DMREP');
3613: htp.headClose;
3614: wfa_sec.Header(FALSE, '',wf_core.translate('WFDM_NODES_TITLE'), FALSE);
3615: htp.br;

Line 3614: wfa_sec.Header(FALSE, '',wf_core.translate('WFDM_NODES_TITLE'), FALSE);

3610: htp.p('');
3611: htp.title(wf_core.translate('WFDM_NODES_TITLE'));
3612: wfa_html.create_help_function('wf/links/dmr.htm?DMREP');
3613: htp.headClose;
3614: wfa_sec.Header(FALSE, '',wf_core.translate('WFDM_NODES_TITLE'), FALSE);
3615: htp.br;
3616:
3617: IF (admin_mode = 'N') THEN
3618:

Line 3629: wf_core.translate('NAME')||'',

3625: htp.tableOpen('border=1 cellpadding=3 bgcolor=white width="100%" summary=""');
3626: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
3627:
3628: htp.tableHeader(cvalue=>''||
3629: wf_core.translate('NAME')||'
',
3630: calign=>'Center', cattributes=>'id="t_name"');
3631: htp.tableHeader(cvalue=>''||
3632: wf_core.translate('DESCRIPTION')||'
',
3633: calign=>'Center', cattributes=>'id="t_node_description"');

Line 3632: wf_core.translate('DESCRIPTION')||'',

3628: htp.tableHeader(cvalue=>''||
3629: wf_core.translate('NAME')||'
',
3630: calign=>'Center', cattributes=>'id="t_name"');
3631: htp.tableHeader(cvalue=>''||
3632: wf_core.translate('DESCRIPTION')||'
',
3633: calign=>'Center', cattributes=>'id="t_node_description"');
3634: htp.tableHeader(cvalue=>''
3635: || wf_core.translate('WFDM_WEB_AGENT')||'
',
3636: calign=>'Center', cattributes=>'id="t_connect_syntax"');

Line 3635: || wf_core.translate('WFDM_WEB_AGENT')||'',

3631: htp.tableHeader(cvalue=>''||
3632: wf_core.translate('DESCRIPTION')||'
',
3633: calign=>'Center', cattributes=>'id="t_node_description"');
3634: htp.tableHeader(cvalue=>''
3635: || wf_core.translate('WFDM_WEB_AGENT')||'
',
3636: calign=>'Center', cattributes=>'id="t_connect_syntax"');
3637: htp.tableHeader(cvalue=>''||
3638: wf_core.translate('PRODUCT')||'
',
3639: calign=>'Center', cattributes=>'id="t_product_name"');

Line 3638: wf_core.translate('PRODUCT')||'',

3634: htp.tableHeader(cvalue=>''
3635: || wf_core.translate('WFDM_WEB_AGENT')||'
',
3636: calign=>'Center', cattributes=>'id="t_connect_syntax"');
3637: htp.tableHeader(cvalue=>''||
3638: wf_core.translate('PRODUCT')||'
',
3639: calign=>'Center', cattributes=>'id="t_product_name"');
3640: htp.tableHeader(cvalue=>''||
3641: wf_core.translate('VENDOR')||'
',
3642: calign=>'Center', cattributes=>'id="t_vendor_name"');

Line 3641: wf_core.translate('VENDOR')||'',

3637: htp.tableHeader(cvalue=>''||
3638: wf_core.translate('PRODUCT')||'
',
3639: calign=>'Center', cattributes=>'id="t_product_name"');
3640: htp.tableHeader(cvalue=>''||
3641: wf_core.translate('VENDOR')||'
',
3642: calign=>'Center', cattributes=>'id="t_vendor_name"');
3643: htp.tableHeader(cvalue=>''||
3644: wf_core.translate('VERSION')||'
',
3645: calign=>'Center', cattributes=>'id="t_version"');

Line 3644: wf_core.translate('VERSION')||'',

3640: htp.tableHeader(cvalue=>''||
3641: wf_core.translate('VENDOR')||'
',
3642: calign=>'Center', cattributes=>'id="t_vendor_name"');
3643: htp.tableHeader(cvalue=>''||
3644: wf_core.translate('VERSION')||'
',
3645: calign=>'Center', cattributes=>'id="t_version"');
3646: htp.tableHeader(cvalue=>''||
3647: wf_core.translate('WFDM_NODE_ID')||'
',
3648: calign=>'Center', cattributes=>'id="t_node_id"');

Line 3647: wf_core.translate('WFDM_NODE_ID')||'',

3643: htp.tableHeader(cvalue=>''||
3644: wf_core.translate('VERSION')||'
',
3645: calign=>'Center', cattributes=>'id="t_version"');
3646: htp.tableHeader(cvalue=>''||
3647: wf_core.translate('WFDM_NODE_ID')||'
',
3648: calign=>'Center', cattributes=>'id="t_node_id"');
3649: htp.tableHeader(cvalue=>''||
3650: wf_core.translate('DELETE')||'
',
3651: calign=>'Center', cattributes=>'id="t_delete"');

Line 3650: wf_core.translate('DELETE')||'',

3646: htp.tableHeader(cvalue=>''||
3647: wf_core.translate('WFDM_NODE_ID')||'
',
3648: calign=>'Center', cattributes=>'id="t_node_id"');
3649: htp.tableHeader(cvalue=>''||
3650: wf_core.translate('DELETE')||'
',
3651: calign=>'Center', cattributes=>'id="t_delete"');
3652: htp.tableRowClose;
3653: htp.tableRowOpen;
3654: htp.tableRowClose;

Line 3666: ctext=>wf_core.substitutespecialchars(nodes.node_name),

3662: htp.tableData(htf.anchor2(
3663: curl=>wfa_html.base_url||
3664: '/fnd_document_management.dm_nodes_edit?p_node_id='||
3665: to_char(nodes.node_id),
3666: ctext=>wf_core.substitutespecialchars(nodes.node_name),
3667: ctarget=>'_top'),
3668: 'Left', cattributes=>'headers="t_name"');
3669: htp.tableData(wf_core.substitutespecialchars(nodes.node_description),
3670: 'left',

Line 3669: htp.tableData(wf_core.substitutespecialchars(nodes.node_description),

3665: to_char(nodes.node_id),
3666: ctext=>wf_core.substitutespecialchars(nodes.node_name),
3667: ctarget=>'_top'),
3668: 'Left', cattributes=>'headers="t_name"');
3669: htp.tableData(wf_core.substitutespecialchars(nodes.node_description),
3670: 'left',
3671: cattributes=>'headers="t_node_description"');
3672: htp.tableData(wf_core.substitutespecialchars(nodes.connect_syntax),
3673: 'left',

Line 3672: htp.tableData(wf_core.substitutespecialchars(nodes.connect_syntax),

3668: 'Left', cattributes=>'headers="t_name"');
3669: htp.tableData(wf_core.substitutespecialchars(nodes.node_description),
3670: 'left',
3671: cattributes=>'headers="t_node_description"');
3672: htp.tableData(wf_core.substitutespecialchars(nodes.connect_syntax),
3673: 'left',
3674: cattributes=>'headers="t_connect_syntax"');
3675: htp.tableData(wf_core.substitutespecialchars(nodes.product_name),
3676: 'left',

Line 3675: htp.tableData(wf_core.substitutespecialchars(nodes.product_name),

3671: cattributes=>'headers="t_node_description"');
3672: htp.tableData(wf_core.substitutespecialchars(nodes.connect_syntax),
3673: 'left',
3674: cattributes=>'headers="t_connect_syntax"');
3675: htp.tableData(wf_core.substitutespecialchars(nodes.product_name),
3676: 'left',
3677: cattributes=>'headers="t_product_name"');
3678: htp.tableData(wf_core.substitutespecialchars(nodes.vendor_name),
3679: 'left',

Line 3678: htp.tableData(wf_core.substitutespecialchars(nodes.vendor_name),

3674: cattributes=>'headers="t_connect_syntax"');
3675: htp.tableData(wf_core.substitutespecialchars(nodes.product_name),
3676: 'left',
3677: cattributes=>'headers="t_product_name"');
3678: htp.tableData(wf_core.substitutespecialchars(nodes.vendor_name),
3679: 'left',
3680: cattributes=>'headers="t_vendor_name"');
3681: htp.tableData(wf_core.substitutespecialchars(nodes.version),
3682: 'left',

Line 3681: htp.tableData(wf_core.substitutespecialchars(nodes.version),

3677: cattributes=>'headers="t_product_name"');
3678: htp.tableData(wf_core.substitutespecialchars(nodes.vendor_name),
3679: 'left',
3680: cattributes=>'headers="t_vendor_name"');
3681: htp.tableData(wf_core.substitutespecialchars(nodes.version),
3682: 'left',
3683: cattributes=>'headers="t_version"');
3684: htp.tableData(wf_core.substitutespecialchars(nodes.node_id), 'left',
3685: cattributes=>'headers="t_node_id"');

Line 3684: htp.tableData(wf_core.substitutespecialchars(nodes.node_id), 'left',

3680: cattributes=>'headers="t_vendor_name"');
3681: htp.tableData(wf_core.substitutespecialchars(nodes.version),
3682: 'left',
3683: cattributes=>'headers="t_version"');
3684: htp.tableData(wf_core.substitutespecialchars(nodes.node_id), 'left',
3685: cattributes=>'headers="t_node_id"');
3686:
3687: htp.tableData(htf.anchor2(curl=>wfa_html.base_url||
3688: '/fnd_document_management.dm_nodes_confirm_delete?p_node_id='||

Line 3689: wf_core.substitutespecialchars(nodes.node_id),

3685: cattributes=>'headers="t_node_id"');
3686:
3687: htp.tableData(htf.anchor2(curl=>wfa_html.base_url||
3688: '/fnd_document_management.dm_nodes_confirm_delete?p_node_id='||
3689: wf_core.substitutespecialchars(nodes.node_id),
3690: ctext=>'' || WF_CORE.Translate('DELETE') || ''),
3691: 'center', cattributes=>'valign="MIDDLE" headers="t_delete"');
3692:
3693: end loop;

Line 3690: ctext=>'' || WF_CORE.Translate('DELETE') || ''),

3686:
3687: htp.tableData(htf.anchor2(curl=>wfa_html.base_url||
3688: '/fnd_document_management.dm_nodes_confirm_delete?p_node_id='||
3689: wf_core.substitutespecialchars(nodes.node_id),
3690: ctext=>'' || WF_CORE.Translate('DELETE') || ''),
3691: 'center', cattributes=>'valign="MIDDLE" headers="t_delete"');
3692:
3693: end loop;
3694:

Line 3706: l_text := wf_core.translate ('WFDM_CREATE');

3702: htp.tableRowOpen;
3703:
3704: l_url := wfa_html.base_url||'/fnd_document_management.dm_nodes_edit';
3705: l_icon := 'FNDJLFOK.gif';
3706: l_text := wf_core.translate ('WFDM_CREATE');
3707: l_onmouseover := wf_core.translate ('WFDM_CREATE');
3708:
3709: htp.p('');
3710:

Line 3707: l_onmouseover := wf_core.translate ('WFDM_CREATE');

3703:
3704: l_url := wfa_html.base_url||'/fnd_document_management.dm_nodes_edit';
3705: l_icon := 'FNDJLFOK.gif';
3706: l_text := wf_core.translate ('WFDM_CREATE');
3707: l_onmouseover := wf_core.translate ('WFDM_CREATE');
3708:
3709: htp.p('');
3710:
3711: wf_pref.create_reg_button (l_url, l_onmouseover, l_media, l_icon, l_text);

Line 3724: wf_core.context('FND_DOCUMENT_MANAGEMENT', 'Dm_Nodes_Display');

3720: htp.htmlClose;
3721:
3722: exception
3723: when others then
3724: wf_core.context('FND_DOCUMENT_MANAGEMENT', 'Dm_Nodes_Display');
3725: fnd_document_management.error;
3726: end Dm_Nodes_Display;
3727:
3728:

Line 3737: wf_core.context('FND_DOCUMENT_MANAGEMENT', 'Dm_Nodes_edit');

3733: BEGIN
3734: null;
3735: exception
3736: when others then
3737: wf_core.context('FND_DOCUMENT_MANAGEMENT', 'Dm_Nodes_edit');
3738: fnd_document_management.error;
3739:
3740: END Dm_Nodes_Edit;
3741:

Line 3756: wf_core.context('FND_DOCUMENT_MANAGEMENT', 'Dm_Nodes_update');

3752: BEGIN
3753: null;
3754: exception
3755: when others then
3756: wf_core.context('FND_DOCUMENT_MANAGEMENT', 'Dm_Nodes_update');
3757: fnd_document_management.error;
3758:
3759: END Dm_Nodes_Update;
3760:

Line 3779: l_onmouseover varchar2(240) := wf_core.translate ('WFPREF_LOV');

3775: l_url varchar2(240);
3776: l_media varchar2(240) := wfa_html.image_loc;
3777: l_icon varchar2(30) := 'FNDILOV.gif';
3778: l_text varchar2(240) := '';
3779: l_onmouseover varchar2(240) := wf_core.translate ('WFPREF_LOV');
3780: l_error_msg varchar2(2000) := null;
3781: l_dummy boolean; -- Bug5161758 HTML injection
3782: l_callback varchar2(2000); -- Bug5161758 XSS
3783:

Line 3801: l_dummy := wf_core.CheckIllegalChars(username,true);

3797:
3798: -- Check session and current user
3799: -- Bug5161758 HTML injection / XSS
3800: begin
3801: l_dummy := wf_core.CheckIllegalChars(username,true);
3802: exception
3803: when OTHERS then
3804: fnd_document_management.error;
3805: return;

Line 3808: l_callback := wf_core.substitutespecialchars(

3804: fnd_document_management.error;
3805: return;
3806: end;
3807: l_username := upper(username);
3808: l_callback := wf_core.substitutespecialchars(
3809: wfa_html.conv_special_url_chars(callback));
3810:
3811: wf_directory.GetRoleInfo(l_username, realname, s0, s0, s0, s0);
3812:

Line 3819: htp.title(wf_core.translate('WFDM_HOME'));

3815:
3816: -- Set page title
3817: htp.htmlOpen;
3818: htp.headOpen;
3819: htp.title(wf_core.translate('WFDM_HOME'));
3820: htp.headClose;
3821:
3822: -- Page header
3823: htp.center(htf.bold(wf_core.translate('WFDM_HOME')));

Line 3823: htp.center(htf.bold(wf_core.translate('WFDM_HOME')));

3819: htp.title(wf_core.translate('WFDM_HOME'));
3820: htp.headClose;
3821:
3822: -- Page header
3823: htp.center(htf.bold(wf_core.translate('WFDM_HOME')));
3824: htp.p('
');
3825:
3826: -- Column headers
3827: htp.tableOpen('border=1 cellpadding=3 bgcolor=white width="100%"');

Line 3831: wf_core.translate('NAME')||'',

3827: htp.tableOpen('border=1 cellpadding=3 bgcolor=white width="100%"');
3828: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
3829:
3830: htp.tableHeader(cvalue=>''||
3831: wf_core.translate('NAME')||'
',
3832: calign=>'Center',
3833: cattributes=>'id="t_name"');
3834: htp.tableHeader(cvalue=>''||
3835: wf_core.translate('DESCRIPTION')||'
',

Line 3835: wf_core.translate('DESCRIPTION')||'',

3831: wf_core.translate('NAME')||'',
3832: calign=>'Center',
3833: cattributes=>'id="t_name"');
3834: htp.tableHeader(cvalue=>''||
3835: wf_core.translate('DESCRIPTION')||'
',
3836: calign=>'Center', cattributes=>'id="t_node_description"');
3837: htp.tableHeader(cvalue=>''||
3838: wf_core.translate('PRODUCT')||'
',
3839: calign=>'Center', cattributes=>'id="t_product"');

Line 3838: wf_core.translate('PRODUCT')||'',

3834: htp.tableHeader(cvalue=>''||
3835: wf_core.translate('DESCRIPTION')||'
',
3836: calign=>'Center', cattributes=>'id="t_node_description"');
3837: htp.tableHeader(cvalue=>''||
3838: wf_core.translate('PRODUCT')||'
',
3839: calign=>'Center', cattributes=>'id="t_product"');
3840:
3841: htp.tableRowClose;
3842: htp.tableRowOpen;

Line 3862: wf_core.substitutespecialchars(nodes.node_name)||

3858: 'dm_node_id='||to_char(nodes.node_id)||
3859: '&username='||l_username||
3860: '&callback='|| l_callback,
3861: ctext=>''||
3862: wf_core.substitutespecialchars(nodes.node_name)||
3863: '
', ctarget=>'_top'),
3864: 'Left', cattributes=>'headers="t_name"');
3865:
3866: ELSE

Line 3874: ctext=>wf_core.substitutespecialchars(nodes.node_name),

3870: '/fnd_document_management.set_dm_home_html?'||
3871: 'dm_node_id='||to_char(nodes.node_id)||
3872: '&username='||l_username||
3873: '&callback='|| l_callback,
3874: ctext=>wf_core.substitutespecialchars(nodes.node_name),
3875: ctarget=>'_top'),
3876: 'Left', cattributes=>'headers="t_name"');
3877:
3878: END IF;

Line 3882: htp.tableData(htf.bold(wf_core.substitutespecialchars(nodes.node_description)), 'left',

3878: END IF;
3879:
3880: -- Bug5161758 - XSS
3881: IF (dm_node_id = nodes.node_id) THEN
3882: htp.tableData(htf.bold(wf_core.substitutespecialchars(nodes.node_description)), 'left',
3883: cattributes=>'headers="t_node_description"');
3884: htp.tableData(htf.bold(wf_core.substitutespecialchars(nodes.product_name)), 'left',
3885: cattributes=>'headers="t_product"');
3886: ELSE

Line 3884: htp.tableData(htf.bold(wf_core.substitutespecialchars(nodes.product_name)), 'left',

3880: -- Bug5161758 - XSS
3881: IF (dm_node_id = nodes.node_id) THEN
3882: htp.tableData(htf.bold(wf_core.substitutespecialchars(nodes.node_description)), 'left',
3883: cattributes=>'headers="t_node_description"');
3884: htp.tableData(htf.bold(wf_core.substitutespecialchars(nodes.product_name)), 'left',
3885: cattributes=>'headers="t_product"');
3886: ELSE
3887: htp.tableData(wf_core.substitutespecialchars(nodes.node_description), 'left',
3888: cattributes=>'headers="t_node_description"');

Line 3887: htp.tableData(wf_core.substitutespecialchars(nodes.node_description), 'left',

3883: cattributes=>'headers="t_node_description"');
3884: htp.tableData(htf.bold(wf_core.substitutespecialchars(nodes.product_name)), 'left',
3885: cattributes=>'headers="t_product"');
3886: ELSE
3887: htp.tableData(wf_core.substitutespecialchars(nodes.node_description), 'left',
3888: cattributes=>'headers="t_node_description"');
3889: htp.tableData(wf_core.substitutespecialchars(nodes.product_name), 'left', 'left',
3890: cattributes=>'headers="t_product"');
3891: END IF;

Line 3889: htp.tableData(wf_core.substitutespecialchars(nodes.product_name), 'left', 'left',

3885: cattributes=>'headers="t_product"');
3886: ELSE
3887: htp.tableData(wf_core.substitutespecialchars(nodes.node_description), 'left',
3888: cattributes=>'headers="t_node_description"');
3889: htp.tableData(wf_core.substitutespecialchars(nodes.product_name), 'left', 'left',
3890: cattributes=>'headers="t_product"');
3891: END IF;
3892:
3893: end loop;

Line 3905: wf_core.context('fnd_document_management', 'choose_home');

3901:
3902: exception
3903: when others then
3904: rollback;
3905: wf_core.context('fnd_document_management', 'choose_home');
3906: fnd_document_management.Error;
3907: end choose_home;
3908:
3909:

Line 3950: htp.p(wf_core.translate('PRODUCT'));

3946: WHERE product_name like p_find_criteria||'%';
3947:
3948: END IF;
3949:
3950: htp.p(wf_core.translate('PRODUCT'));
3951: htp.p('4');
3952: htp.p(TO_CHAR(l_row_count));
3953: htp.p(wf_core.translate('PRODUCT'));
3954: htp.p('50');

Line 3953: htp.p(wf_core.translate('PRODUCT'));

3949:
3950: htp.p(wf_core.translate('PRODUCT'));
3951: htp.p('4');
3952: htp.p(TO_CHAR(l_row_count));
3953: htp.p(wf_core.translate('PRODUCT'));
3954: htp.p('50');
3955: htp.p(wf_core.translate('VENDOR'));
3956: htp.p('35');
3957: htp.p(wf_core.translate('VERSION'));

Line 3955: htp.p(wf_core.translate('VENDOR'));

3951: htp.p('4');
3952: htp.p(TO_CHAR(l_row_count));
3953: htp.p(wf_core.translate('PRODUCT'));
3954: htp.p('50');
3955: htp.p(wf_core.translate('VENDOR'));
3956: htp.p('35');
3957: htp.p(wf_core.translate('VERSION'));
3958: htp.p('15');
3959: htp.p('PRODUCT_ID');

Line 3957: htp.p(wf_core.translate('VERSION'));

3953: htp.p(wf_core.translate('PRODUCT'));
3954: htp.p('50');
3955: htp.p(wf_core.translate('VENDOR'));
3956: htp.p('35');
3957: htp.p(wf_core.translate('VERSION'));
3958: htp.p('15');
3959: htp.p('PRODUCT_ID');
3960: htp.p('0');
3961:

Line 3989: wf_core.context('Fnd_Document_Management', 'product_lov',p_titles_only, p_find_criteria);

3985:
3986: exception
3987: when others then
3988: rollback;
3989: wf_core.context('Fnd_Document_Management', 'product_lov',p_titles_only, p_find_criteria);
3990: fnd_document_management.Error;
3991: END;
3992:
3993:

Line 4072: l_dummy := wf_core.CheckIllegalChars(username,true);

4068:
4069: BEGIN
4070: -- Bug5161758 HTML injection
4071: begin
4072: l_dummy := wf_core.CheckIllegalChars(username,true);
4073: exception
4074: when OTHERS then
4075: fnd_document_management.error;
4076: return;

Line 4245: document_attributes.document_name := wf_core.translate('WFDM_NODE_DOWN');

4241: htp.p('latest_version ='||document_attributes.latest_version );
4242: */
4243: exception
4244: when others then
4245: document_attributes.document_name := wf_core.translate('WFDM_NODE_DOWN');
4246: document_attributes.document_type := null;
4247: return;
4248: END get_document_attributes;
4249:

Line 4271: htp.title(wf_core.translate('WFDM_TRANSPORT_WINDOW'));

4267: document_name_field VARCHAR2(1000);
4268:
4269: BEGIN
4270: htp.headOpen;
4271: htp.title(wf_core.translate('WFDM_TRANSPORT_WINDOW'));
4272: htp.headClose;
4273:
4274: htp.htmlopen;
4275:

Line 4309: wf_core.substitutespecialchars(document_id_field)||'='||''''||

4305: LENGTH('^document_id_field='));
4306:
4307: -- Bug5161758 - XSS
4308: htp.p('');
4338:
4339: htp.p ('
document_identifier='||wf_core.substitutespecialchars(document_identifier));
4340: htp.p ('
document_id='||wf_core.substitutespecialchars(document_id));
4341: htp.p ('
document_name='||wf_core.substitutespecialchars(document_name));
4342: htp.p ('
document_id_field='||wf_core.substitutespecialchars(document_id_field));
4343: htp.p ('
document_name_field='||wf_core.substitutespecialchars(document_name_field));

Line 4340: htp.p ('
document_id='||wf_core.substitutespecialchars(document_id));

4336:
4337: return true;">');
4338:
4339: htp.p ('
document_identifier='||wf_core.substitutespecialchars(document_identifier));
4340: htp.p ('
document_id='||wf_core.substitutespecialchars(document_id));
4341: htp.p ('
document_name='||wf_core.substitutespecialchars(document_name));
4342: htp.p ('
document_id_field='||wf_core.substitutespecialchars(document_id_field));
4343: htp.p ('
document_name_field='||wf_core.substitutespecialchars(document_name_field));
4344:

Line 4341: htp.p ('
document_name='||wf_core.substitutespecialchars(document_name));

4337: return true;">');
4338:
4339: htp.p ('
document_identifier='||wf_core.substitutespecialchars(document_identifier));
4340: htp.p ('
document_id='||wf_core.substitutespecialchars(document_id));
4341: htp.p ('
document_name='||wf_core.substitutespecialchars(document_name));
4342: htp.p ('
document_id_field='||wf_core.substitutespecialchars(document_id_field));
4343: htp.p ('
document_name_field='||wf_core.substitutespecialchars(document_name_field));
4344:
4345: htp.bold('

'||wf_core.translate('WFDM_TRANSPORT_COMPLETED'));

Line 4342: htp.p ('
document_id_field='||wf_core.substitutespecialchars(document_id_field));

4338:
4339: htp.p ('
document_identifier='||wf_core.substitutespecialchars(document_identifier));
4340: htp.p ('
document_id='||wf_core.substitutespecialchars(document_id));
4341: htp.p ('
document_name='||wf_core.substitutespecialchars(document_name));
4342: htp.p ('
document_id_field='||wf_core.substitutespecialchars(document_id_field));
4343: htp.p ('
document_name_field='||wf_core.substitutespecialchars(document_name_field));
4344:
4345: htp.bold('

'||wf_core.translate('WFDM_TRANSPORT_COMPLETED'));
4346:

Line 4343: htp.p ('
document_name_field='||wf_core.substitutespecialchars(document_name_field));

4339: htp.p ('
document_identifier='||wf_core.substitutespecialchars(document_identifier));
4340: htp.p ('
document_id='||wf_core.substitutespecialchars(document_id));
4341: htp.p ('
document_name='||wf_core.substitutespecialchars(document_name));
4342: htp.p ('
document_id_field='||wf_core.substitutespecialchars(document_id_field));
4343: htp.p ('
document_name_field='||wf_core.substitutespecialchars(document_name_field));
4344:
4345: htp.bold('

'||wf_core.translate('WFDM_TRANSPORT_COMPLETED'));
4346:
4347: htp.bodyClose;

Line 4345: htp.bold('

'||wf_core.translate('WFDM_TRANSPORT_COMPLETED'));

4341: htp.p ('
document_name='||wf_core.substitutespecialchars(document_name));
4342: htp.p ('
document_id_field='||wf_core.substitutespecialchars(document_id_field));
4343: htp.p ('
document_name_field='||wf_core.substitutespecialchars(document_name_field));
4344:
4345: htp.bold('

'||wf_core.translate('WFDM_TRANSPORT_COMPLETED'));
4346:
4347: htp.bodyClose;
4348:
4349: htp.htmlClose;

Line 4354: wf_core.context('Fnd_Document_Management', 'set_document_form_fields');

4350:
4351: exception
4352: when others then
4353: rollback;
4354: wf_core.context('Fnd_Document_Management', 'set_document_form_fields');
4355: fnd_document_management.Error;
4356:
4357: END set_document_form_fields;
4358:

Line 4371: htp.title(wf_core.translate('WFDM_TRANSPORT_WINDOW'));

4367: PROCEDURE show_transport_message IS
4368: BEGIN
4369:
4370: htp.headOpen;
4371: htp.title(wf_core.translate('WFDM_TRANSPORT_WINDOW'));
4372: htp.headClose;
4373: htp.bodyOpen(cattributes=>'bgcolor="#CCCCCC"');
4374:
4375: htp.tableOpen(cattributes=>'summary=""');

Line 4379: WF_CORE.Translate('WFDM_TRANSPORT_MESSAGE') || '">',

4375: htp.tableOpen(cattributes=>'summary=""');
4376: htp.tableRowOpen;
4377:
4378: htp.tabledata('' ||<br>
<b>4379:                  WF_CORE.Translate('WFDM_TRANSPORT_MESSAGE') || '',
4380: cattributes=>'id=""');
4381: htp.tabledata(wf_core.translate('WFDM_TRANSPORT_MESSAGE'),
4382: cattributes=>'id=""');
4383:

Line 4381: htp.tabledata(wf_core.translate('WFDM_TRANSPORT_MESSAGE'),

4377:
4378: htp.tabledata('' ||<br>
4379:                  WF_CORE.Translate('WFDM_TRANSPORT_MESSAGE') || '',
4380: cattributes=>'id=""');
4381: htp.tabledata(wf_core.translate('WFDM_TRANSPORT_MESSAGE'),
4382: cattributes=>'id=""');
4383:
4384: htp.tableRowClose;
4385: htp.tableClose;

Line 4393: wf_core.context('Fnd_Document_Management', 'show_transport_message');

4389:
4390: exception
4391: when others then
4392: rollback;
4393: wf_core.context('Fnd_Document_Management', 'show_transport_message');
4394: fnd_document_management.Error;
4395:
4396: END show_transport_message;
4397:

Line 4418: wf_core.context('Fnd_Document_Management', 'Dm_Nodes_Confirm_Delete', p_node_id);

4414: null;
4415: exception
4416: when others then
4417: rollback;
4418: wf_core.context('Fnd_Document_Management', 'Dm_Nodes_Confirm_Delete', p_node_id);
4419: fnd_document_management.Error;
4420:
4421: END Dm_Nodes_Confirm_Delete;
4422:

Line 4439: wf_core.context('Fnd_Document_Management', 'Dm_Nodes_Delete', p_node_id);

4435: null;
4436: exception
4437: when others then
4438: rollback;
4439: wf_core.context('Fnd_Document_Management', 'Dm_Nodes_Delete', p_node_id);
4440: fnd_document_management.Error;
4441:
4442: END Dm_Nodes_Delete;
4443:

Line 4477: l_ticket := Wf_Core.Random;

4473: ** the pref table
4474: */
4475: if (NVL(l_ticket, '-1') = '-1') then
4476:
4477: l_ticket := Wf_Core.Random;
4478:
4479: fnd_preference.put (username, 'WF', 'TICKET', l_ticket);
4480:
4481: end if;

Line 4487: wf_core.context('fnd_document_management',

4483: return (l_ticket);
4484:
4485: exception
4486: when others then
4487: wf_core.context('fnd_document_management',
4488: 'get_ticket',
4489: username);
4490: raise;
4491:

Line 4536: wf_core.context('fnd_document_management',

4532: valid_ticket := l_valid_ticket;
4533:
4534: exception
4535: when others then
4536: wf_core.context('fnd_document_management',
4537: 'validate_ticket',
4538: username,
4539: ticket);
4540: raise;

Line 4581: wf_core.context('fnd_document_management',

4577: end if;
4578:
4579: exception
4580: when others then
4581: wf_core.context('fnd_document_management',
4582: 'validate_ticket_http',
4583: username,
4584: ticket);
4585: raise;

Line 4617: wf_core.context('fnd_document_management',

4613: fnd_preference.put (username, 'WF', 'TICKET', ticket);
4614:
4615: exception
4616: when others then
4617: wf_core.context('fnd_document_management',
4618: 'modulate_ticket',
4619: username,
4620: ticket);
4621: raise;

Line 4628: htp.p (wf_core.substitutespecialchars(stringy));

4624:
4625: PROCEDURE test (stringy IN VARCHAR2) IS
4626: BEGIN
4627: -- Bug5161758 - XSS
4628: htp.p (wf_core.substitutespecialchars(stringy));
4629: end;
4630:
4631:
4632: PROCEDURE show_test_message (