DBA Data[Home] [Help]

APPS.FND_GFM dependencies on HTP

Line 503: htp.htmlOpen;

499: if (fnd_web_config.check_enabled(proc) = 'Y') then
500: cmd := 'begin '||proc||'(:1); end;';
501: execute immediate cmd using in arg;
502: else
503: htp.htmlOpen;
504: htp.headOpen;
505: htp.title('Access Denied');
506: htp.headClose;
507: htp.bodyOpen;

Line 504: htp.headOpen;

500: cmd := 'begin '||proc||'(:1); end;';
501: execute immediate cmd using in arg;
502: else
503: htp.htmlOpen;
504: htp.headOpen;
505: htp.title('Access Denied');
506: htp.headClose;
507: htp.bodyOpen;
508: htp.p('Access Denied');

Line 505: htp.title('Access Denied');

501: execute immediate cmd using in arg;
502: else
503: htp.htmlOpen;
504: htp.headOpen;
505: htp.title('Access Denied');
506: htp.headClose;
507: htp.bodyOpen;
508: htp.p('Access Denied');
509: htp.hr;

Line 506: htp.headClose;

502: else
503: htp.htmlOpen;
504: htp.headOpen;
505: htp.title('Access Denied');
506: htp.headClose;
507: htp.bodyOpen;
508: htp.p('Access Denied');
509: htp.hr;
510:

Line 507: htp.bodyOpen;

503: htp.htmlOpen;
504: htp.headOpen;
505: htp.title('Access Denied');
506: htp.headClose;
507: htp.bodyOpen;
508: htp.p('Access Denied');
509: htp.hr;
510:
511: -- If the procedure contains an HTML tag, don't display it.

Line 508: htp.p('Access Denied');

504: htp.headOpen;
505: htp.title('Access Denied');
506: htp.headClose;
507: htp.bodyOpen;
508: htp.p('Access Denied');
509: htp.hr;
510:
511: -- If the procedure contains an HTML tag, don't display it.
512: --

Line 509: htp.hr;

505: htp.title('Access Denied');
506: htp.headClose;
507: htp.bodyOpen;
508: htp.p('Access Denied');
509: htp.hr;
510:
511: -- If the procedure contains an HTML tag, don't display it.
512: --
513: if (instr(proc,'<') > 0) then

Line 514: htp.p('Not authorized to access procedure.');

510:
511: -- If the procedure contains an HTML tag, don't display it.
512: --
513: if (instr(proc,'<') > 0) then
514: htp.p('Not authorized to access procedure.');
515: else
516: htp.p('Not authorized to access '||proc||'.');
517: end if;
518:

Line 516: htp.p('Not authorized to access '||proc||'.');

512: --
513: if (instr(proc,'<') > 0) then
514: htp.p('Not authorized to access procedure.');
515: else
516: htp.p('Not authorized to access '||proc||'.');
517: end if;
518:
519: htp.bodyClose;
520: htp.htmlClose;

Line 519: htp.bodyClose;

515: else
516: htp.p('Not authorized to access '||proc||'.');
517: end if;
518:
519: htp.bodyClose;
520: htp.htmlClose;
521: end if;
522:
523: exception

Line 520: htp.htmlClose;

516: htp.p('Not authorized to access '||proc||'.');
517: end if;
518:
519: htp.bodyClose;
520: htp.htmlClose;
521: end if;
522:
523: exception
524: when others then

Line 778: htp.print('Success');

774: * in the database.
775: */
776: PROCEDURE test is
777: begin
778: htp.print('Success');
779: end;
780: /*--------------------------------------------------------------------------*/
781: /*
782: * get_iso_charset

Line 864: htp.p(Fnd_Message.Get_String('PAY','HR_51401_WEB_NOT_AUTHORIZED'));

860: doc blob;
861: ct varchar2(100);
862: begin
863: if (fnd_gfm.authenticate(access, file_id) = FALSE) then
864: htp.p(Fnd_Message.Get_String('PAY','HR_51401_WEB_NOT_AUTHORIZED'));
865: else
866: fnd_gfm.download_blob(file_id);
867:
868: if (purge = 'yes') then

Line 976: htp.p( 'Content-length: ' || dbms_lob.getlength(lob_loc));

972: end if;
973:
974: owa_util.mime_header(ctype, FALSE, cs);
975: if (pn = 'export' and nce is not null) then
976: htp.p( 'Content-length: ' || dbms_lob.getlength(lob_loc));
977: else
978: htp.p( 'Content-length: ' || dbms_lob.getlength(doc));
979: end if;
980: /* Commenting out the following do resolve the issue with Export

Line 978: htp.p( 'Content-length: ' || dbms_lob.getlength(doc));

974: owa_util.mime_header(ctype, FALSE, cs);
975: if (pn = 'export' and nce is not null) then
976: htp.p( 'Content-length: ' || dbms_lob.getlength(lob_loc));
977: else
978: htp.p( 'Content-length: ' || dbms_lob.getlength(doc));
979: end if;
980: /* Commenting out the following do resolve the issue with Export
981: failing on Internet Explorer.
982: htp.p( 'Cache-Control: no-cache' ); */

Line 982: htp.p( 'Cache-Control: no-cache' ); */

978: htp.p( 'Content-length: ' || dbms_lob.getlength(doc));
979: end if;
980: /* Commenting out the following do resolve the issue with Export
981: failing on Internet Explorer.
982: htp.p( 'Cache-Control: no-cache' ); */
983: owa_util.http_header_close;
984: if (pn = 'export' and nce is not null) then
985: wpg_docload.download_file(lob_loc);
986: dbms_lob.freetemporary(lob_loc);

Line 994: htp.htmlOpen;

990: end if;
991:
992: exception
993: when no_data_found then
994: htp.htmlOpen;
995: htp.headOpen; htp.title('404 Not Found'); htp.headClose;
996: htp.bodyOpen; htp.hr; htp.header(nsize=>1, cheader=>'HTTP Error 404');
997: htp.hr;
998: htp.p(Fnd_Message.Get_String('GMD','LM_BAD_FILENAME'));

Line 995: htp.headOpen; htp.title('404 Not Found'); htp.headClose;

991:
992: exception
993: when no_data_found then
994: htp.htmlOpen;
995: htp.headOpen; htp.title('404 Not Found'); htp.headClose;
996: htp.bodyOpen; htp.hr; htp.header(nsize=>1, cheader=>'HTTP Error 404');
997: htp.hr;
998: htp.p(Fnd_Message.Get_String('GMD','LM_BAD_FILENAME'));
999: htp.bodyClose; htp.htmlClose;

Line 996: htp.bodyOpen; htp.hr; htp.header(nsize=>1, cheader=>'HTTP Error 404');

992: exception
993: when no_data_found then
994: htp.htmlOpen;
995: htp.headOpen; htp.title('404 Not Found'); htp.headClose;
996: htp.bodyOpen; htp.hr; htp.header(nsize=>1, cheader=>'HTTP Error 404');
997: htp.hr;
998: htp.p(Fnd_Message.Get_String('GMD','LM_BAD_FILENAME'));
999: htp.bodyClose; htp.htmlClose;
1000: when others then

Line 997: htp.hr;

993: when no_data_found then
994: htp.htmlOpen;
995: htp.headOpen; htp.title('404 Not Found'); htp.headClose;
996: htp.bodyOpen; htp.hr; htp.header(nsize=>1, cheader=>'HTTP Error 404');
997: htp.hr;
998: htp.p(Fnd_Message.Get_String('GMD','LM_BAD_FILENAME'));
999: htp.bodyClose; htp.htmlClose;
1000: when others then
1001: fnd_gfm.err_msg('download_blob');

Line 998: htp.p(Fnd_Message.Get_String('GMD','LM_BAD_FILENAME'));

994: htp.htmlOpen;
995: htp.headOpen; htp.title('404 Not Found'); htp.headClose;
996: htp.bodyOpen; htp.hr; htp.header(nsize=>1, cheader=>'HTTP Error 404');
997: htp.hr;
998: htp.p(Fnd_Message.Get_String('GMD','LM_BAD_FILENAME'));
999: htp.bodyClose; htp.htmlClose;
1000: when others then
1001: fnd_gfm.err_msg('download_blob');
1002: raise;

Line 999: htp.bodyClose; htp.htmlClose;

995: htp.headOpen; htp.title('404 Not Found'); htp.headClose;
996: htp.bodyOpen; htp.hr; htp.header(nsize=>1, cheader=>'HTTP Error 404');
997: htp.hr;
998: htp.p(Fnd_Message.Get_String('GMD','LM_BAD_FILENAME'));
999: htp.bodyClose; htp.htmlClose;
1000: when others then
1001: fnd_gfm.err_msg('download_blob');
1002: raise;
1003: end download_blob;

Line 1125: htp.p(Fnd_Message.Get_String('PAY','HR_51401_WEB_NOT_AUTHORIZED'));

1121: access := substr(p_path,instr(p_path,'/',1)+1,instr(p_path,'/',2)-2);
1122: file_id := substr(p_path,instr(p_path,'/',2)+1,(instr(p_path,'/',-1)-instr(p_path,'/',2)-1));
1123:
1124: if (fnd_gfm.authenticate(access, file_id) = FALSE) then
1125: htp.p(Fnd_Message.Get_String('PAY','HR_51401_WEB_NOT_AUTHORIZED'));
1126: else
1127: fnd_gfm.download_blob(file_id);
1128:
1129: end if;