64: for i in title_start..headerTab.COUNT loop
65: -- include the row attribute here for the first data
66: if (i=title_start) then
67: if (headerTab(i).trattr is null) then
68: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
69: else
70: htp.p('
66: if (i=title_start) then
72: end if;
78: calign=>'Center',
94: if (headerTab(i).level is null or headerTab(i).level = 0) then
100: end if;
102:
108: openrowcount := openrowcount + 1;
115: cattributes=>'id="' || wf_core.translate('SELECT') ||'"');
129: -- this is first multi level
134: openrowcount := openrowcount - 1;
136:
142:
156: -- if show all levels or show level 0
164: end if;
172: end if;
180: end if;
384: else
443: else
445: -- if attribute for TR tag is defined, use it.
453: dataTab(i).level = 0) then
458: cvalue=>dataTab(i).guid,
514: k := k+1;
515: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span);
516: end if;
523: k := k+1;
524: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span);
525: end if;
533: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
534: ' BGCOLOR=#99CCFF';
535: end if;
543: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
544: ' BGCOLOR=#99CCFF';
545: end if;
553: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
554: ' BGCOLOR=#99CCFF';
555: end if;
563: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
564: ' BGCOLOR=#99CCFF';
565: end if;
573: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
574: ' BGCOLOR=#99CCFF';
575: end if;
583: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
584: ' BGCOLOR=#99CCFF';
585: end if;
593: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
594: ' BGCOLOR=#99CCFF';
595: end if;
603: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
604: ' BGCOLOR=#99CCFF';
605: end if;
613: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
614: ' BGCOLOR=#99CCFF';
615: end if;
623: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
624: ' BGCOLOR=#99CCFF';
625: end if;
633: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
634: ' BGCOLOR=#99CCFF';
635: end if;
643: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
644: ' BGCOLOR=#99CCFF';
645: end if;
653: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
654: ' BGCOLOR=#99CCFF';
655: end if;
666: if (spanTab.COUNT = 0 or dataTab(i).level is null or
675: alt="' || wf_core.translate('WFE_EDIT_SUBSC_TITLE') || '"
688: end if;
701:
711: wfa_html.image_loc||'i_del.gif"
717: end if; -- include_delete
725: end loop; -- dataTab
729: htp.tableClose;
768: }');
797: }');
820: if (p_noblankpage is null) then
821: -- place a blank page before replace it.
929: dTab(i).col02 := 'Test Event 2';
930: dTab(i).col03 := 'TEST_EVENT2';
934: htp.p('
935: Wfe_Html_Util.Simple_Table(hTab, dTab,
67: if (headerTab(i).trattr is null) then
68: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
69: else
70: htp.p('');
71: end if;
72: end if;
73:
74: -- only include select before the first column
Line 76: htp.tableHeader(cvalue=>''||
73:
74: -- only include select before the first column
75: if (i=title_start and include_select) then
76: htp.tableHeader(cvalue=>''||
77: wf_core.translate('SELECT')||'',
78: calign=>'Center',
79: cattributes=>'ID="' || wf_core.translate('SELECT') || '"');
80: end if;
Line 82: htp.tableHeader(cvalue=>''||
79: cattributes=>'ID="' || wf_core.translate('SELECT') || '"');
80: end if;
81:
82: htp.tableHeader(cvalue=>''||
83: headerTab(i).value||'',
84: calign=>'Center',
85: cattributes=>'ID="' || headerTab(i).value || '"');
86: end loop;
Line 98: htp.tableRowClose;
95: if (prev_level = -1 or prev_level <> headerTab(i).level) then
96: -- multi level
97: if (prev_level <> -1) then
98: htp.tableRowClose;
99: openrowcount := openrowcount - 1;
100: end if;
101: prev_level := headerTab(i).level;
102:
Line 104: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
101: prev_level := headerTab(i).level;
102:
103: if (headerTab(i).trattr is null) then
104: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
105: else
106: htp.p('');
107: end if;
108: openrowcount := openrowcount + 1;
Line 106: htp.p('
');
103: if (headerTab(i).trattr is null) then
104: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
105: else
106: htp.p('');
107: end if;
108: openrowcount := openrowcount + 1;
109:
110: -- only include select before the first column
Line 112: htp.tableHeader(cvalue=>''||
109:
110: -- only include select before the first column
111: if (include_select) then
112: htp.tableHeader(cvalue=>''||
113: wf_core.translate('SELECT')||'',
114: calign=>'Center',
115: cattributes=>'id="' || wf_core.translate('SELECT') ||'"');
116: end if;
Line 119: htp.tableHeader(cvalue=>''||
116: end if;
117: end if;
118:
119: htp.tableHeader(cvalue=>''||
120: headerTab(i).value||'',
121: calign=>'Center',
122: cattributes=>headerTab(i).attr);
123: elsif (headerTab(i).level <= 0 or
Line 133: htp.tableRowClose;
130: if (prev_level <> headerTab(i).level) then
131: -- close the previous level row
132: if (prev_level <> -1) then
133: htp.tableRowClose;
134: openrowcount := openrowcount - 1;
135: end if;
136:
137: if (headerTab(i).trattr is null) then
Line 138: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
135: end if;
136:
137: if (headerTab(i).trattr is null) then
138: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
139: else
140: htp.p('');
141: end if;
142:
Line 140: htp.p('
');
137: if (headerTab(i).trattr is null) then
138: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
139: else
140: htp.p('');
141: end if;
142:
143: openrowcount := openrowcount + 1;
144: prev_level := headerTab(i).level;
Line 146: htp.tableHeader(cvalue=>''||
143: openrowcount := openrowcount + 1;
144: prev_level := headerTab(i).level;
145: end if;
146: htp.tableHeader(cvalue=>''||
147: headerTab(i).value||'',
148: calign=>'Center',
149: ccolspan=>to_char(spanTab(k).span),
150: cattributes=>headerTab(i).attr);
Line 160: htp.tableHeader(cvalue=>''||
157: if (level is null or level = 0) then
158: -- place these titles at the end
159: if (include_detail) then
160: htp.tableHeader(cvalue=>''||
161: headerTab(detail_index).value||'',
162: calign=>'Center',
163: cattributes=>'id="' || headerTab(detail_index).value || '"');
164: end if;
Line 168: htp.tableHeader(cvalue=>''||
165:
166: -- include the edit title
167: if (include_edit) then
168: htp.tableHeader(cvalue=>''||
169: headerTab(edit_index).value||'',
170: calign=>'Center',
171: cattributes=>'id="' || headerTab(edit_index).value || '"');
172: end if;
Line 176: htp.tableHeader(cvalue=>''||
173:
174: -- place the delete to the very end
175: if (include_delete) then
176: htp.tableHeader(cvalue=>''||
177: wf_core.translate('DELETE')||'',
178: calign=>'Center',
179: cattributes=>'id="' || wf_core.translate('DELETE') ||'"');
180: end if;
Line 184: htp.tableRowClose;
181: end if;
182:
183: if (openrowcount > 0) then
184: htp.tableRowClose;
185: openrowcount := openrowcount - 1;
186: end if;
187:
188: exception
Line 388: htp.tableOpen(cattributes=>l_tabattr);
385: l_tabattr := 'border=1 cellpadding=3 bgcolor=white width=100% summary=""';
386: end if;
387:
388: htp.tableOpen(cattributes=>l_tabattr);
389:
390: -- calculate the title_start
391: -- 1. Have nothing
392: -- title_start is correct, no recalculation
Line 447: htp.tableRowOpen(null, 'TOP');
444:
445: -- if attribute for TR tag is defined, use it.
446: if (dataTab(i).trattr is null) then
447: htp.tableRowOpen(null, 'TOP');
448: else
449: htp.p('');
450: end if;
451:
Line 449: htp.p('
');
446: if (dataTab(i).trattr is null) then
447: htp.tableRowOpen(null, 'TOP');
448: else
449: htp.p('');
450: end if;
451:
452: if (spanTab.COUNT = 0 or dataTab(i).level is null or
453: dataTab(i).level = 0) then
Line 457: htp.tableData(htf.formCheckbox(cname=>'h_guids',
454:
455: if (include_select) then
456: if (dataTab(i).selectable) then
457: htp.tableData(htf.formCheckbox(cname=>'h_guids',
458: cvalue=>dataTab(i).guid,
459: cattributes=>'id="i_select'||i||'"'),
460: 'CENTER',cattributes=>'id=""');
461: else
Line 462: htp.tableData(' ',cattributes=>'id=""');
459: cattributes=>'id="i_select'||i||'"'),
460: 'CENTER',cattributes=>'id=""');
461: else
462: htp.tableData(' ',cattributes=>'id=""');
463: end if;
464: end if;
465: hascspan := FALSE;
466: show := TRUE;
Line 518: htp.p(l_td);
515: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span);
516: end if;
517: l_td := l_td||'>';
518: htp.p(l_td);
519: htp.p(dataTab(i).col01);
520: htp.p('');
521: elsif (j = 2 and dataTab(i).col02 is not null) then
522: if (hascspan) then
Line 519: htp.p(dataTab(i).col01);
516: end if;
517: l_td := l_td||'>';
518: htp.p(l_td);
519: htp.p(dataTab(i).col01);
520: htp.p('');
521: elsif (j = 2 and dataTab(i).col02 is not null) then
522: if (hascspan) then
523: k := k+1;
Line 520: htp.p('');
517: l_td := l_td||'>';
518: htp.p(l_td);
519: htp.p(dataTab(i).col01);
520: htp.p('');
521: elsif (j = 2 and dataTab(i).col02 is not null) then
522: if (hascspan) then
523: k := k+1;
524: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span);
Line 527: htp.p(l_td);
524: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span);
525: end if;
526: l_td := l_td||'>';
527: htp.p(l_td);
528: htp.p(dataTab(i).col02);
529: htp.p('');
530: elsif (j = 3 and dataTab(i).col03 is not null) then
531: if (hascspan) then
Line 528: htp.p(dataTab(i).col02);
525: end if;
526: l_td := l_td||'>';
527: htp.p(l_td);
528: htp.p(dataTab(i).col02);
529: htp.p('');
530: elsif (j = 3 and dataTab(i).col03 is not null) then
531: if (hascspan) then
532: k := k+1;
Line 529: htp.p('');
526: l_td := l_td||'>';
527: htp.p(l_td);
528: htp.p(dataTab(i).col02);
529: htp.p('');
530: elsif (j = 3 and dataTab(i).col03 is not null) then
531: if (hascspan) then
532: k := k+1;
533: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 537: htp.p(l_td);
534: ' BGCOLOR=#99CCFF';
535: end if;
536: l_td := l_td||'>';
537: htp.p(l_td);
538: htp.p(dataTab(i).col03);
539: htp.p('');
540: elsif (j = 4 and dataTab(i).col04 is not null) then
541: if (hascspan) then
Line 538: htp.p(dataTab(i).col03);
535: end if;
536: l_td := l_td||'>';
537: htp.p(l_td);
538: htp.p(dataTab(i).col03);
539: htp.p('');
540: elsif (j = 4 and dataTab(i).col04 is not null) then
541: if (hascspan) then
542: k := k+1;
Line 539: htp.p('');
536: l_td := l_td||'>';
537: htp.p(l_td);
538: htp.p(dataTab(i).col03);
539: htp.p('');
540: elsif (j = 4 and dataTab(i).col04 is not null) then
541: if (hascspan) then
542: k := k+1;
543: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 547: htp.p(l_td);
544: ' BGCOLOR=#99CCFF';
545: end if;
546: l_td := l_td||'>';
547: htp.p(l_td);
548: htp.p(dataTab(i).col04);
549: htp.p('');
550: elsif (j = 5 and dataTab(i).col05 is not null) then
551: if (hascspan) then
Line 548: htp.p(dataTab(i).col04);
545: end if;
546: l_td := l_td||'>';
547: htp.p(l_td);
548: htp.p(dataTab(i).col04);
549: htp.p('');
550: elsif (j = 5 and dataTab(i).col05 is not null) then
551: if (hascspan) then
552: k := k+1;
Line 549: htp.p('');
546: l_td := l_td||'>';
547: htp.p(l_td);
548: htp.p(dataTab(i).col04);
549: htp.p('');
550: elsif (j = 5 and dataTab(i).col05 is not null) then
551: if (hascspan) then
552: k := k+1;
553: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 557: htp.p(l_td);
554: ' BGCOLOR=#99CCFF';
555: end if;
556: l_td := l_td||'>';
557: htp.p(l_td);
558: htp.p(dataTab(i).col05);
559: htp.p('');
560: elsif (j = 6 and dataTab(i).col06 is not null) then
561: if (hascspan) then
Line 558: htp.p(dataTab(i).col05);
555: end if;
556: l_td := l_td||'>';
557: htp.p(l_td);
558: htp.p(dataTab(i).col05);
559: htp.p('');
560: elsif (j = 6 and dataTab(i).col06 is not null) then
561: if (hascspan) then
562: k := k+1;
Line 559: htp.p('');
556: l_td := l_td||'>';
557: htp.p(l_td);
558: htp.p(dataTab(i).col05);
559: htp.p('');
560: elsif (j = 6 and dataTab(i).col06 is not null) then
561: if (hascspan) then
562: k := k+1;
563: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 567: htp.p(l_td);
564: ' BGCOLOR=#99CCFF';
565: end if;
566: l_td := l_td||'>';
567: htp.p(l_td);
568: htp.p(dataTab(i).col06);
569: htp.p('');
570: elsif (j = 7 and dataTab(i).col07 is not null) then
571: if (hascspan) then
Line 568: htp.p(dataTab(i).col06);
565: end if;
566: l_td := l_td||'>';
567: htp.p(l_td);
568: htp.p(dataTab(i).col06);
569: htp.p('');
570: elsif (j = 7 and dataTab(i).col07 is not null) then
571: if (hascspan) then
572: k := k+1;
Line 569: htp.p('');
566: l_td := l_td||'>';
567: htp.p(l_td);
568: htp.p(dataTab(i).col06);
569: htp.p('');
570: elsif (j = 7 and dataTab(i).col07 is not null) then
571: if (hascspan) then
572: k := k+1;
573: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 577: htp.p(l_td);
574: ' BGCOLOR=#99CCFF';
575: end if;
576: l_td := l_td||'>';
577: htp.p(l_td);
578: htp.p(dataTab(i).col07);
579: htp.p('');
580: elsif (j = 8 and dataTab(i).col08 is not null) then
581: if (hascspan) then
Line 578: htp.p(dataTab(i).col07);
575: end if;
576: l_td := l_td||'>';
577: htp.p(l_td);
578: htp.p(dataTab(i).col07);
579: htp.p('');
580: elsif (j = 8 and dataTab(i).col08 is not null) then
581: if (hascspan) then
582: k := k+1;
Line 579: htp.p('');
576: l_td := l_td||'>';
577: htp.p(l_td);
578: htp.p(dataTab(i).col07);
579: htp.p('');
580: elsif (j = 8 and dataTab(i).col08 is not null) then
581: if (hascspan) then
582: k := k+1;
583: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 587: htp.p(l_td);
584: ' BGCOLOR=#99CCFF';
585: end if;
586: l_td := l_td||'>';
587: htp.p(l_td);
588: htp.p(dataTab(i).col08);
589: htp.p('');
590: elsif (j = 9 and dataTab(i).col09 is not null) then
591: if (hascspan) then
Line 588: htp.p(dataTab(i).col08);
585: end if;
586: l_td := l_td||'>';
587: htp.p(l_td);
588: htp.p(dataTab(i).col08);
589: htp.p('');
590: elsif (j = 9 and dataTab(i).col09 is not null) then
591: if (hascspan) then
592: k := k+1;
Line 589: htp.p('');
586: l_td := l_td||'>';
587: htp.p(l_td);
588: htp.p(dataTab(i).col08);
589: htp.p('');
590: elsif (j = 9 and dataTab(i).col09 is not null) then
591: if (hascspan) then
592: k := k+1;
593: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 597: htp.p(l_td);
594: ' BGCOLOR=#99CCFF';
595: end if;
596: l_td := l_td||'>';
597: htp.p(l_td);
598: htp.p(dataTab(i).col09);
599: htp.p('');
600: elsif (j = 10 and dataTab(i).col10 is not null) then
601: if (hascspan) then
Line 598: htp.p(dataTab(i).col09);
595: end if;
596: l_td := l_td||'>';
597: htp.p(l_td);
598: htp.p(dataTab(i).col09);
599: htp.p('');
600: elsif (j = 10 and dataTab(i).col10 is not null) then
601: if (hascspan) then
602: k := k+1;
Line 599: htp.p('');
596: l_td := l_td||'>';
597: htp.p(l_td);
598: htp.p(dataTab(i).col09);
599: htp.p('');
600: elsif (j = 10 and dataTab(i).col10 is not null) then
601: if (hascspan) then
602: k := k+1;
603: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 607: htp.p(l_td);
604: ' BGCOLOR=#99CCFF';
605: end if;
606: l_td := l_td||'>';
607: htp.p(l_td);
608: htp.p(dataTab(i).col10);
609: htp.p('');
610: elsif (j = 11 and dataTab(i).col11 is not null) then
611: if (hascspan) then
Line 608: htp.p(dataTab(i).col10);
605: end if;
606: l_td := l_td||'>';
607: htp.p(l_td);
608: htp.p(dataTab(i).col10);
609: htp.p('');
610: elsif (j = 11 and dataTab(i).col11 is not null) then
611: if (hascspan) then
612: k := k+1;
Line 609: htp.p('');
606: l_td := l_td||'>';
607: htp.p(l_td);
608: htp.p(dataTab(i).col10);
609: htp.p('');
610: elsif (j = 11 and dataTab(i).col11 is not null) then
611: if (hascspan) then
612: k := k+1;
613: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 617: htp.p(l_td);
614: ' BGCOLOR=#99CCFF';
615: end if;
616: l_td := l_td||'>';
617: htp.p(l_td);
618: htp.p(dataTab(i).col11);
619: htp.p('');
620: elsif (j = 12 and dataTab(i).col12 is not null) then
621: if (hascspan) then
Line 618: htp.p(dataTab(i).col11);
615: end if;
616: l_td := l_td||'>';
617: htp.p(l_td);
618: htp.p(dataTab(i).col11);
619: htp.p('');
620: elsif (j = 12 and dataTab(i).col12 is not null) then
621: if (hascspan) then
622: k := k+1;
Line 619: htp.p('');
616: l_td := l_td||'>';
617: htp.p(l_td);
618: htp.p(dataTab(i).col11);
619: htp.p('');
620: elsif (j = 12 and dataTab(i).col12 is not null) then
621: if (hascspan) then
622: k := k+1;
623: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 627: htp.p(l_td);
624: ' BGCOLOR=#99CCFF';
625: end if;
626: l_td := l_td||'>';
627: htp.p(l_td);
628: htp.p(dataTab(i).col12);
629: htp.p('');
630: elsif (j = 13 and dataTab(i).col13 is not null) then
631: if (hascspan) then
Line 628: htp.p(dataTab(i).col12);
625: end if;
626: l_td := l_td||'>';
627: htp.p(l_td);
628: htp.p(dataTab(i).col12);
629: htp.p('');
630: elsif (j = 13 and dataTab(i).col13 is not null) then
631: if (hascspan) then
632: k := k+1;
Line 629: htp.p('');
626: l_td := l_td||'>';
627: htp.p(l_td);
628: htp.p(dataTab(i).col12);
629: htp.p('');
630: elsif (j = 13 and dataTab(i).col13 is not null) then
631: if (hascspan) then
632: k := k+1;
633: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 637: htp.p(l_td);
634: ' BGCOLOR=#99CCFF';
635: end if;
636: l_td := l_td||'>';
637: htp.p(l_td);
638: htp.p(dataTab(i).col13);
639: htp.p('');
640: elsif (j = 14 and dataTab(i).col14 is not null) then
641: if (hascspan) then
Line 638: htp.p(dataTab(i).col13);
635: end if;
636: l_td := l_td||'>';
637: htp.p(l_td);
638: htp.p(dataTab(i).col13);
639: htp.p('');
640: elsif (j = 14 and dataTab(i).col14 is not null) then
641: if (hascspan) then
642: k := k+1;
Line 639: htp.p('');
636: l_td := l_td||'>';
637: htp.p(l_td);
638: htp.p(dataTab(i).col13);
639: htp.p('');
640: elsif (j = 14 and dataTab(i).col14 is not null) then
641: if (hascspan) then
642: k := k+1;
643: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 647: htp.p(l_td);
644: ' BGCOLOR=#99CCFF';
645: end if;
646: l_td := l_td||'>';
647: htp.p(l_td);
648: htp.p(dataTab(i).col14);
649: htp.p('');
650: elsif (j = 15 and dataTab(i).col15 is not null) then
651: if (hascspan) then
Line 648: htp.p(dataTab(i).col14);
645: end if;
646: l_td := l_td||'>';
647: htp.p(l_td);
648: htp.p(dataTab(i).col14);
649: htp.p('');
650: elsif (j = 15 and dataTab(i).col15 is not null) then
651: if (hascspan) then
652: k := k+1;
Line 649: htp.p('');
646: l_td := l_td||'>';
647: htp.p(l_td);
648: htp.p(dataTab(i).col14);
649: htp.p('');
650: elsif (j = 15 and dataTab(i).col15 is not null) then
651: if (hascspan) then
652: k := k+1;
653: l_td := l_td||' COLSPAN='||to_char(spanTab(k).span)||
Line 657: htp.p(l_td);
654: ' BGCOLOR=#99CCFF';
655: end if;
656: l_td := l_td||'>';
657: htp.p(l_td);
658: htp.p(dataTab(i).col15);
659: htp.p('');
660: end if;
661: end loop;
Line 658: htp.p(dataTab(i).col15);
655: end if;
656: l_td := l_td||'>';
657: htp.p(l_td);
658: htp.p(dataTab(i).col15);
659: htp.p('');
660: end if;
661: end loop;
662: end if; -- show
Line 659: htp.p('');
656: l_td := l_td||'>';
657: htp.p(l_td);
658: htp.p(dataTab(i).col15);
659: htp.p('');
660: end if;
661: end loop;
662: end if; -- show
663:
Line 670: htp.tableData(htf.anchor2(
667: dataTab(i).level = 0) then
668: if (include_detail) then
669: if (dataTab(i).hasdetail) then
670: htp.tableData(htf.anchor2(
671: curl=>wfa_html.base_url||'/'||func_detail||
672: rawtohex(dataTab(i).guid),
673: ctext=>'
Line 679: htp.tableData(htf.anchor2(
676: BORDER=0>'),
677: 'CENTER', cattributes=>'valign="MIDDLE" id=""');
678: else
679: htp.tableData(htf.anchor2(
680: curl=>wfa_html.base_url||'/'||func_detail||
681: rawtohex(dataTab(i).guid),
682: ctext=>'
Line 692: htp.tableData(htf.anchor2(
689:
690: -- Edit Column
691: if (func_edit is not null) then
692: htp.tableData(htf.anchor2(
693: curl=>wfa_html.base_url||'/'||func_edit||
694: rawtohex(dataTab(i).guid),
695: ctext=>'
Line 705: htp.tableData(htf.anchor2(
702: -- place the delete at the very end
703: if (include_delete) then
704: if (dataTab(i).deletable) then
705: htp.tableData(htf.anchor2(
706: curl=>'javascript:confirm_url('''||
707: wf_core.translate('WFE_OK_DELETE')||''','''||
708: wfa_html.base_url||'/'||func_delete||
709: rawtohex(dataTab(i).guid)||''')',
Line 715: htp.tableData(' ',cattributes=>'id=""');
712: alt="' || wf_core.translate('DELETE') || '"BORDER=0>'),
713: 'CENTER', cattributes=>'valign="MIDDLE" id=""');
714: else
715: htp.tableData(' ',cattributes=>'id=""');
716: end if;
717: end if; -- include_delete
718:
719: end if; -- spanTab
Line 721: htp.tableRowClose;
718:
719: end if; -- spanTab
720:
721: htp.tableRowClose;
722:
723: end if; -- title/normal data
724:
725: end loop; -- dataTab
Line 729: htp.tableClose;
726:
727: end if; -- dataTab has rows
728:
729: htp.tableClose;
730:
731: -- if no row, put a page break here
732: if (dataTab.COUNT = 0) then
733: htp.br;
Line 733: htp.br;
730:
731: -- if no row, put a page break here
732: if (dataTab.COUNT = 0) then
733: htp.br;
734: end if;
735:
736: exception
737: when OTHERS then
Line 756: htp.p('');
773: end if;
774: end generate_check_all;
775:
Line 772: htp.p('');
769:
770: if (p_jscript_tag = 'Y') then
771: htp.p('');
772: htp.p('');
773: end if;
774: end generate_check_all;
775:
776: --
Line 788: htp.p('');
802: end if;
803: end generate_confirm;
804:
Line 801: htp.p('');
798:
799: if (p_jscript_tag = 'Y') then
800: htp.p('');
801: htp.p('');
802: end if;
803: end generate_confirm;
804:
805: -- gotoURL
Line 819: htp.p('');
826: end;
Line 824: htp.p(' window.location.replace("'||p_url||'")');
821: -- place a blank page before replace it.
822: htp.p('window.document.write("")');
823: end if;
824: htp.p(' window.location.replace("'||p_url||'")');
825: htp.p('');
826: end;
827:
828: procedure test
Line 825: htp.p('');
822: htp.p('window.document.write("")');
823: end if;
824: htp.p(' window.location.replace("'||p_url||'")');
825: htp.p('');
826: end;
827:
828: procedure test
829: is
Line 933: htp.htmlOpen;
930: dTab(i).col03 := 'TEST_EVENT2';
931:
932: -- Render Page
933: htp.htmlOpen;
934: htp.p('
935: Wfe_Html_Util.Simple_Table(hTab, dTab,
936: tabattr=>'border=0 cellpadding=3 cellspacing=2 bgcolor=#CCCCCC width=100%',
937: show_1st_title=>FALSE);
Line 934: htp.p('');
931:
932: -- Render Page
933: htp.htmlOpen;
934: htp.p('');
935: Wfe_Html_Util.Simple_Table(hTab, dTab,
936: tabattr=>'border=0 cellpadding=3 cellspacing=2 bgcolor=#CCCCCC width=100%',
937: show_1st_title=>FALSE);
938: htp.bodyClose;
Line 938: htp.bodyClose;
935: Wfe_Html_Util.Simple_Table(hTab, dTab,
936: tabattr=>'border=0 cellpadding=3 cellspacing=2 bgcolor=#CCCCCC width=100%',
937: show_1st_title=>FALSE);
938: htp.bodyClose;
939: htp.htmlClose;
940: end Test;
941:
942: end WFE_HTML_UTIL;
Line 939: htp.htmlClose;
936: tabattr=>'border=0 cellpadding=3 cellspacing=2 bgcolor=#CCCCCC width=100%',
937: show_1st_title=>FALSE);
938: htp.bodyClose;
939: htp.htmlClose;
940: end Test;
941:
942: end WFE_HTML_UTIL;