DBA Data[Home] [Help]

APPS.WF_ROUTE dependencies on HTP

Line 273: htp.formHidden('h_fnames', name||'#ROLE#');

269: --
270: begin
271:
272: -- Draw field
273: htp.formHidden('h_fnames', name||'#ROLE#');
274: -- always print the display field as null
275: htp.formHidden('h_fvalues', dvalue);
276:
277: -- get the display name

Line 275: htp.formHidden('h_fvalues', dvalue);

271:
272: -- Draw field
273: htp.formHidden('h_fnames', name||'#ROLE#');
274: -- always print the display field as null
275: htp.formHidden('h_fvalues', dvalue);
276:
277: -- get the display name
278: wf_directory.GetRoleInfo(dvalue, realname, s0, s0, s0, s0);
279:

Line 294: htp.tabledata(htf.formText(cname=>'h_fdocnames',

290: '&p_dest_display_field=top.opener.parent.document.CREATE_RULE.h_fdocnames['||seq||'].value',
291: ' ', '%20')||''''||',500,500)';
292:
293: -- print everything together so ther is no gap.
294: htp.tabledata(htf.formText(cname=>'h_fdocnames',
295: csize=>30,
296: cmaxlength=>240,
297: cvalue=>realname,
298: cattributes=>'id="i_attr'||seq||'"')||

Line 341: htp.formHidden('h_fdocnames', '');

337: template varchar2(4000);
338:
339: begin
340: -- always print the display field as null
341: htp.formHidden('h_fdocnames', '');
342:
343: -- Create hidden field and select list
344: template := htf.formHidden('h_fnames', name||'#LOOKUP#'||format)||
345: wf_core.newline||

Line 364: htp.tableData(template, 'left',cattributes=>'id=""');

360: template := template||wf_core.newline||htf.formSelectClose;
361:
362: if (not submit) then
363: -- Draw a normal field
364: htp.tableData(template, 'left',cattributes=>'id=""');
365: else
366: -- Draw a submit-style field for the result.
367: -- Leave TableData open so reassign button can be added to same cell.
368: htp.p(''

Line 368: htp.p(''

364: htp.tableData(template, 'left',cattributes=>'id=""');
365: else
366: -- Draw a submit-style field for the result.
367: -- Leave TableData open so reassign button can be added to same cell.
368: htp.p(''
369: ||wf_core.newline||template);
370: htp.formSubmit('Submit', wf_core.translate('SUBMIT'), 'NOBORDER');
371: end if;
372:

Line 370: htp.formSubmit('Submit', wf_core.translate('SUBMIT'), 'NOBORDER');

366: -- Draw a submit-style field for the result.
367: -- Leave TableData open so reassign button can be added to same cell.
368: htp.p(''
369: ||wf_core.newline||template);
370: htp.formSubmit('Submit', wf_core.translate('SUBMIT'), 'NOBORDER');
371: end if;
372:
373: exception
374: when others then

Line 391: htp.formHidden('h_fnames', name||'#DOCUMENT#'||format);

387: l_callback_URL varchar2(4000);
388: l_attach_URL varchar2(4000);
389: begin
390:
391: htp.formHidden('h_fnames', name||'#DOCUMENT#'||format);
392: htp.formHidden('h_fvalues', null);
393:
394: -- Set the destination field name for the document id
395: fnd_document_management.set_document_id_html (

Line 392: htp.formHidden('h_fvalues', null);

388: l_attach_URL varchar2(4000);
389: begin
390:
391: htp.formHidden('h_fnames', name||'#DOCUMENT#'||format);
392: htp.formHidden('h_fvalues', null);
393:
394: -- Set the destination field name for the document id
395: fnd_document_management.set_document_id_html (
396: null,

Line 413: htp.tableData(cvalue=>htf.formText(cname=>'h_fdocnames', csize=>32,

409: TRUE,
410: l_attach_url);
411:
412: -- document field
413: htp.tableData(cvalue=>htf.formText(cname=>'h_fdocnames', csize=>32,
414: cmaxlength=>60,
415: cvalue=>dvalue,
416: cattributes=>'id="i_attr'||index_num||'"')
417: ||'   '||l_attach_URL,

Line 454: htp.formHidden('h_fnames', name||'#'||type||'#'||format);

450: len := 62;
451: end if;
452:
453: -- Draw field
454: htp.formHidden('h_fnames', name||'#'||type||'#'||format);
455:
456: -- always print the display field as null
457: htp.formHidden('h_fdocnames', '');
458:

Line 457: htp.formHidden('h_fdocnames', '');

453: -- Draw field
454: htp.formHidden('h_fnames', name||'#'||type||'#'||format);
455:
456: -- always print the display field as null
457: htp.formHidden('h_fdocnames', '');
458:
459: if (len <= 80) then
460: -- single line field
461: htp.tableData(

Line 461: htp.tableData(

457: htp.formHidden('h_fdocnames', '');
458:
459: if (len <= 80) then
460: -- single line field
461: htp.tableData(
462: cvalue=>htf.formText(cname=>'h_fvalues',
463: csize=>len,
464: cmaxlength=>len,
465: cvalue=>dvalue,

Line 471: htp.tableData(

467: calign=>'Left',
468: cattributes=>'id=""');
469: else
470: -- multi line field
471: htp.tableData(
472: cvalue=>htf.formTextareaOpen2(
473: cname=>'h_fvalues',
474: nrows=>2,
475: ncolumns=>65,

Line 971: htp.htmlOpen;

967: end if;
968: close rulecurs;
969:
970: -- Set page title
971: htp.htmlOpen;
972: htp.headOpen;
973: htp.title(wf_core.translate('WFRTG_UPDATE_TITLE')||' '||realname);
974: wfa_html.create_help_function('wf/links/upr.htm?UPRULE');
975: fnd_document_management.get_open_dm_display_window;

Line 972: htp.headOpen;

968: close rulecurs;
969:
970: -- Set page title
971: htp.htmlOpen;
972: htp.headOpen;
973: htp.title(wf_core.translate('WFRTG_UPDATE_TITLE')||' '||realname);
974: wfa_html.create_help_function('wf/links/upr.htm?UPRULE');
975: fnd_document_management.get_open_dm_display_window;
976:

Line 973: htp.title(wf_core.translate('WFRTG_UPDATE_TITLE')||' '||realname);

969:
970: -- Set page title
971: htp.htmlOpen;
972: htp.headOpen;
973: htp.title(wf_core.translate('WFRTG_UPDATE_TITLE')||' '||realname);
974: wfa_html.create_help_function('wf/links/upr.htm?UPRULE');
975: fnd_document_management.get_open_dm_display_window;
976:
977: -- Add the java script to the header to open the dm window for

Line 981: htp.headClose;

977: -- Add the java script to the header to open the dm window for
978: -- any DM function that and any standard LOV
979: fnd_document_management.get_open_dm_attach_window;
980:
981: htp.headClose;
982: wfa_sec.Header(FALSE,'',wf_core.translate('WFRTG_UPDATE_TITLE'), TRUE);
983:
984: -- Open form
985: -- Add dummy fields to start both array-type input fields.

Line 990: htp.p('
');

986: -- These dummy values are needed so that the array parameters to
987: -- the submit procedure will not be null even if there are no real
988: -- response fields. This would cause a pl/sql error, because array
989: -- parameters can't be defaulted.
990: htp.p('');
991: htp.formHidden('h_fnames', 'Dummy_Name');
992: htp.formHidden('h_fvalues', 'Dummy_Value');
993: htp.formHidden('h_fdocnames', 'Dummy_Document_Value');
994: htp.formHidden('rule_id', ruleid);

Line 991: htp.formHidden('h_fnames', 'Dummy_Name');

987: -- the submit procedure will not be null even if there are no real
988: -- response fields. This would cause a pl/sql error, because array
989: -- parameters can't be defaulted.
990: htp.p('');
991: htp.formHidden('h_fnames', 'Dummy_Name');
992: htp.formHidden('h_fvalues', 'Dummy_Value');
993: htp.formHidden('h_fdocnames', 'Dummy_Document_Value');
994: htp.formHidden('rule_id', ruleid);
995: -- htp.formHidden('action', rulerec.action);

Line 992: htp.formHidden('h_fvalues', 'Dummy_Value');

988: -- response fields. This would cause a pl/sql error, because array
989: -- parameters can't be defaulted.
990: htp.p('');
991: htp.formHidden('h_fnames', 'Dummy_Name');
992: htp.formHidden('h_fvalues', 'Dummy_Value');
993: htp.formHidden('h_fdocnames', 'Dummy_Document_Value');
994: htp.formHidden('rule_id', ruleid);
995: -- htp.formHidden('action', rulerec.action);
996:

Line 993: htp.formHidden('h_fdocnames', 'Dummy_Document_Value');

989: -- parameters can't be defaulted.
990: htp.p('');
991: htp.formHidden('h_fnames', 'Dummy_Name');
992: htp.formHidden('h_fvalues', 'Dummy_Value');
993: htp.formHidden('h_fdocnames', 'Dummy_Document_Value');
994: htp.formHidden('rule_id', ruleid);
995: -- htp.formHidden('action', rulerec.action);
996:
997: htp.tableOpen(cattributes=>'width=100% summary=""');

Line 994: htp.formHidden('rule_id', ruleid);

990: htp.p('');
991: htp.formHidden('h_fnames', 'Dummy_Name');
992: htp.formHidden('h_fvalues', 'Dummy_Value');
993: htp.formHidden('h_fdocnames', 'Dummy_Document_Value');
994: htp.formHidden('rule_id', ruleid);
995: -- htp.formHidden('action', rulerec.action);
996:
997: htp.tableOpen(cattributes=>'width=100% summary=""');
998:

Line 995: -- htp.formHidden('action', rulerec.action);

991: htp.formHidden('h_fnames', 'Dummy_Name');
992: htp.formHidden('h_fvalues', 'Dummy_Value');
993: htp.formHidden('h_fdocnames', 'Dummy_Document_Value');
994: htp.formHidden('rule_id', ruleid);
995: -- htp.formHidden('action', rulerec.action);
996:
997: htp.tableOpen(cattributes=>'width=100% summary=""');
998:
999: --

Line 997: htp.tableOpen(cattributes=>'width=100% summary=""');

993: htp.formHidden('h_fdocnames', 'Dummy_Document_Value');
994: htp.formHidden('rule_id', ruleid);
995: -- htp.formHidden('action', rulerec.action);
996:
997: htp.tableOpen(cattributes=>'width=100% summary=""');
998:
999: --
1000: -- Rules main table section
1001: --

Line 1004: htp.tableRowOpen;

1000: -- Rules main table section
1001: --
1002:
1003: -- Message Type/Name
1004: htp.tableRowOpen;
1005: htp.tableData(cvalue=>wf_core.translate('MESSAGE_TYPE'),
1006: calign=>'right',
1007: cattributes=>'id=""');
1008: htp.tableHeader(cvalue=>nvl(rulerec.type_display,

Line 1005: htp.tableData(cvalue=>wf_core.translate('MESSAGE_TYPE'),

1001: --
1002:
1003: -- Message Type/Name
1004: htp.tableRowOpen;
1005: htp.tableData(cvalue=>wf_core.translate('MESSAGE_TYPE'),
1006: calign=>'right',
1007: cattributes=>'id=""');
1008: htp.tableHeader(cvalue=>nvl(rulerec.type_display,
1009: htf.em(wf_core.translate(''))),

Line 1008: htp.tableHeader(cvalue=>nvl(rulerec.type_display,

1004: htp.tableRowOpen;
1005: htp.tableData(cvalue=>wf_core.translate('MESSAGE_TYPE'),
1006: calign=>'right',
1007: cattributes=>'id=""');
1008: htp.tableHeader(cvalue=>nvl(rulerec.type_display,
1009: htf.em(wf_core.translate(''))),
1010: calign=>'left',
1011: cattributes=>'id=""');
1012: htp.tableRowClose;

Line 1012: htp.tableRowClose;

1008: htp.tableHeader(cvalue=>nvl(rulerec.type_display,
1009: htf.em(wf_core.translate(''))),
1010: calign=>'left',
1011: cattributes=>'id=""');
1012: htp.tableRowClose;
1013: htp.tableRowOpen;
1014: htp.tableData(cvalue=>wf_core.translate('NOTIFICATION'),
1015: calign=>'right',
1016: cattributes=>'id=""');

Line 1013: htp.tableRowOpen;

1009: htf.em(wf_core.translate(''))),
1010: calign=>'left',
1011: cattributes=>'id=""');
1012: htp.tableRowClose;
1013: htp.tableRowOpen;
1014: htp.tableData(cvalue=>wf_core.translate('NOTIFICATION'),
1015: calign=>'right',
1016: cattributes=>'id=""');
1017: IF (rulerec.subject IS NULL) THEN

Line 1014: htp.tableData(cvalue=>wf_core.translate('NOTIFICATION'),

1010: calign=>'left',
1011: cattributes=>'id=""');
1012: htp.tableRowClose;
1013: htp.tableRowOpen;
1014: htp.tableData(cvalue=>wf_core.translate('NOTIFICATION'),
1015: calign=>'right',
1016: cattributes=>'id=""');
1017: IF (rulerec.subject IS NULL) THEN
1018:

Line 1019: htp.tableHeader(cvalue=>htf.em(wf_core.translate('')),

1015: calign=>'right',
1016: cattributes=>'id=""');
1017: IF (rulerec.subject IS NULL) THEN
1018:
1019: htp.tableHeader(cvalue=>htf.em(wf_core.translate('')),
1020: calign=>'left',
1021: cattributes=>'id=""');
1022: ELSE
1023:

Line 1024: htp.tableHeader(cvalue=>wf_notification.GetSubSubjectDisplay(rulerec.message_type,

1020: calign=>'left',
1021: cattributes=>'id=""');
1022: ELSE
1023:
1024: htp.tableHeader(cvalue=>wf_notification.GetSubSubjectDisplay(rulerec.message_type,
1025: rulerec.message_name),
1026: calign=>'left',cattributes=>'id=""');
1027:
1028: END IF;

Line 1030: htp.tableRowClose;

1026: calign=>'left',cattributes=>'id=""');
1027:
1028: END IF;
1029:
1030: htp.tableRowClose;
1031:
1032: -- Active Dates
1033: htp.tableRowOpen;
1034: htp.tableData(cvalue=>'

Line 1033: htp.tableRowOpen;

1029:
1030: htp.tableRowClose;
1031:
1032: -- Active Dates
1033: htp.tableRowOpen;
1034: htp.tableData(cvalue=>'',
1036: calign=>'right',
1037: cattributes=>'id=""');

Line 1034: htp.tableData(cvalue=>'

1030: htp.tableRowClose;
1031:
1032: -- Active Dates
1033: htp.tableRowOpen;
1034: htp.tableData(cvalue=>'1035: wf_core.translate('WFRTG_BEGIN_DATE') || '',
1036: calign=>'right',
1037: cattributes=>'id=""');
1038: htp.tableData(cvalue=>htf.formText(cname=>'begin_date',

Line 1038: htp.tableData(cvalue=>htf.formText(cname=>'begin_date',

1034: htp.tableData(cvalue=>'',
1036: calign=>'right',
1037: cattributes=>'id=""');
1038: htp.tableData(cvalue=>htf.formText(cname=>'begin_date',
1039: csize=>30, cmaxlength=>64,
1040: cvalue=>rulerec.cbegin_date,
1041: cattributes=>'id="i_begin_date"'),
1042: calign=>'left',

Line 1044: htp.tableRowClose;

1040: cvalue=>rulerec.cbegin_date,
1041: cattributes=>'id="i_begin_date"'),
1042: calign=>'left',
1043: cattributes=>'id=""');
1044: htp.tableRowClose;
1045: htp.tableRowOpen;
1046: htp.tableData(cvalue=>'',
1048: calign=>'right',

Line 1045: htp.tableRowOpen;

1041: cattributes=>'id="i_begin_date"'),
1042: calign=>'left',
1043: cattributes=>'id=""');
1044: htp.tableRowClose;
1045: htp.tableRowOpen;
1046: htp.tableData(cvalue=>'',
1048: calign=>'right',
1049: cattributes=>'id=""');

Line 1046: htp.tableData(cvalue=>'

1042: calign=>'left',
1043: cattributes=>'id=""');
1044: htp.tableRowClose;
1045: htp.tableRowOpen;
1046: htp.tableData(cvalue=>'1047: wf_core.translate('WFRTG_END_DATE') || '',
1048: calign=>'right',
1049: cattributes=>'id=""');
1050: htp.tableData(cvalue=>htf.formText(cname=>'end_date',

Line 1050: htp.tableData(cvalue=>htf.formText(cname=>'end_date',

1046: htp.tableData(cvalue=>'',
1048: calign=>'right',
1049: cattributes=>'id=""');
1050: htp.tableData(cvalue=>htf.formText(cname=>'end_date',
1051: csize=>30, cmaxlength=>64,
1052: cvalue=>rulerec.cend_date,
1053: cattributes=>'id="i_end_date"'),
1054: calign=>'left',

Line 1056: htp.tableRowClose;

1052: cvalue=>rulerec.cend_date,
1053: cattributes=>'id="i_end_date"'),
1054: calign=>'left',
1055: cattributes=>'id=""');
1056: htp.tableRowClose;
1057:
1058: htp.tableRowOpen;
1059: htp.tableData(htf.br,cattributes=>'id=""');
1060: htp.tableRowClose;

Line 1058: htp.tableRowOpen;

1054: calign=>'left',
1055: cattributes=>'id=""');
1056: htp.tableRowClose;
1057:
1058: htp.tableRowOpen;
1059: htp.tableData(htf.br,cattributes=>'id=""');
1060: htp.tableRowClose;
1061: htp.tableRowOpen;
1062: htp.tableHeader(wf_core.translate('WFRTG_AUTOMATICALLY'), 'left',

Line 1059: htp.tableData(htf.br,cattributes=>'id=""');

1055: cattributes=>'id=""');
1056: htp.tableRowClose;
1057:
1058: htp.tableRowOpen;
1059: htp.tableData(htf.br,cattributes=>'id=""');
1060: htp.tableRowClose;
1061: htp.tableRowOpen;
1062: htp.tableHeader(wf_core.translate('WFRTG_AUTOMATICALLY'), 'left',
1063: ccolspan=>'2',cattributes=>'id=""');

Line 1060: htp.tableRowClose;

1056: htp.tableRowClose;
1057:
1058: htp.tableRowOpen;
1059: htp.tableData(htf.br,cattributes=>'id=""');
1060: htp.tableRowClose;
1061: htp.tableRowOpen;
1062: htp.tableHeader(wf_core.translate('WFRTG_AUTOMATICALLY'), 'left',
1063: ccolspan=>'2',cattributes=>'id=""');
1064: htp.tableRowClose;

Line 1061: htp.tableRowOpen;

1057:
1058: htp.tableRowOpen;
1059: htp.tableData(htf.br,cattributes=>'id=""');
1060: htp.tableRowClose;
1061: htp.tableRowOpen;
1062: htp.tableHeader(wf_core.translate('WFRTG_AUTOMATICALLY'), 'left',
1063: ccolspan=>'2',cattributes=>'id=""');
1064: htp.tableRowClose;
1065:

Line 1062: htp.tableHeader(wf_core.translate('WFRTG_AUTOMATICALLY'), 'left',

1058: htp.tableRowOpen;
1059: htp.tableData(htf.br,cattributes=>'id=""');
1060: htp.tableRowClose;
1061: htp.tableRowOpen;
1062: htp.tableHeader(wf_core.translate('WFRTG_AUTOMATICALLY'), 'left',
1063: ccolspan=>'2',cattributes=>'id=""');
1064: htp.tableRowClose;
1065:
1066:

Line 1064: htp.tableRowClose;

1060: htp.tableRowClose;
1061: htp.tableRowOpen;
1062: htp.tableHeader(wf_core.translate('WFRTG_AUTOMATICALLY'), 'left',
1063: ccolspan=>'2',cattributes=>'id=""');
1064: htp.tableRowClose;
1065:
1066:
1067: -- Comment
1068:

Line 1069: htp.tableRowOpen;

1065:
1066:
1067: -- Comment
1068:
1069: htp.tableRowOpen;
1070: htp.tableData(cvalue=>'',
1072: calign=>'right', cattributes=>'width="10%" id=""');
1073: htp.tableData(cvalue=>htf.formTextareaOpen2(

Line 1070: htp.tableData(cvalue=>'

1066:
1067: -- Comment
1068:
1069: htp.tableRowOpen;
1070: htp.tableData(cvalue=>'1071: wf_core.translate('WFRTG_COMMENTS_INCLUDE') || '',
1072: calign=>'right', cattributes=>'width="10%" id=""');
1073: htp.tableData(cvalue=>htf.formTextareaOpen2(
1074: cname=>'rule_comment',

Line 1073: htp.tableData(cvalue=>htf.formTextareaOpen2(

1069: htp.tableRowOpen;
1070: htp.tableData(cvalue=>'',
1072: calign=>'right', cattributes=>'width="10%" id=""');
1073: htp.tableData(cvalue=>htf.formTextareaOpen2(
1074: cname=>'rule_comment',
1075: nrows=>3,
1076: ncolumns=>65,
1077: cwrap=>'soft',

Line 1083: htp.tableRowClose;

1079: rulerec.rule_comment||
1080: htf.formTextareaClose,
1081: ccolspan=>3,
1082: calign=>'left', cattributes=>'width="*" id=""');
1083: htp.tableRowClose;
1084:
1085: htp.tableClose;
1086:
1087: -- Action

Line 1085: htp.tableClose;

1081: ccolspan=>3,
1082: calign=>'left', cattributes=>'width="*" id=""');
1083: htp.tableRowClose;
1084:
1085: htp.tableClose;
1086:
1087: -- Action
1088: if (rulerec.action = 'FORWARD' or rulerec.action = 'TRANSFER') then
1089: if (rulerec.action = 'FORWARD') then

Line 1094: htp.formRadio(cname=>'action', cvalue=>'FORWARD', cchecked=>'1',

1090: fchecked := 1;
1091: else
1092: tchecked := 1;
1093: end if;
1094: htp.formRadio(cname=>'action', cvalue=>'FORWARD', cchecked=>'1',
1095: cattributes=>'id="i_wfa_assignto"');
1096:
1097: else
1098:

Line 1099: htp.formRadio(cname=>'action', cvalue=>'FORWARD',

1095: cattributes=>'id="i_wfa_assignto"');
1096:
1097: else
1098:
1099: htp.formRadio(cname=>'action', cvalue=>'FORWARD',
1100: cattributes=>'id="i_wfa_assignto"');
1101: -- If this is not a reassign the go ahead and set the delagate default
1102: fchecked := 1;
1103:

Line 1106: htp.p('

1102: fchecked := 1;
1103:
1104: end if;
1105:
1106: htp.p('1107: wf_core.translate('WFA_ASSIGNTO') || '');
1108: htp.formHidden('action_argument', rulerec.action_argument);
1109:
1110: if (rulerec.action_argument IS NOT NULL) then

Line 1108: htp.formHidden('action_argument', rulerec.action_argument);

1104: end if;
1105:
1106: htp.p('');
1108: htp.formHidden('action_argument', rulerec.action_argument);
1109:
1110: if (rulerec.action_argument IS NOT NULL) then
1111:
1112: wf_directory.GetRoleInfo(rulerec.action_argument, realname, s0, s0, s0, s0);

Line 1130: htp.formText(cname=>'display_action_argument', csize=>30,

1126: '&p_dest_display_field=top.opener.parent.document.CREATE_RULE.display_action_argument.value',
1127: ' ', '%20')||''''||',500,500)';
1128:
1129: -- print everything together so ther is no gap.
1130: htp.formText(cname=>'display_action_argument', csize=>30,
1131: cmaxlength=>240,
1132: cvalue=>realname,
1133: cattributes=>'id="i_wfa_assignto"');
1134: htp.p(''||

Line 1134: htp.p(''||

1130: htp.formText(cname=>'display_action_argument', csize=>30,
1131: cmaxlength=>240,
1132: cvalue=>realname,
1133: cattributes=>'id="i_wfa_assignto"');
1134: htp.p('
'||
1135: ''||<br>
1136:                     l_message||'');
1138:

Line 1139: htp.br;

1135: ''||<br>
1136:                     l_message||'');
1138:
1139: htp.br;
1140:
1141: -- Forward Mode
1142: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');
1143: htp.formRadio(cname=>'fmode', cvalue=>'FORWARD', cchecked=>fchecked,

Line 1142: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');

1138:
1139: htp.br;
1140:
1141: -- Forward Mode
1142: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');
1143: htp.formRadio(cname=>'fmode', cvalue=>'FORWARD', cchecked=>fchecked,
1144: cattributes=>'id="i_group_reassign"');
1145: htp.p('');

Line 1143: htp.formRadio(cname=>'fmode', cvalue=>'FORWARD', cchecked=>fchecked,

1139: htp.br;
1140:
1141: -- Forward Mode
1142: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');
1143: htp.formRadio(cname=>'fmode', cvalue=>'FORWARD', cchecked=>fchecked,
1144: cattributes=>'id="i_group_reassign"');
1145: htp.p('');
1147: htp.br;

Line 1145: htp.p('

1141: -- Forward Mode
1142: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');
1143: htp.formRadio(cname=>'fmode', cvalue=>'FORWARD', cchecked=>fchecked,
1144: cattributes=>'id="i_group_reassign"');
1145: htp.p('1146: wf_core.translate('WFA_GROUP_REASSIGN_DELEGATE') || '');
1147: htp.br;
1148: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');
1149: htp.formRadio(cname=>'fmode', cvalue=>'TRANSFER', cchecked=>tchecked,

Line 1147: htp.br;

1143: htp.formRadio(cname=>'fmode', cvalue=>'FORWARD', cchecked=>fchecked,
1144: cattributes=>'id="i_group_reassign"');
1145: htp.p('');
1147: htp.br;
1148: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');
1149: htp.formRadio(cname=>'fmode', cvalue=>'TRANSFER', cchecked=>tchecked,
1150: cattributes=>'id="i_transfer"');
1151: htp.p('

Line 1148: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');

1144: cattributes=>'id="i_group_reassign"');
1145: htp.p('');
1147: htp.br;
1148: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');
1149: htp.formRadio(cname=>'fmode', cvalue=>'TRANSFER', cchecked=>tchecked,
1150: cattributes=>'id="i_transfer"');
1151: htp.p('');

Line 1149: htp.formRadio(cname=>'fmode', cvalue=>'TRANSFER', cchecked=>tchecked,

1145: htp.p('');
1147: htp.br;
1148: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');
1149: htp.formRadio(cname=>'fmode', cvalue=>'TRANSFER', cchecked=>tchecked,
1150: cattributes=>'id="i_transfer"');
1151: htp.p('');
1153: htp.br;

Line 1151: htp.p('

1147: htp.br;
1148: htp.p('&'||'nbsp;&'||'nbsp;&'||'nbsp;');
1149: htp.formRadio(cname=>'fmode', cvalue=>'TRANSFER', cchecked=>tchecked,
1150: cattributes=>'id="i_transfer"');
1151: htp.p('1152: wf_core.translate('WFA_GROUP_REASSIGN_TRANSFER') || '');
1153: htp.br;
1154:
1155: -- ### Comment below out since we have Delegate and Transfer implemented

Line 1153: htp.br;

1149: htp.formRadio(cname=>'fmode', cvalue=>'TRANSFER', cchecked=>tchecked,
1150: cattributes=>'id="i_transfer"');
1151: htp.p('');
1153: htp.br;
1154:
1155: -- ### Comment below out since we have Delegate and Transfer implemented
1156: -- Instead put a hidden field to make fmode forward
1157: -- htp.formHidden('fmode', 'FORWARD');

Line 1157: -- htp.formHidden('fmode', 'FORWARD');

1153: htp.br;
1154:
1155: -- ### Comment below out since we have Delegate and Transfer implemented
1156: -- Instead put a hidden field to make fmode forward
1157: -- htp.formHidden('fmode', 'FORWARD');
1158:
1159: select MESSAGE_TYPE, MESSAGE_NAME
1160: into msg_type, msg_name
1161: from WF_ROUTING_RULES

Line 1168: htp.formRadio(cname=>'action', cvalue=>'RESPOND', cchecked=>'1',

1164: -- Not a valid option when msg_type or msg_name is null
1165: if ((msg_type is not null) and (msg_name is not null)) then
1166:
1167: if (rulerec.action = 'RESPOND') then
1168: htp.formRadio(cname=>'action', cvalue=>'RESPOND', cchecked=>'1',
1169: cattributes=>'id="i_wfitd_msg_respond"');
1170: else
1171: htp.formRadio(cname=>'action', cvalue=>'RESPOND',
1172: cattributes=>'id="i_wfrtg_close"');

Line 1171: htp.formRadio(cname=>'action', cvalue=>'RESPOND',

1167: if (rulerec.action = 'RESPOND') then
1168: htp.formRadio(cname=>'action', cvalue=>'RESPOND', cchecked=>'1',
1169: cattributes=>'id="i_wfitd_msg_respond"');
1170: else
1171: htp.formRadio(cname=>'action', cvalue=>'RESPOND',
1172: cattributes=>'id="i_wfrtg_close"');
1173: end if;
1174: -- Check existing of response
1175: select count(WMA.NAME) into rowcount

Line 1192: htp.p('

1188: -- If there is no message attributes, there is no response and we give
1189: -- a choice of 'close', otherwise 'respond'.
1190: --
1191: if (rowcount = 0) then
1192: htp.p('1193: wf_core.translate('WFRTG_CLOSE') || '');
1194: else
1195: htp.p('');

Line 1195: htp.p('

1191: if (rowcount = 0) then
1192: htp.p('');
1194: else
1195: htp.p('1196: wf_core.translate('WFITD_MSG_SOURCE_TYPE_RESPOND') || '');
1197: -- Draw attr fields
1198: htp.tableOpen(cattributes=>'summary=""');
1199: -- LOOP

Line 1198: htp.tableOpen(cattributes=>'summary=""');

1194: else
1195: htp.p('');
1197: -- Draw attr fields
1198: htp.tableOpen(cattributes=>'summary=""');
1199: -- LOOP
1200: for attr in attrcurs loop
1201: respcnt := respcnt + 1;
1202: htp.tableRowOpen;

Line 1202: htp.tableRowOpen;

1198: htp.tableOpen(cattributes=>'summary=""');
1199: -- LOOP
1200: for attr in attrcurs loop
1201: respcnt := respcnt + 1;
1202: htp.tableRowOpen;
1203: -- Indentation
1204: htp.p('
1205: '||'&'||'nbsp &'||'nbsp &'||'nbsp');
1206:

Line 1204: htp.p('

1200: for attr in attrcurs loop
1201: respcnt := respcnt + 1;
1202: htp.tableRowOpen;
1203: -- Indentation
1204: htp.p('
1205: '||'&'||'nbsp &'||'nbsp &'||'nbsp');
1206:
1207: -- Prompt
1208: htp.tableData(cvalue=>'

Line 1208: htp.tableData(cvalue=>'

1204: htp.p('
1205: '||'&'||'nbsp &'||'nbsp &'||'nbsp');
1206:
1207: -- Prompt
1208: htp.tableData(cvalue=>'1209: attr.display_name || '',
1210: calign=>'right',
1211: cattributes=>'id=""');
1212:

Line 1236: htp.tableRowClose;

1232: else
1233: GetField(attr.name, attr.type, attr.format, dispvalue,
1234: to_char(respcnt));
1235: end if;
1236: htp.tableRowClose;
1237: end loop;
1238: -- END LOOP
1239: htp.tableClose;
1240: end if;

Line 1239: htp.tableClose;

1235: end if;
1236: htp.tableRowClose;
1237: end loop;
1238: -- END LOOP
1239: htp.tableClose;
1240: end if;
1241: htp.br;
1242: end if;
1243: -- Add counter

Line 1241: htp.br;

1237: end loop;
1238: -- END LOOP
1239: htp.tableClose;
1240: end if;
1241: htp.br;
1242: end if;
1243: -- Add counter
1244: htp.formHidden('h_counter', to_char(respcnt+1), null);
1245:

Line 1244: htp.formHidden('h_counter', to_char(respcnt+1), null);

1240: end if;
1241: htp.br;
1242: end if;
1243: -- Add counter
1244: htp.formHidden('h_counter', to_char(respcnt+1), null);
1245:
1246: -- Not a valid option when both msg_type and msg_name are null
1247: if ((msg_type is not null) or (msg_name is not null)) then
1248: if (rulerec.action = 'NOOP') then

Line 1249: htp.formRadio(cname=>'action', cvalue=>'NOOP', cchecked=>'1',

1245:
1246: -- Not a valid option when both msg_type and msg_name are null
1247: if ((msg_type is not null) or (msg_name is not null)) then
1248: if (rulerec.action = 'NOOP') then
1249: htp.formRadio(cname=>'action', cvalue=>'NOOP', cchecked=>'1',
1250: cattributes=>'id="i_deliver"');
1251: else
1252: htp.formRadio(cname=>'action', cvalue=>'NOOP',
1253: cattributes=>'id="i_deliver"');

Line 1252: htp.formRadio(cname=>'action', cvalue=>'NOOP',

1248: if (rulerec.action = 'NOOP') then
1249: htp.formRadio(cname=>'action', cvalue=>'NOOP', cchecked=>'1',
1250: cattributes=>'id="i_deliver"');
1251: else
1252: htp.formRadio(cname=>'action', cvalue=>'NOOP',
1253: cattributes=>'id="i_deliver"');
1254: end if;
1255: htp.p('

Line 1255: htp.p('

1251: else
1252: htp.formRadio(cname=>'action', cvalue=>'NOOP',
1253: cattributes=>'id="i_deliver"');
1254: end if;
1255: htp.p('1256: wf_core.translate('WFRTG_DELIVER') ||
1257: '');
1258: htp.br;
1259: end if;

Line 1258: htp.br;

1254: end if;
1255: htp.p('');
1258: htp.br;
1259: end if;
1260: -- NOTE: Do NOT create any more fields for h_names or h_values here. The
1261: -- submit buttons created above must be the last values for these fields
1262: -- to work around an MSIE bug that always sends the submit button last.

Line 1263: htp.formClose;

1259: end if;
1260: -- NOTE: Do NOT create any more fields for h_names or h_values here. The
1261: -- submit buttons created above must be the last values for these fields
1262: -- to work around an MSIE bug that always sends the submit button last.
1263: htp.formClose;
1264:
1265:
1266: -- Add submit button
1267: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');

Line 1267: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');

1263: htp.formClose;
1264:
1265:
1266: -- Add submit button
1267: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1268: htp.tableRowOpen;
1269:
1270: htp.p('');
1271:

Line 1268: htp.tableRowOpen;

1264:
1265:
1266: -- Add submit button
1267: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1268: htp.tableRowOpen;
1269:
1270: htp.p('');
1271:
1272: wfa_html.create_reg_button ('javascript:document.CREATE_RULE.submit()',

Line 1270: htp.p('');

1266: -- Add submit button
1267: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1268: htp.tableRowOpen;
1269:
1270: htp.p('');
1271:
1272: wfa_html.create_reg_button ('javascript:document.CREATE_RULE.submit()',
1273: wf_core.translate ('WFMON_DONE'),
1274: wfa_html.image_loc,

Line 1278: htp.p('');

1274: wfa_html.image_loc,
1275: 'FNDJLFOK.gif',
1276: wf_core.translate ('WFMON_DONE'));
1277:
1278: htp.p('');
1279:
1280: htp.p('');
1281:
1282: wfa_html.create_reg_button ('javascript:window.history.back()',

Line 1280: htp.p('');

1276: wf_core.translate ('WFMON_DONE'));
1277:
1278: htp.p('');
1279:
1280: htp.p('');
1281:
1282: wfa_html.create_reg_button ('javascript:window.history.back()',
1283: wf_core.translate ('CANCEL'),
1284: wfa_html.image_loc,

Line 1288: htp.p('');

1284: wfa_html.image_loc,
1285: 'FNDJLFCN.gif',
1286: wf_core.translate ('CANCEL'));
1287:
1288: htp.p('');
1289:
1290:
1291: htp.tableRowClose;
1292: htp.tableClose;

Line 1291: htp.tableRowClose;

1287:
1288: htp.p('');
1289:
1290:
1291: htp.tableRowClose;
1292: htp.tableClose;
1293:
1294: wfa_sec.footer;
1295: htp.htmlClose;

Line 1292: htp.tableClose;

1288: htp.p('');
1289:
1290:
1291: htp.tableRowClose;
1292: htp.tableClose;
1293:
1294: wfa_sec.footer;
1295: htp.htmlClose;
1296:

Line 1295: htp.htmlClose;

1291: htp.tableRowClose;
1292: htp.tableClose;
1293:
1294: wfa_sec.footer;
1295: htp.htmlClose;
1296:
1297: exception
1298: when others then
1299: if (rulecurs%isopen) then

Line 1627: htp.htmlOpen;

1623: -- Set today's date
1624: select sysdate into today from sys.dual;
1625:
1626: -- Set page title
1627: htp.htmlOpen;
1628: -- DEBUG info
1629: -- htp.p('

t_user='||t_user||' username='||username||'
realname='||realname||'

');
1630: --
1631:

Line 1629: -- htp.p('

t_user='||t_user||' username='||username||'
realname='||realname||'

');

1625:
1626: -- Set page title
1627: htp.htmlOpen;
1628: -- DEBUG info
1629: -- htp.p('

t_user='||t_user||' username='||username||'
realname='||realname||'

');
1630: --
1631:
1632: IF (realname IS NULL) THEN
1633:

Line 1634: htp.p('');

1630: --
1631:
1632: IF (realname IS NULL) THEN
1633:
1634: htp.p('');
1635: htp.center(htf.bold(wf_core.translate('WFPREF_INVALID_ROLE_NAME'))||':'||display_user);
1636: htp.br;
1637:
1638: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');

Line 1635: htp.center(htf.bold(wf_core.translate('WFPREF_INVALID_ROLE_NAME'))||':'||display_user);

1631:
1632: IF (realname IS NULL) THEN
1633:
1634: htp.p('');
1635: htp.center(htf.bold(wf_core.translate('WFPREF_INVALID_ROLE_NAME'))||':'||display_user);
1636: htp.br;
1637:
1638: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1639:

Line 1636: htp.br;

1632: IF (realname IS NULL) THEN
1633:
1634: htp.p('');
1635: htp.center(htf.bold(wf_core.translate('WFPREF_INVALID_ROLE_NAME'))||':'||display_user);
1636: htp.br;
1637:
1638: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1639:
1640: --Submit Button

Line 1638: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');

1634: htp.p('');
1635: htp.center(htf.bold(wf_core.translate('WFPREF_INVALID_ROLE_NAME'))||':'||display_user);
1636: htp.br;
1637:
1638: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1639:
1640: --Submit Button
1641:
1642: htp.tableRowOpen;

Line 1642: htp.tableRowOpen;

1638: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1639:
1640: --Submit Button
1641:
1642: htp.tableRowOpen;
1643:
1644: l_url := wfa_html.base_url||
1645: '/wf_route.find';
1646: l_icon := 'FNDJLFOK.gif';

Line 1650: htp.p('');

1646: l_icon := 'FNDJLFOK.gif';
1647: l_text := wf_core.translate ('WFMON_OK');
1648: l_onmouseover := wf_core.translate ('WFMON_OK');
1649:
1650: htp.p('');
1651:
1652: wf_pref.create_reg_button (l_url, l_onmouseover, l_media, l_icon, l_text);
1653:
1654: htp.p('');

Line 1654: htp.p('');

1650: htp.p('');
1651:
1652: wf_pref.create_reg_button (l_url, l_onmouseover, l_media, l_icon, l_text);
1653:
1654: htp.p('');
1655: htp.tablerowclose;
1656: htp.tableclose;
1657: htp.p('');
1658: return;

Line 1655: htp.tablerowclose;

1651:
1652: wf_pref.create_reg_button (l_url, l_onmouseover, l_media, l_icon, l_text);
1653:
1654: htp.p('');
1655: htp.tablerowclose;
1656: htp.tableclose;
1657: htp.p('');
1658: return;
1659:

Line 1656: htp.tableclose;

1652: wf_pref.create_reg_button (l_url, l_onmouseover, l_media, l_icon, l_text);
1653:
1654: htp.p('');
1655: htp.tablerowclose;
1656: htp.tableclose;
1657: htp.p('');
1658: return;
1659:
1660: END IF;

Line 1657: htp.p('');

1653:
1654: htp.p('');
1655: htp.tablerowclose;
1656: htp.tableclose;
1657: htp.p('');
1658: return;
1659:
1660: END IF;
1661:

Line 1662: htp.headOpen;

1658: return;
1659:
1660: END IF;
1661:
1662: htp.headOpen;
1663: htp.p('');
1664: htp.title(wf_core.translate('WFRTG_LIST_TITLE')||' - '||realname);
1665: wfa_html.create_help_function('wf/links/nrr.htm?NRR');
1666: htp.headClose;

Line 1663: htp.p('');

1659:
1660: END IF;
1661:
1662: htp.headOpen;
1663: htp.p('');
1664: htp.title(wf_core.translate('WFRTG_LIST_TITLE')||' - '||realname);
1665: wfa_html.create_help_function('wf/links/nrr.htm?NRR');
1666: htp.headClose;
1667: wfa_sec.header(FALSE, 'wf_route.find', wf_core.translate('WFRTG_FIND_TITLE'), TRUE);

Line 1664: htp.title(wf_core.translate('WFRTG_LIST_TITLE')||' - '||realname);

1660: END IF;
1661:
1662: htp.headOpen;
1663: htp.p('');
1664: htp.title(wf_core.translate('WFRTG_LIST_TITLE')||' - '||realname);
1665: wfa_html.create_help_function('wf/links/nrr.htm?NRR');
1666: htp.headClose;
1667: wfa_sec.header(FALSE, 'wf_route.find', wf_core.translate('WFRTG_FIND_TITLE'), TRUE);
1668:

Line 1666: htp.headClose;

1662: htp.headOpen;
1663: htp.p('');
1664: htp.title(wf_core.translate('WFRTG_LIST_TITLE')||' - '||realname);
1665: wfa_html.create_help_function('wf/links/nrr.htm?NRR');
1666: htp.headClose;
1667: wfa_sec.header(FALSE, 'wf_route.find', wf_core.translate('WFRTG_FIND_TITLE'), TRUE);
1668:
1669: -- Column headers
1670: htp.tableOpen(calign=>'CENTER', cattributes=>'border=1 cellpadding=3 bgcolor=white width="100%" summary="' || wf_core.translate('WFRTG_FIND_TITLE') || '"');

Line 1670: htp.tableOpen(calign=>'CENTER', cattributes=>'border=1 cellpadding=3 bgcolor=white width="100%" summary="' || wf_core.translate('WFRTG_FIND_TITLE') || '"');

1666: htp.headClose;
1667: wfa_sec.header(FALSE, 'wf_route.find', wf_core.translate('WFRTG_FIND_TITLE'), TRUE);
1668:
1669: -- Column headers
1670: htp.tableOpen(calign=>'CENTER', cattributes=>'border=1 cellpadding=3 bgcolor=white width="100%" summary="' || wf_core.translate('WFRTG_FIND_TITLE') || '"');
1671: -- htp.tableRowOpen(cattributes=>'bgcolor=#83c1c1');
1672: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
1673:
1674: -- htp.tableData(cvalue=>''||

Line 1671: -- htp.tableRowOpen(cattributes=>'bgcolor=#83c1c1');

1667: wfa_sec.header(FALSE, 'wf_route.find', wf_core.translate('WFRTG_FIND_TITLE'), TRUE);
1668:
1669: -- Column headers
1670: htp.tableOpen(calign=>'CENTER', cattributes=>'border=1 cellpadding=3 bgcolor=white width="100%" summary="' || wf_core.translate('WFRTG_FIND_TITLE') || '"');
1671: -- htp.tableRowOpen(cattributes=>'bgcolor=#83c1c1');
1672: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
1673:
1674: -- htp.tableData(cvalue=>''||
1675: htp.tableHeader(cvalue=>''||

Line 1672: htp.tableRowOpen(cattributes=>'bgcolor=#006699');

1668:
1669: -- Column headers
1670: htp.tableOpen(calign=>'CENTER', cattributes=>'border=1 cellpadding=3 bgcolor=white width="100%" summary="' || wf_core.translate('WFRTG_FIND_TITLE') || '"');
1671: -- htp.tableRowOpen(cattributes=>'bgcolor=#83c1c1');
1672: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
1673:
1674: -- htp.tableData(cvalue=>''||
1675: htp.tableHeader(cvalue=>''||
1676: wf_core.translate('MESSAGE_TYPE')||'
',

Line 1674: -- htp.tableData(cvalue=>''||

1670: htp.tableOpen(calign=>'CENTER', cattributes=>'border=1 cellpadding=3 bgcolor=white width="100%" summary="' || wf_core.translate('WFRTG_FIND_TITLE') || '"');
1671: -- htp.tableRowOpen(cattributes=>'bgcolor=#83c1c1');
1672: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
1673:
1674: -- htp.tableData(cvalue=>''||
1675: htp.tableHeader(cvalue=>''||
1676: wf_core.translate('MESSAGE_TYPE')||'
',
1677: calign=>'Center',
1678: cattributes=>'id="' || wf_core.translate('MESSAGE_TYPE') || '"');

Line 1675: htp.tableHeader(cvalue=>''||

1671: -- htp.tableRowOpen(cattributes=>'bgcolor=#83c1c1');
1672: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
1673:
1674: -- htp.tableData(cvalue=>''||
1675: htp.tableHeader(cvalue=>''||
1676: wf_core.translate('MESSAGE_TYPE')||'',
1677: calign=>'Center',
1678: cattributes=>'id="' || wf_core.translate('MESSAGE_TYPE') || '"');
1679: htp.tableHeader(cvalue=>''||

Line 1679: htp.tableHeader(cvalue=>''||

1675: htp.tableHeader(cvalue=>''||
1676: wf_core.translate('MESSAGE_TYPE')||'
',
1677: calign=>'Center',
1678: cattributes=>'id="' || wf_core.translate('MESSAGE_TYPE') || '"');
1679: htp.tableHeader(cvalue=>''||
1680: wf_core.translate('NOTIFICATION')||'',
1681: calign=>'Center',
1682: cattributes=>'id="' || wf_core.translate('NOTIFICATION') || '"');
1683: htp.tableHeader(cvalue=>''||

Line 1683: htp.tableHeader(cvalue=>''||

1679: htp.tableHeader(cvalue=>''||
1680: wf_core.translate('NOTIFICATION')||'
',
1681: calign=>'Center',
1682: cattributes=>'id="' || wf_core.translate('NOTIFICATION') || '"');
1683: htp.tableHeader(cvalue=>''||
1684: wf_core.translate('RESULT_APPLY_RULE')||'',
1685: calign=>'Center',
1686: cattributes=>'id="' || wf_core.translate('RESULT_APPLY_RULE') || '"');
1687: htp.tableHeader(cvalue=>''||

Line 1687: htp.tableHeader(cvalue=>''||

1683: htp.tableHeader(cvalue=>''||
1684: wf_core.translate('RESULT_APPLY_RULE')||'
',
1685: calign=>'Center',
1686: cattributes=>'id="' || wf_core.translate('RESULT_APPLY_RULE') || '"');
1687: htp.tableHeader(cvalue=>''||
1688: wf_core.translate('ACTIVE')||'',
1689: calign=>'Center',
1690: cattributes=>'id="' || wf_core.translate('ACTIVE') || '"');
1691: htp.tableHeader(cvalue=>''||

Line 1691: htp.tableHeader(cvalue=>''||

1687: htp.tableHeader(cvalue=>''||
1688: wf_core.translate('ACTIVE')||'
',
1689: calign=>'Center',
1690: cattributes=>'id="' || wf_core.translate('ACTIVE') || '"');
1691: htp.tableHeader(cvalue=>''||
1692: wf_core.translate('WFRTG_DELETE')||'',
1693: calign=>'Center',
1694: cattributes=>'id="' || wf_core.translate('WFRTG_DELETE') || '"');
1695: htp.tableRowClose;

Line 1695: htp.tableRowClose;

1691: htp.tableHeader(cvalue=>''||
1692: wf_core.translate('WFRTG_DELETE')||'
',
1693: calign=>'Center',
1694: cattributes=>'id="' || wf_core.translate('WFRTG_DELETE') || '"');
1695: htp.tableRowClose;
1696: htp.tableRowOpen;
1697: htp.tableRowClose;
1698:
1699: -- Query matching rules

Line 1696: htp.tableRowOpen;

1692: wf_core.translate('WFRTG_DELETE')||'',
1693: calign=>'Center',
1694: cattributes=>'id="' || wf_core.translate('WFRTG_DELETE') || '"');
1695: htp.tableRowClose;
1696: htp.tableRowOpen;
1697: htp.tableRowClose;
1698:
1699: -- Query matching rules
1700: for rule in wf_rules_cursor loop

Line 1697: htp.tableRowClose;

1693: calign=>'Center',
1694: cattributes=>'id="' || wf_core.translate('WFRTG_DELETE') || '"');
1695: htp.tableRowClose;
1696: htp.tableRowOpen;
1697: htp.tableRowClose;
1698:
1699: -- Query matching rules
1700: for rule in wf_rules_cursor loop
1701: isactive := 0;

Line 1718: htp.tableRowOpen(null, 'TOP');

1714: end if;
1715: end if;
1716: end if;
1717:
1718: htp.tableRowOpen(null, 'TOP');
1719: htp.tableData(nvl(rule.type_display,
1720: htf.em(wf_core.translate(''))),
1721: 'left',cattributes=>'id=""');
1722:

Line 1719: htp.tableData(nvl(rule.type_display,

1715: end if;
1716: end if;
1717:
1718: htp.tableRowOpen(null, 'TOP');
1719: htp.tableData(nvl(rule.type_display,
1720: htf.em(wf_core.translate(''))),
1721: 'left',cattributes=>'id=""');
1722:
1723: IF (rule.subject IS NULL) THEN

Line 1725: htp.tableData(htf.em(wf_core.translate('')),

1721: 'left',cattributes=>'id=""');
1722:
1723: IF (rule.subject IS NULL) THEN
1724:
1725: htp.tableData(htf.em(wf_core.translate('')),
1726: 'left', cattributes=>'id=""');
1727:
1728: ELSE
1729:

Line 1730: htp.tableData(wf_notification.GetSubSubjectDisplay(rule.message_type,

1726: 'left', cattributes=>'id=""');
1727:
1728: ELSE
1729:
1730: htp.tableData(wf_notification.GetSubSubjectDisplay(rule.message_type,
1731: rule.message_name),
1732: 'left', cattributes=>'id=""');
1733:
1734: END IF;

Line 1741: htp.tableData(htf.anchor(wfa_html.base_url||

1737: if ( rule.action = 'FORWARD' ) then
1738: -- get the display name of the forwardee in delegation
1739: wf_directory.GetRoleInfo(rule.action_argument, forwardname,
1740: s0, s0, s0, s0);
1741: htp.tableData(htf.anchor(wfa_html.base_url||
1742: '/Wf_Route.UpdateRule?ruleid='||
1743: to_char(rule.rule_id),
1744: wf_core.translate('DELEGATE')||':'||
1745: forwardname),

Line 1751: htp.tableData(htf.anchor(wfa_html.base_url||

1747: elsif ( rule.action = 'TRANSFER' ) then
1748: -- get the display name of the forwardee in transfering
1749: wf_directory.GetRoleInfo(rule.action_argument, forwardname,
1750: s0, s0, s0, s0);
1751: htp.tableData(htf.anchor(wfa_html.base_url||
1752: '/Wf_Route.UpdateRule?ruleid='||
1753: to_char(rule.rule_id),
1754: wf_core.translate('TRANSFER')||':'||
1755: forwardname),

Line 1759: htp.tableData(htf.anchor(wfa_html.base_url||

1755: forwardname),
1756: 'left',cattributes=>'id=""');
1757: else
1758: if ( rule.action = 'NOOP' ) then
1759: htp.tableData(htf.anchor(wfa_html.base_url||
1760: '/Wf_Route.UpdateRule?ruleid='||
1761: to_char(rule.rule_id),
1762: wf_core.translate('WFRTG_DELIVERTOME')),
1763: 'left',cattributes=>'id=""');

Line 1815: htp.tableData(htf.anchor(wfa_html.base_url||

1811: -- If there is no message attributes, there is no response and we give
1812: -- a choice of 'close', otherwise 'response'.
1813: --
1814: if (rowcount = 0) then
1815: htp.tableData(htf.anchor(wfa_html.base_url||
1816: '/Wf_Route.UpdateRule?ruleid='||
1817: to_char(rule.rule_id),
1818: wf_core.translate('WFRTG_CLOSE')),
1819: 'left',cattributes=>'id="' ||

Line 1823: htp.tableData(htf.anchor(wfa_html.base_url||

1819: 'left',cattributes=>'id="' ||
1820: wf_core.translate('WFRTG_CLOSE') || '"');
1821: else
1822: if (att_tvalue is not null) then
1823: htp.tableData(htf.anchor(wfa_html.base_url||
1824: '/Wf_Route.UpdateRule?ruleid='||
1825: to_char(rule.rule_id),
1826: wf_core.translate('WFITD_MSG_SOURCE_TYPE_RESPOND')||':'
1827: ||att_tvalue),

Line 1830: htp.tableData(htf.anchor(wfa_html.base_url||

1826: wf_core.translate('WFITD_MSG_SOURCE_TYPE_RESPOND')||':'
1827: ||att_tvalue),
1828: 'left',cattributes=>'id="' || wf_core.translate('WFITD_MSG_SOURCE_TYPE_RESPOND') || '"');
1829: else
1830: htp.tableData(htf.anchor(wfa_html.base_url||
1831: '/Wf_Route.UpdateRule?ruleid='||
1832: to_char(rule.rule_id),
1833: wf_core.translate('WFITD_MSG_SOURCE_TYPE_RESPOND')),
1834: 'left',cattributes=>'id="' || wf_core.translate('WFITD_MSG_SOURCE_TYPE_RESPOND') || '"');

Line 1841: htp.tableData(htf.img(wfa_html.image_loc||'FNDICHEK.gif',

1837: end if;
1838: end if;
1839:
1840: if isactive = 1 then
1841: htp.tableData(htf.img(wfa_html.image_loc||'FNDICHEK.gif',
1842: 'Center', wf_core.translate('ACTIVE')), 'center',
1843: cattributes=>'valign="MIDDLE" id=""');
1844: else
1845: htp.tableData(htf.br,cattributes=>'id=""');

Line 1845: htp.tableData(htf.br,cattributes=>'id=""');

1841: htp.tableData(htf.img(wfa_html.image_loc||'FNDICHEK.gif',
1842: 'Center', wf_core.translate('ACTIVE')), 'center',
1843: cattributes=>'valign="MIDDLE" id=""');
1844: else
1845: htp.tableData(htf.br,cattributes=>'id=""');
1846: end if;
1847:
1848: -- htp.tableData(nvl(to_char(rule.begin_date)||
1849: -- to_char(rule.begin_date, ' HH24:MI:SS'),

Line 1848: -- htp.tableData(nvl(to_char(rule.begin_date)||

1844: else
1845: htp.tableData(htf.br,cattributes=>'id=""');
1846: end if;
1847:
1848: -- htp.tableData(nvl(to_char(rule.begin_date)||
1849: -- to_char(rule.begin_date, ' HH24:MI:SS'),
1850: -- htf.br), 'left',cattributes=>'id=""');
1851:
1852: htp.tableData(htf.anchor2(curl=>wfa_html.base_url||

Line 1852: htp.tableData(htf.anchor2(curl=>wfa_html.base_url||

1848: -- htp.tableData(nvl(to_char(rule.begin_date)||
1849: -- to_char(rule.begin_date, ' HH24:MI:SS'),
1850: -- htf.br), 'left',cattributes=>'id=""');
1851:
1852: htp.tableData(htf.anchor2(curl=>wfa_html.base_url||
1853: '/Wf_Route.DeleteRule?user='||username||
1854: '&'||'ruleid='||to_char(rule.rule_id),
1855: ctext=>' 1856: alt="' || wf_core.translate('WFRTG_DELETE') || '" BORDER=0>'),

Line 1858: htp.tableRowClose;

1854: '&'||'ruleid='||to_char(rule.rule_id),
1855: ctext=>' 1856: alt="' || wf_core.translate('WFRTG_DELETE') || '" BORDER=0>'),
1857: 'center', cattributes=>'valign="MIDDLE" id=""');
1858: htp.tableRowClose;
1859: end loop;
1860:
1861: htp.tableClose;
1862:

Line 1861: htp.tableClose;

1857: 'center', cattributes=>'valign="MIDDLE" id=""');
1858: htp.tableRowClose;
1859: end loop;
1860:
1861: htp.tableClose;
1862:
1863:
1864: -- Button to create new rule
1865: htp.formOpen(curl=>'wf_route.CreateRule',

Line 1865: htp.formOpen(curl=>'wf_route.CreateRule',

1861: htp.tableClose;
1862:
1863:
1864: -- Button to create new rule
1865: htp.formOpen(curl=>'wf_route.CreateRule',
1866: cmethod=>'POST', cattributes=>'NAME="WF_LIST"');
1867:
1868: htp.formHidden('user', username);
1869:

Line 1868: htp.formHidden('user', username);

1864: -- Button to create new rule
1865: htp.formOpen(curl=>'wf_route.CreateRule',
1866: cmethod=>'POST', cattributes=>'NAME="WF_LIST"');
1867:
1868: htp.formHidden('user', username);
1869:
1870: htp.formClose;
1871:
1872: -- Add submit button

Line 1870: htp.formClose;

1866: cmethod=>'POST', cattributes=>'NAME="WF_LIST"');
1867:
1868: htp.formHidden('user', username);
1869:
1870: htp.formClose;
1871:
1872: -- Add submit button
1873: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1874: htp.tableRowOpen;

Line 1873: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');

1869:
1870: htp.formClose;
1871:
1872: -- Add submit button
1873: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1874: htp.tableRowOpen;
1875:
1876: htp.p('');
1877:

Line 1874: htp.tableRowOpen;

1870: htp.formClose;
1871:
1872: -- Add submit button
1873: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1874: htp.tableRowOpen;
1875:
1876: htp.p('');
1877:
1878: wfa_html.create_reg_button ('javascript:document.WF_LIST.submit()',

Line 1876: htp.p('');

1872: -- Add submit button
1873: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1874: htp.tableRowOpen;
1875:
1876: htp.p('');
1877:
1878: wfa_html.create_reg_button ('javascript:document.WF_LIST.submit()',
1879: wf_core.translate('WFRTG_INSERT'),
1880: wfa_html.image_loc,

Line 1884: htp.p('');

1880: wfa_html.image_loc,
1881: 'FNDJLFOK.gif',
1882: wf_core.translate('WFRTG_INSERT'));
1883:
1884: htp.p('');
1885:
1886: htp.tableRowClose;
1887: htp.tableClose;
1888:

Line 1886: htp.tableRowClose;

1882: wf_core.translate('WFRTG_INSERT'));
1883:
1884: htp.p('');
1885:
1886: htp.tableRowClose;
1887: htp.tableClose;
1888:
1889:
1890: -- Close up shop

Line 1887: htp.tableClose;

1883:
1884: htp.p('');
1885:
1886: htp.tableRowClose;
1887: htp.tableClose;
1888:
1889:
1890: -- Close up shop
1891: -- wfa_sec.Footer;

Line 1892: htp.htmlClose;

1888:
1889:
1890: -- Close up shop
1891: -- wfa_sec.Footer;
1892: htp.htmlClose;
1893: exception
1894: when others then
1895: wf_core.context('Wf_Route', 'List', user, display_user);
1896: wf_route.error;

Line 1935: htp.htmlOpen;

1931: return;
1932: end if;
1933:
1934: -- Admin approved, draw the form
1935: htp.htmlOpen;
1936: htp.headOpen;
1937: htp.title(wf_core.translate('WFRTG_FIND_TITLE'));
1938: wfa_html.create_help_function('wf/links/rul.htm?RULES');
1939: fnd_document_management.get_open_dm_display_window;

Line 1936: htp.headOpen;

1932: end if;
1933:
1934: -- Admin approved, draw the form
1935: htp.htmlOpen;
1936: htp.headOpen;
1937: htp.title(wf_core.translate('WFRTG_FIND_TITLE'));
1938: wfa_html.create_help_function('wf/links/rul.htm?RULES');
1939: fnd_document_management.get_open_dm_display_window;
1940: htp.headClose;

Line 1937: htp.title(wf_core.translate('WFRTG_FIND_TITLE'));

1933:
1934: -- Admin approved, draw the form
1935: htp.htmlOpen;
1936: htp.headOpen;
1937: htp.title(wf_core.translate('WFRTG_FIND_TITLE'));
1938: wfa_html.create_help_function('wf/links/rul.htm?RULES');
1939: fnd_document_management.get_open_dm_display_window;
1940: htp.headClose;
1941: wfa_sec.header(FALSE, '', wf_core.translate('WFRTG_FIND_TITLE'), TRUE);

Line 1940: htp.headClose;

1936: htp.headOpen;
1937: htp.title(wf_core.translate('WFRTG_FIND_TITLE'));
1938: wfa_html.create_help_function('wf/links/rul.htm?RULES');
1939: fnd_document_management.get_open_dm_display_window;
1940: htp.headClose;
1941: wfa_sec.header(FALSE, '', wf_core.translate('WFRTG_FIND_TITLE'), TRUE);
1942:
1943: htp.formOpen(curl=>'wf_route.list',
1944: cmethod=>'POST', cattributes=>'NAME="WF_FIND"');

Line 1943: htp.formOpen(curl=>'wf_route.list',

1939: fnd_document_management.get_open_dm_display_window;
1940: htp.headClose;
1941: wfa_sec.header(FALSE, '', wf_core.translate('WFRTG_FIND_TITLE'), TRUE);
1942:
1943: htp.formOpen(curl=>'wf_route.list',
1944: cmethod=>'POST', cattributes=>'NAME="WF_FIND"');
1945:
1946: htp.tableOpen(calign=>'CENTER', cattributes=>'border=0 cellpadding=2 cellspacing=0 summary=""');
1947:

Line 1946: htp.tableOpen(calign=>'CENTER', cattributes=>'border=0 cellpadding=2 cellspacing=0 summary=""');

1942:
1943: htp.formOpen(curl=>'wf_route.list',
1944: cmethod=>'POST', cattributes=>'NAME="WF_FIND"');
1945:
1946: htp.tableOpen(calign=>'CENTER', cattributes=>'border=0 cellpadding=2 cellspacing=0 summary=""');
1947:
1948: htp.tableRowOpen;
1949: htp.tableData(cvalue=>'', calign=>'right',

Line 1948: htp.tableRowOpen;

1944: cmethod=>'POST', cattributes=>'NAME="WF_FIND"');
1945:
1946: htp.tableOpen(calign=>'CENTER', cattributes=>'border=0 cellpadding=2 cellspacing=0 summary=""');
1947:
1948: htp.tableRowOpen;
1949: htp.tableData(cvalue=>'', calign=>'right',
1951: cattributes=>'id=""');
1952: htp.formHidden('user', curuser);

Line 1949: htp.tableData(cvalue=>'

1945:
1946: htp.tableOpen(calign=>'CENTER', cattributes=>'border=0 cellpadding=2 cellspacing=0 summary=""');
1947:
1948: htp.tableRowOpen;
1949: htp.tableData(cvalue=>'1950: wf_core.translate('USER_ID') || '', calign=>'right',
1951: cattributes=>'id=""');
1952: htp.formHidden('user', curuser);
1953:

Line 1952: htp.formHidden('user', curuser);

1948: htp.tableRowOpen;
1949: htp.tableData(cvalue=>'', calign=>'right',
1951: cattributes=>'id=""');
1952: htp.formHidden('user', curuser);
1953:
1954: -- add LOV here: Note:bottom is name of frame.
1955: -- Note: The REPLACE function replaces all the space characters with
1956: -- the proper escape sequence.

Line 1968: htp.tabledata(htf.formText(cname=>'display_user', csize=>30,

1964: '&p_dest_display_field=top.opener.parent.document.WF_FIND.display_user.value',
1965: ' ', '%20')||''''||',500,500)';
1966:
1967: -- print everything together so ther is no gap.
1968: htp.tabledata(htf.formText(cname=>'display_user', csize=>30,
1969: cmaxlength=>360,
1970: cvalue=>realname,
1971: cattributes=>'id="i_display_user"')||
1972: ''||

Line 1978: htp.tableRowClose;

1974: l_message||'" onmouseover="window.status='||''''||
1975: l_message||''''||';return true">
',
1976: cattributes=>'id=""');
1977:
1978: htp.tableRowClose;
1979: htp.tableClose;
1980: htp.formClose;
1981:
1982: -- Add submit button

Line 1979: htp.tableClose;

1975: l_message||''''||';return true">',
1976: cattributes=>'id=""');
1977:
1978: htp.tableRowClose;
1979: htp.tableClose;
1980: htp.formClose;
1981:
1982: -- Add submit button
1983: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');

Line 1980: htp.formClose;

1976: cattributes=>'id=""');
1977:
1978: htp.tableRowClose;
1979: htp.tableClose;
1980: htp.formClose;
1981:
1982: -- Add submit button
1983: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1984: htp.tableRowOpen;

Line 1983: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');

1979: htp.tableClose;
1980: htp.formClose;
1981:
1982: -- Add submit button
1983: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1984: htp.tableRowOpen;
1985:
1986: htp.p('');
1987:

Line 1984: htp.tableRowOpen;

1980: htp.formClose;
1981:
1982: -- Add submit button
1983: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1984: htp.tableRowOpen;
1985:
1986: htp.p('');
1987:
1988: wfa_html.create_reg_button ('javascript:document.WF_FIND.submit()',

Line 1986: htp.p('');

1982: -- Add submit button
1983: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
1984: htp.tableRowOpen;
1985:
1986: htp.p('');
1987:
1988: wfa_html.create_reg_button ('javascript:document.WF_FIND.submit()',
1989: wf_core.translate ('FIND'),
1990: wfa_html.image_loc,

Line 1994: htp.p('');

1990: wfa_html.image_loc,
1991: 'fndfind.gif',
1992: wf_core.translate ('FIND'));
1993:
1994: htp.p('');
1995:
1996: htp.tableRowClose;
1997: htp.tableClose;
1998:

Line 1996: htp.tableRowClose;

1992: wf_core.translate ('FIND'));
1993:
1994: htp.p('');
1995:
1996: htp.tableRowClose;
1997: htp.tableClose;
1998:
1999: wfa_sec.Footer;
2000: htp.htmlClose;

Line 1997: htp.tableClose;

1993:
1994: htp.p('');
1995:
1996: htp.tableRowClose;
1997: htp.tableClose;
1998:
1999: wfa_sec.Footer;
2000: htp.htmlClose;
2001: exception

Line 2000: htp.htmlClose;

1996: htp.tableRowClose;
1997: htp.tableClose;
1998:
1999: wfa_sec.Footer;
2000: htp.htmlClose;
2001: exception
2002: when others then
2003: wf_core.context('Wf_Route', 'Find', user);
2004: wf_route.error;