279: htp.p('function Close_OnClick() {
280: close();
281: }');
282: end if;
283: htp.p('');
284: end if;
285:
286: xnp_timers$.TemplateHeader(TRUE,0);
287:
288: XNP_WSGL.ClosePageHead;
289:
290: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>L_BODY_ATTRIBUTES);
291:
292: htp.header(2, htf.italic('Timers'));
293:
294: if Z_ISSUE_WAIT is not null then
295: htp.p(XNP_WSGL.MsgGetText(127,XNP_WSGLM.DSP127_LOV_PLEASE_WAIT));
296: XNP_WSGL.ClosePageBody;
291:
292: htp.header(2, htf.italic('Timers'));
293:
294: if Z_ISSUE_WAIT is not null then
295: htp.p(XNP_WSGL.MsgGetText(127,XNP_WSGLM.DSP127_LOV_PLEASE_WAIT));
296: XNP_WSGL.ClosePageBody;
297: return;
298: else
299: htp.formOpen('xnp_timers$xnp_timer_registry.timer_message_code_listofvalue');
295: htp.p(XNP_WSGL.MsgGetText(127,XNP_WSGLM.DSP127_LOV_PLEASE_WAIT));
296: XNP_WSGL.ClosePageBody;
297: return;
298: else
299: htp.formOpen('xnp_timers$xnp_timer_registry.timer_message_code_listofvalue');
300: XNP_WSGL.HiddenField('Z_CALLER_URL', Z_CALLER_URL);
301: XNP_WSGL.HiddenField('Z_MODE', Z_MODE);
302: end if;
303:
309: else
310: L_SEARCH_STRING := '%';
311: end if;
312:
313: htp.para;
314: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Timer'));
315: htp.para;
316: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
317: htp.p('');
310: L_SEARCH_STRING := '%';
311: end if;
312:
313: htp.para;
314: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Timer'));
315: htp.para;
316: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
317: htp.p('');
318: if LOV_FRAME is null then
311: end if;
312:
313: htp.para;
314: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Timer'));
315: htp.para;
316: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
317: htp.p('');
318: if LOV_FRAME is null then
319: htp.p('');
312:
313: htp.para;
314: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Timer'));
315: htp.para;
316: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
317: htp.p('');
318: if LOV_FRAME is null then
319: htp.p('');
320: end if;
313: htp.para;
314: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Timer'));
315: htp.para;
316: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
317: htp.p('');
318: if LOV_FRAME is null then
319: htp.p('');
320: end if;
321: htp.formClose;
315: htp.para;
316: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
317: htp.p('');
318: if LOV_FRAME is null then
319: htp.p('');
320: end if;
321: htp.formClose;
322:
323:
317: htp.p('');
318: if LOV_FRAME is null then
319: htp.p('');
320: end if;
321: htp.formClose;
322:
323:
324: if not L_ABORT then
325:
356: l_any := true;
357: end loop;
358: XNP_WSGL.LayoutClose;
359: if not l_any then
360: htp.p(XNP_WSGL.MsgGetText(224,XNP_WSGLM.MSG224_LOV_NO_ROWS));
361: end if;
362: end;
363: end if;
364:
361: end if;
362: end;
363: end if;
364:
365: htp.p('');
366:
367: XNP_WSGL.ClosePageBody;
368:
369: exception
433: htp.p('function Close_OnClick() {
434: close();
435: }');
436: end if;
437: htp.p('');
438: end if;
439:
440: xnp_timers$.TemplateHeader(TRUE,0);
441:
442: XNP_WSGL.ClosePageHead;
443:
444: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>L_BODY_ATTRIBUTES);
445:
446: htp.header(2, htf.italic(XNP_WSGL.MsgGetText(123,XNP_WSGLM.DSP123_LOV_CAPTION,'Next Timer')));
447:
448: if Z_ISSUE_WAIT is not null then
449: htp.p(XNP_WSGL.MsgGetText(127,XNP_WSGLM.DSP127_LOV_PLEASE_WAIT));
450: XNP_WSGL.ClosePageBody;
445:
446: htp.header(2, htf.italic(XNP_WSGL.MsgGetText(123,XNP_WSGLM.DSP123_LOV_CAPTION,'Next Timer')));
447:
448: if Z_ISSUE_WAIT is not null then
449: htp.p(XNP_WSGL.MsgGetText(127,XNP_WSGLM.DSP127_LOV_PLEASE_WAIT));
450: XNP_WSGL.ClosePageBody;
451: return;
452: else
453: htp.formOpen('xnp_timers$xnp_timer_registry.next_timer_listofvalues');
449: htp.p(XNP_WSGL.MsgGetText(127,XNP_WSGLM.DSP127_LOV_PLEASE_WAIT));
450: XNP_WSGL.ClosePageBody;
451: return;
452: else
453: htp.formOpen('xnp_timers$xnp_timer_registry.next_timer_listofvalues');
454: XNP_WSGL.HiddenField('Z_CALLER_URL', Z_CALLER_URL);
455: XNP_WSGL.HiddenField('Z_MODE', Z_MODE);
456: end if;
457:
463: else
464: L_SEARCH_STRING := '%';
465: end if;
466:
467: htp.para;
468: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Next Timer'));
469: htp.para;
470: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
471: htp.p('');
464: L_SEARCH_STRING := '%';
465: end if;
466:
467: htp.para;
468: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Next Timer'));
469: htp.para;
470: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
471: htp.p('');
472: if LOV_FRAME is null then
465: end if;
466:
467: htp.para;
468: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Next Timer'));
469: htp.para;
470: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
471: htp.p('');
472: if LOV_FRAME is null then
473: htp.p('');
466:
467: htp.para;
468: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Next Timer'));
469: htp.para;
470: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
471: htp.p('');
472: if LOV_FRAME is null then
473: htp.p('');
474: end if;
467: htp.para;
468: htp.p(XNP_WSGL.MsgGetText(19,XNP_WSGLM.CAP019_LOV_FILTER_CAPTION,'Next Timer'));
469: htp.para;
470: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
471: htp.p('');
472: if LOV_FRAME is null then
473: htp.p('');
474: end if;
475: htp.formClose;
469: htp.para;
470: htp.formText('Z_FILTER', cvalue=>L_SEARCH_STRING);
471: htp.p('');
472: if LOV_FRAME is null then
473: htp.p('');
474: end if;
475: htp.formClose;
476:
477:
471: htp.p('');
472: if LOV_FRAME is null then
473: htp.p('');
474: end if;
475: htp.formClose;
476:
477:
478: if not L_ABORT then
479:
510: l_any := true;
511: end loop;
512: XNP_WSGL.LayoutClose;
513: if not l_any then
514: htp.p(XNP_WSGL.MsgGetText(224,XNP_WSGLM.MSG224_LOV_NO_ROWS));
515: end if;
516: end;
517: end if;
518:
515: end if;
516: end;
517: end if;
518:
519: htp.p('');
520:
521: XNP_WSGL.ClosePageBody;
522:
523: exception
809: CreateQueryJavaScript;
810: -- Added for iHelp
811: htp.p('');
814: -- <<
815: xnp_timers$.TemplateHeader(TRUE,0);
816: XNP_WSGL.ClosePageHead;
817:
815: xnp_timers$.TemplateHeader(TRUE,0);
816: XNP_WSGL.ClosePageHead;
817:
818: -- Added for iHelp
819: htp.p('
820: htp.p('onMouseOver="window.status='||''''||'Help'||''''||';return true">');
821: htp.p(htf.img('/OA_MEDIA/afhelp.gif'));
822: htp.p('');
823: htp.p(htf.nl);
816: XNP_WSGL.ClosePageHead;
817:
818: -- Added for iHelp
819: htp.p('
820: htp.p('onMouseOver="window.status='||''''||'Help'||''''||';return true">');
821: htp.p(htf.img('/OA_MEDIA/afhelp.gif'));
822: htp.p('');
823: htp.p(htf.nl);
824: -- <<
817:
818: -- Added for iHelp
819: htp.p('
820: htp.p('onMouseOver="window.status='||''''||'Help'||''''||';return true">');
821: htp.p(htf.img('/OA_MEDIA/afhelp.gif'));
822: htp.p('');
823: htp.p(htf.nl);
824: -- <<
825:
818: -- Added for iHelp
819: htp.p('
820: htp.p('onMouseOver="window.status='||''''||'Help'||''''||';return true">');
821: htp.p(htf.img('/OA_MEDIA/afhelp.gif'));
822: htp.p('');
823: htp.p(htf.nl);
824: -- <<
825:
826: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>QF_BODY_ATTRIBUTES);
819: htp.p('
820: htp.p('onMouseOver="window.status='||''''||'Help'||''''||';return true">');
821: htp.p(htf.img('/OA_MEDIA/afhelp.gif'));
822: htp.p('');
823: htp.p(htf.nl);
824: -- <<
825:
826: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>QF_BODY_ATTRIBUTES);
827:
824: -- <<
825:
826: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>QF_BODY_ATTRIBUTES);
827:
828: htp.p(htf.bold(fnd_message.get_string('XNP','WEB_TITLE')));
829: xnp_timers$.FirstPage(TRUE);
830: htp.p(htf.header(1,fnd_message.get_string('XNP','WEB_XNPTIMER_DETAILS_TITLE')));
831: htp.para;
832: htp.p(XNP_WSGL.MsgGetText(116,XNP_WSGLM.DSP116_ENTER_QRY_CAPTION,'Timers'));
826: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>QF_BODY_ATTRIBUTES);
827:
828: htp.p(htf.bold(fnd_message.get_string('XNP','WEB_TITLE')));
829: xnp_timers$.FirstPage(TRUE);
830: htp.p(htf.header(1,fnd_message.get_string('XNP','WEB_XNPTIMER_DETAILS_TITLE')));
831: htp.para;
832: htp.p(XNP_WSGL.MsgGetText(116,XNP_WSGLM.DSP116_ENTER_QRY_CAPTION,'Timers'));
833: htp.para;
834:
827:
828: htp.p(htf.bold(fnd_message.get_string('XNP','WEB_TITLE')));
829: xnp_timers$.FirstPage(TRUE);
830: htp.p(htf.header(1,fnd_message.get_string('XNP','WEB_XNPTIMER_DETAILS_TITLE')));
831: htp.para;
832: htp.p(XNP_WSGL.MsgGetText(116,XNP_WSGLM.DSP116_ENTER_QRY_CAPTION,'Timers'));
833: htp.para;
834:
835: htp.formOpen(curl => 'xnp_timers$xnp_timer_registry.actionquery', cattributes => 'NAME="frmZero"');
828: htp.p(htf.bold(fnd_message.get_string('XNP','WEB_TITLE')));
829: xnp_timers$.FirstPage(TRUE);
830: htp.p(htf.header(1,fnd_message.get_string('XNP','WEB_XNPTIMER_DETAILS_TITLE')));
831: htp.para;
832: htp.p(XNP_WSGL.MsgGetText(116,XNP_WSGLM.DSP116_ENTER_QRY_CAPTION,'Timers'));
833: htp.para;
834:
835: htp.formOpen(curl => 'xnp_timers$xnp_timer_registry.actionquery', cattributes => 'NAME="frmZero"');
836:
829: xnp_timers$.FirstPage(TRUE);
830: htp.p(htf.header(1,fnd_message.get_string('XNP','WEB_XNPTIMER_DETAILS_TITLE')));
831: htp.para;
832: htp.p(XNP_WSGL.MsgGetText(116,XNP_WSGLM.DSP116_ENTER_QRY_CAPTION,'Timers'));
833: htp.para;
834:
835: htp.formOpen(curl => 'xnp_timers$xnp_timer_registry.actionquery', cattributes => 'NAME="frmZero"');
836:
837: XNP_WSGL.LayoutOpen(XNP_WSGL.LAYOUT_TABLE);
831: htp.para;
832: htp.p(XNP_WSGL.MsgGetText(116,XNP_WSGLM.DSP116_ENTER_QRY_CAPTION,'Timers'));
833: htp.para;
834:
835: htp.formOpen(curl => 'xnp_timers$xnp_timer_registry.actionquery', cattributes => 'NAME="frmZero"');
836:
837: XNP_WSGL.LayoutOpen(XNP_WSGL.LAYOUT_TABLE);
838:
839: XNP_WSGL.LayoutRowStart;
879:
880: htp.p ('');
884: htp.p ('');
881: htp.p ('document.write ('''')');
882: htp.p ('//-->');
883: htp.p ('');
884: htp.p ('');
888:
889: if XNP_WSGL.IsSupported ('NOSCRIPT')
882: htp.p ('//-->');
883: htp.p ('');
884: htp.p ('');
888:
889: if XNP_WSGL.IsSupported ('NOSCRIPT')
890: then
883: htp.p ('');
884: htp.p ('');
888:
889: if XNP_WSGL.IsSupported ('NOSCRIPT')
890: then
891:
888:
889: if XNP_WSGL.IsSupported ('NOSCRIPT')
890: then
891:
892: htp.p ('893: htp.formSubmit('Z_ACTION', htf.escape_sc(QF_QUERY_BUT_CAPTION));
894: htp.p ('');
895:
896: end if;
889: if XNP_WSGL.IsSupported ('NOSCRIPT')
890: then
891:
892: htp.p ('');
895:
896: end if;
897: htp.formReset(htf.escape_sc(QF_CLEAR_BUT_CAPTION));
890: then
891:
892: htp.p ('');
895:
896: end if;
897: htp.formReset(htf.escape_sc(QF_CLEAR_BUT_CAPTION));
898:
893: htp.formSubmit('Z_ACTION', htf.escape_sc(QF_QUERY_BUT_CAPTION));
894: htp.p ('');
895:
896: end if;
897: htp.formReset(htf.escape_sc(QF_CLEAR_BUT_CAPTION));
898:
899: XNP_WSGL.HiddenField('Z_CHK',
900: to_char(XNP_WSGL.Checksum('')));
901: htp.formClose;
897: htp.formReset(htf.escape_sc(QF_CLEAR_BUT_CAPTION));
898:
899: XNP_WSGL.HiddenField('Z_CHK',
900: to_char(XNP_WSGL.Checksum('')));
901: htp.formClose;
902:
903: htp.p(htf.img('/OA_MEDIA/FNDLOGOS.gif'));
904:
905: XNP_WSGL.ClosePageBody;
899: XNP_WSGL.HiddenField('Z_CHK',
900: to_char(XNP_WSGL.Checksum('')));
901: htp.formClose;
902:
903: htp.p(htf.img('/OA_MEDIA/FNDLOGOS.gif'));
904:
905: XNP_WSGL.ClosePageBody;
906:
907: exception
930: XNP_WSGL.ClosePageHead;
931:
932: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>VF_BODY_ATTRIBUTES);
933:
934: htp.p(htf.bold(fnd_message.get_string('XNP','WEB_TITLE')));
935: htp.p(htf.header(1,fnd_message.get_string('XNP','WEB_XNPTIMER_DETAILS_TITLE')));
936: InitialiseDomain('STATUS');
937:
938:
931:
932: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>VF_BODY_ATTRIBUTES);
933:
934: htp.p(htf.bold(fnd_message.get_string('XNP','WEB_TITLE')));
935: htp.p(htf.header(1,fnd_message.get_string('XNP','WEB_XNPTIMER_DETAILS_TITLE')));
936: InitialiseDomain('STATUS');
937:
938:
939:
1023: XNP_WSGL.ReturnLinks('0.1', XNP_WSGL.MENU_LONG);
1024: XNP_WSGL.NavLinks;
1025:
1026:
1027: htp.p(htf.img('/OA_MEDIA/FNDLOGOS.gif'));
1028:
1029: XNP_WSGL.ClosePageBody;
1030:
1031: exception
1207: XNP_WSGL.ClosePageHead;
1208:
1209: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>RL_BODY_ATTRIBUTES);
1210:
1211: htp.p(htf.bold(fnd_message.get_string('XNP','WEB_TITLE')));
1212: htp.p(htf.header(1,fnd_message.get_string('XNP','WEB_XNPTIMER_DETAILS_TITLE')));
1213: if (Z_ACTION = RL_LAST_BUT_ACTION) or (Z_ACTION = RL_LAST_BUT_CAPTION) or
1214: (Z_ACTION = RL_COUNT_BUT_ACTION) or (Z_ACTION = RL_COUNT_BUT_CAPTION) or
1215: (RL_TOTAL_COUNT_REQD)
1208:
1209: XNP_WSGL.OpenPageBody(FALSE, p_attributes=>RL_BODY_ATTRIBUTES);
1210:
1211: htp.p(htf.bold(fnd_message.get_string('XNP','WEB_TITLE')));
1212: htp.p(htf.header(1,fnd_message.get_string('XNP','WEB_XNPTIMER_DETAILS_TITLE')));
1213: if (Z_ACTION = RL_LAST_BUT_ACTION) or (Z_ACTION = RL_LAST_BUT_CAPTION) or
1214: (Z_ACTION = RL_COUNT_BUT_ACTION) or (Z_ACTION = RL_COUNT_BUT_CAPTION) or
1215: (RL_TOTAL_COUNT_REQD)
1216: then
1381:
1382: XNP_WSGL.LayoutClose;
1383:
1384: if I_START = I_TOTAL_ROWS then
1385: htp.p(XNP_WSGL.MsgGetText(109,XNP_WSGLM.DSP109_RECORD, to_char(I_TOTAL_ROWS))||I_OF_TOTAL_TEXT);
1386: else
1387: htp.p(XNP_WSGL.MsgGetText(110,XNP_WSGLM.DSP110_RECORDS_N_M,
1388: to_char(I_START), to_char(I_TOTAL_ROWS))||
1389: I_OF_TOTAL_TEXT);
1383:
1384: if I_START = I_TOTAL_ROWS then
1385: htp.p(XNP_WSGL.MsgGetText(109,XNP_WSGLM.DSP109_RECORD, to_char(I_TOTAL_ROWS))||I_OF_TOTAL_TEXT);
1386: else
1387: htp.p(XNP_WSGL.MsgGetText(110,XNP_WSGLM.DSP110_RECORDS_N_M,
1388: to_char(I_START), to_char(I_TOTAL_ROWS))||
1389: I_OF_TOTAL_TEXT);
1390: end if;
1391: htp.para;
1387: htp.p(XNP_WSGL.MsgGetText(110,XNP_WSGLM.DSP110_RECORDS_N_M,
1388: to_char(I_START), to_char(I_TOTAL_ROWS))||
1389: I_OF_TOTAL_TEXT);
1390: end if;
1391: htp.para;
1392: else
1393: htp.p(XNP_WSGL.MsgGetText(112,XNP_WSGLM.DSP112_NO_RECORDS));
1394: end if;
1395:
1389: I_OF_TOTAL_TEXT);
1390: end if;
1391: htp.para;
1392: else
1393: htp.p(XNP_WSGL.MsgGetText(112,XNP_WSGLM.DSP112_NO_RECORDS));
1394: end if;
1395:
1396: if nvl(Z_ACTION, 'X') <> 'DONTQUERY' then
1397: dbms_sql.close_cursor(I_CURSOR);
1396: if nvl(Z_ACTION, 'X') <> 'DONTQUERY' then
1397: dbms_sql.close_cursor(I_CURSOR);
1398: end if;
1399:
1400: htp.formOpen(curl => 'xnp_timers$xnp_timer_registry.querylist', cattributes => 'NAME="frmZero"');
1401: XNP_WSGL.HiddenField('P_ORDER_ID', P_ORDER_ID);
1402: XNP_WSGL.HiddenField('U_ORDER_ID', U_ORDER_ID);
1403: XNP_WSGL.HiddenField('P_REFERENCE_ID', P_REFERENCE_ID);
1404: XNP_WSGL.HiddenField('P_TIMER_MESSAGE_CODE', P_TIMER_MESSAGE_CODE);
1409: XNP_WSGL.HiddenField('U_END_TIME', U_END_TIME);
1410: XNP_WSGL.HiddenField('P_NEXT_TIMER', P_NEXT_TIMER);
1411: XNP_WSGL.HiddenField('Z_START', to_char(I_START));
1412: htp.p ('');
1416:
1417: XNP_WSGL.RecordListButton(I_PREV_BUT, 'Z_ACTION', htf.escape_sc(RL_FIRST_BUT_CAPTION), XNP_WSGL.MsgGetText(213,XNP_WSGLM.MSG213_AT_FIRST), FALSE,
1410: XNP_WSGL.HiddenField('P_NEXT_TIMER', P_NEXT_TIMER);
1411: XNP_WSGL.HiddenField('Z_START', to_char(I_START));
1412: htp.p ('');
1416:
1417: XNP_WSGL.RecordListButton(I_PREV_BUT, 'Z_ACTION', htf.escape_sc(RL_FIRST_BUT_CAPTION), XNP_WSGL.MsgGetText(213,XNP_WSGLM.MSG213_AT_FIRST), FALSE,
1418: 'onClick="this.form.Z_ACTION.value=\''' || RL_FIRST_BUT_ACTION || '\''"');
1411: XNP_WSGL.HiddenField('Z_START', to_char(I_START));
1412: htp.p ('');
1416:
1417: XNP_WSGL.RecordListButton(I_PREV_BUT, 'Z_ACTION', htf.escape_sc(RL_FIRST_BUT_CAPTION), XNP_WSGL.MsgGetText(213,XNP_WSGLM.MSG213_AT_FIRST), FALSE,
1418: 'onClick="this.form.Z_ACTION.value=\''' || RL_FIRST_BUT_ACTION || '\''"');
1419: XNP_WSGL.RecordListButton(I_PREV_BUT, 'Z_ACTION', htf.escape_sc(RL_PREV_BUT_CAPTION), XNP_WSGL.MsgGetText(213,XNP_WSGLM.MSG213_AT_FIRST), FALSE,
1424: 'onClick="this.form.Z_ACTION.value=\''' || RL_LAST_BUT_ACTION || '\''"');
1425:
1426: XNP_WSGL.RecordListButton(TRUE, 'Z_ACTION', htf.escape_sc(RL_REQUERY_BUT_CAPTION),p_dojs=>FALSE,
1427: buttonJS => 'onClick="this.form.Z_ACTION.value=\''' || RL_REQUERY_BUT_ACTION || '\''"');
1428: htp.para;
1429:
1430: XNP_WSGL.RecordListButton(TRUE, 'Z_ACTION', htf.escape_sc(RL_QUERY_BUT_CAPTION),p_dojs=>FALSE,
1431: buttonJS => 'onClick="this.form.Z_ACTION.value=\''' || RL_QUERY_BUT_ACTION || '\''"');
1432: XNP_WSGL.HiddenField('Z_CHK',
1430: XNP_WSGL.RecordListButton(TRUE, 'Z_ACTION', htf.escape_sc(RL_QUERY_BUT_CAPTION),p_dojs=>FALSE,
1431: buttonJS => 'onClick="this.form.Z_ACTION.value=\''' || RL_QUERY_BUT_ACTION || '\''"');
1432: XNP_WSGL.HiddenField('Z_CHK',
1433: to_char(XNP_WSGL.Checksum('')));
1434: htp.formClose;
1435:
1436: XNP_WSGL.ReturnLinks('0', XNP_WSGL.MENU_LONG);
1437: XNP_WSGL.NavLinks;
1438:
1435:
1436: XNP_WSGL.ReturnLinks('0', XNP_WSGL.MENU_LONG);
1437: XNP_WSGL.NavLinks;
1438:
1439: htp.p(htf.img('/OA_MEDIA/FNDLOGOS.gif'));
1440:
1441: XNP_WSGL.ClosePageBody;
1442:
1443: exception
1637: --
1638: --------------------------------------------------------------------------------
1639: procedure CreateQueryJavaScript is
1640: begin
1641: htp.p(XNP_WSGJSL.OpenScript);
1642: htp.p('var FormType = "Query";');
1643:
1644: htp.p(
1645: 'function TIMER_MESSAGE_CODE_LOV() {
1638: --------------------------------------------------------------------------------
1639: procedure CreateQueryJavaScript is
1640: begin
1641: htp.p(XNP_WSGJSL.OpenScript);
1642: htp.p('var FormType = "Query";');
1643:
1644: htp.p(
1645: 'function TIMER_MESSAGE_CODE_LOV() {
1646: var filter = "";
1640: begin
1641: htp.p(XNP_WSGJSL.OpenScript);
1642: htp.p('var FormType = "Query";');
1643:
1644: htp.p(
1645: 'function TIMER_MESSAGE_CODE_LOV() {
1646: var filter = "";
1647: var the_pathname = location.pathname;
1648: var i = the_pathname.indexOf (''/:'');
1661: "?Z_FILTER=" + escape(filter) + "&Z_MODE=Q" +
1662: "&Z_CALLER_URL=" + escape(location.protocol + ''//'' + location.host + the_pathname + location.search) +
1663: "&Z_ISSUE_WAIT=Y",');
1664: if LOV_FRAME is not null then
1665: htp.p(' "'||LOV_FRAME||'");');
1666: else
1667: htp.p(' "winLOV", "scrollbars=yes,resizable=yes,width=400,height=400");');
1668: end if;
1669: htp.p(' if (frmLOV.opener == null) {
1663: "&Z_ISSUE_WAIT=Y",');
1664: if LOV_FRAME is not null then
1665: htp.p(' "'||LOV_FRAME||'");');
1666: else
1667: htp.p(' "winLOV", "scrollbars=yes,resizable=yes,width=400,height=400");');
1668: end if;
1669: htp.p(' if (frmLOV.opener == null) {
1670: frmLOV.opener = self;
1671: }
1665: htp.p(' "'||LOV_FRAME||'");');
1666: else
1667: htp.p(' "winLOV", "scrollbars=yes,resizable=yes,width=400,height=400");');
1668: end if;
1669: htp.p(' if (frmLOV.opener == null) {
1670: frmLOV.opener = self;
1671: }
1672: }
1673: ');
1671: }
1672: }
1673: ');
1674:
1675: htp.p(
1676: 'function NEXT_TIMER_LOV() {
1677: var filter = "";
1678: var the_pathname = location.pathname;
1679: var i = the_pathname.indexOf (''/:'');
1692: "?Z_FILTER=" + escape(filter) + "&Z_MODE=Q" +
1693: "&Z_CALLER_URL=" + escape(location.protocol + ''//'' + location.host + the_pathname + location.search) +
1694: "&Z_ISSUE_WAIT=Y",');
1695: if LOV_FRAME is not null then
1696: htp.p(' "'||LOV_FRAME||'");');
1697: else
1698: htp.p(' "winLOV", "scrollbars=yes,resizable=yes,width=400,height=400");');
1699: end if;
1700: htp.p(' if (frmLOV.opener == null) {
1694: "&Z_ISSUE_WAIT=Y",');
1695: if LOV_FRAME is not null then
1696: htp.p(' "'||LOV_FRAME||'");');
1697: else
1698: htp.p(' "winLOV", "scrollbars=yes,resizable=yes,width=400,height=400");');
1699: end if;
1700: htp.p(' if (frmLOV.opener == null) {
1701: frmLOV.opener = self;
1702: }
1696: htp.p(' "'||LOV_FRAME||'");');
1697: else
1698: htp.p(' "winLOV", "scrollbars=yes,resizable=yes,width=400,height=400");');
1699: end if;
1700: htp.p(' if (frmLOV.opener == null) {
1701: frmLOV.opener = self;
1702: }
1703: }
1704: ');
1702: }
1703: }
1704: ');
1705:
1706: htp.p(XNP_WSGJSL.CloseScript);
1707: exception
1708: when others then
1709: XNP_WSGL.DisplayMessage(XNP_WSGL.MESS_EXCEPTION, SQLERRM, 'Timer Registry'||' : '||'Timers',
1710: QF_BODY_ATTRIBUTES, 'xnp_timers$xnp_timer_registry.CreateQueryJavaScript');
1719: --
1720: --------------------------------------------------------------------------------
1721: procedure CreateListJavaScript is
1722: begin
1723: htp.p(XNP_WSGJSL.OpenScript);
1724: htp.p('var FormType = "List";');
1725: htp.p(XNP_WSGJSL.CloseScript);
1726: exception
1727: when others then
1720: --------------------------------------------------------------------------------
1721: procedure CreateListJavaScript is
1722: begin
1723: htp.p(XNP_WSGJSL.OpenScript);
1724: htp.p('var FormType = "List";');
1725: htp.p(XNP_WSGJSL.CloseScript);
1726: exception
1727: when others then
1728: XNP_WSGL.DisplayMessage(XNP_WSGL.MESS_EXCEPTION, SQLERRM, 'Timer Registry'||' : '||'Timers',
1721: procedure CreateListJavaScript is
1722: begin
1723: htp.p(XNP_WSGJSL.OpenScript);
1724: htp.p('var FormType = "List";');
1725: htp.p(XNP_WSGJSL.CloseScript);
1726: exception
1727: when others then
1728: XNP_WSGL.DisplayMessage(XNP_WSGL.MESS_EXCEPTION, SQLERRM, 'Timer Registry'||' : '||'Timers',
1729: RL_BODY_ATTRIBUTES, 'xnp_timers$xnp_timer_registry.CreateListJavaScript');