754: l_bot_inner_edge_img_src := '';
755: l_bot_outer_edge_img_src := '';
756: END IF;
757:
758: x_str := htf.tableOpen( cborder => 'border=0'
759: , cattributes => 'cellpadding=0 cellspacing=0'
760: );
761: --
762: -- put in the first row of the table which will put in the from and back
760: );
761: --
762: -- put in the first row of the table which will put in the from and back
763: -- ends and the top row
764: x_str := x_str || htf.tableRowOpen;
765: --
766: FOR i IN 1 .. p_Button_table.COUNT LOOP
767: IF (p_Button_table(i).left_edge = G_ROUND_EDGE) THEN
768: l_str := '';
768: l_str := '';
769: ELSIF (p_Button_table(i).left_edge = G_FLAT_EDGE) THEN
770: l_str := l_left_flat_image_src;
771: END IF;
772: x_str := x_str || htf.tableData( cvalue => l_str
773: , crowspan => 5
774: );
775: --
776: l_str := l_top_outer_edge_img_src;
773: , crowspan => 5
774: );
775: --
776: l_str := l_top_outer_edge_img_src;
777: x_str := x_str || htf.tableData
778: ( cvalue => l_str
779: -- , cattributes => 'bgcolor="'||G_TOP_OUTER_EDGE_COLOR||'"'
780: , cattributes => 'class="G_TOP_OUTER_EDGE_COLOR"'
781: );
785: l_str := '';
786: elsif (p_Button_table(i).right_edge = G_FLAT_EDGE) then
787: l_str := l_right_flat_edge_img_src;
788: end if;
789: x_str := x_str || htf.tableData( cvalue => l_str
790: , crowspan => 5
791: );
792: --
793: if (i < p_Button_table.COUNT) then
798: else
799: l_thickness := G_STD_SPACER_THICKNESS;
800: end if;
801: --
802: x_str := x_str || htf.tableData( crowspan => 5
803: , cattributes=>'width="'||l_thickness||'"'
804: );
805: end if;
806: end loop;
803: , cattributes=>'width="'||l_thickness||'"'
804: );
805: end if;
806: end loop;
807: x_str := x_str || htf.tableRowClose;
808: --
809: -- put the top inner white line
810: x_str := x_str || htf.tableRowOpen;
811: for i in 1 .. p_Button_table.COUNT loop
806: end loop;
807: x_str := x_str || htf.tableRowClose;
808: --
809: -- put the top inner white line
810: x_str := x_str || htf.tableRowOpen;
811: for i in 1 .. p_Button_table.COUNT loop
812: l_str := '';
813: x_str := x_str || htf.tableData
814: ( cvalue => l_str
809: -- put the top inner white line
810: x_str := x_str || htf.tableRowOpen;
811: for i in 1 .. p_Button_table.COUNT loop
812: l_str := '';
813: x_str := x_str || htf.tableData
814: ( cvalue => l_str
815: -- , cattributes => 'bgcolor="'||G_TOP_INNER_EDGE_COLOR||'"'
816: , cattributes => 'class="G_TOP_INNER_EDGE_COLOR"'
817: );
815: -- , cattributes => 'bgcolor="'||G_TOP_INNER_EDGE_COLOR||'"'
816: , cattributes => 'class="G_TOP_INNER_EDGE_COLOR"'
817: );
818: end loop;
819: x_str := x_str || htf.tableRowClose;
820: --
821: -- put the images etc. for the button
822: x_str := x_str || htf.tableRowOpen;
823: for i in 1 .. p_Button_table.COUNT loop
818: end loop;
819: x_str := x_str || htf.tableRowClose;
820: --
821: -- put the images etc. for the button
822: x_str := x_str || htf.tableRowOpen;
823: for i in 1 .. p_Button_table.COUNT loop
824: --
825: if (p_Button_table(i).disabled = FND_API.G_TRUE) then
826: l_str := htf.FontOpen(cattributes => 'class=disbutton');
822: x_str := x_str || htf.tableRowOpen;
823: for i in 1 .. p_Button_table.COUNT loop
824: --
825: if (p_Button_table(i).disabled = FND_API.G_TRUE) then
826: l_str := htf.FontOpen(cattributes => 'class=disbutton');
827: elsif(p_Button_table(i).disabled = FND_API.G_FALSE) then
828: l_str := htf.FontOpen(cattributes => 'class=button');
829: end if;
830: --
824: --
825: if (p_Button_table(i).disabled = FND_API.G_TRUE) then
826: l_str := htf.FontOpen(cattributes => 'class=disbutton');
827: elsif(p_Button_table(i).disabled = FND_API.G_FALSE) then
828: l_str := htf.FontOpen(cattributes => 'class=button');
829: end if;
830: --
831: l_str := l_str || p_Button_table(i).label;
832: l_str := l_str || htf.fontClose;
828: l_str := htf.FontOpen(cattributes => 'class=button');
829: end if;
830: --
831: l_str := l_str || p_Button_table(i).label;
832: l_str := l_str || htf.fontClose;
833: --
834:
835: if(p_Button_table(i).disabled = FND_API.G_FALSE) then
836: l_str := htf.anchor( curl => p_Button_table(i).href
832: l_str := l_str || htf.fontClose;
833: --
834:
835: if(p_Button_table(i).disabled = FND_API.G_FALSE) then
836: l_str := htf.anchor( curl => p_Button_table(i).href
837: , ctext => l_str
838: );
839: end if;
840: --
838: );
839: end if;
840: --
841: --l_str := 'class="G_BUTTON_BG_COLOR" height="'||G_BUTTON_HEIGHT || '"';
842: x_str := x_str || htf.tableData( cvalue => l_str
843: , cnowrap => 'Y'
844: /*, cattributes => 'bgcolor="'
845: --|| G_BUTTON_BG_COLOR
846: || G_BUTTON_BG_COLOR
851: || G_BUTTON_HEIGHT||'"'*/
852: , cattributes => 'class="G_BUTTON_BG_COLOR" height="'||BIS_PORTLET_CUSTOM_PUB.c_BUTTON_HEIGHT || '"'
853: );
854: end loop;
855: x_str := x_str || htf.tableRowClose;
856: --
857: -- put the bottom inner line
858: x_str := x_str || htf.tableRowOpen;
859: for i in 1 .. p_Button_table.COUNT loop
854: end loop;
855: x_str := x_str || htf.tableRowClose;
856: --
857: -- put the bottom inner line
858: x_str := x_str || htf.tableRowOpen;
859: for i in 1 .. p_Button_table.COUNT loop
860: l_str := l_bot_inner_edge_img_src;--'';
861: x_str := x_str ||
862: htf.tableData
858: x_str := x_str || htf.tableRowOpen;
859: for i in 1 .. p_Button_table.COUNT loop
860: l_str := l_bot_inner_edge_img_src;--'';
861: x_str := x_str ||
862: htf.tableData
863: ( cvalue => l_str
864: -- , cattributes => 'bgcolor="'||G_BOT_INNER_EDGE_COLOR||'"'
865: , cattributes => 'class="G_BOT_INNER_EDGE_COLOR"'
866: );
864: -- , cattributes => 'bgcolor="'||G_BOT_INNER_EDGE_COLOR||'"'
865: , cattributes => 'class="G_BOT_INNER_EDGE_COLOR"'
866: );
867: end loop;
868: x_str := x_str || htf.tableRowClose;
869: --
870: -- put the bottom outer line
871: x_str := x_str || htf.tableRowOpen;
872: for i in 1 .. p_Button_table.COUNT loop
867: end loop;
868: x_str := x_str || htf.tableRowClose;
869: --
870: -- put the bottom outer line
871: x_str := x_str || htf.tableRowOpen;
872: for i in 1 .. p_Button_table.COUNT loop
873: null;
874: l_str := l_bot_outer_edge_img_src;--'';
875: x_str := x_str ||
872: for i in 1 .. p_Button_table.COUNT loop
873: null;
874: l_str := l_bot_outer_edge_img_src;--'';
875: x_str := x_str ||
876: htf.tableData
877: ( cvalue => l_str
878: -- , cattributes => 'bgcolor="'||G_BOT_OUTER_EDGE_COLOR||'"'
879: , cattributes => 'class="G_BOT_OUTER_EDGE_COLOR"'
880: );
878: -- , cattributes => 'bgcolor="'||G_BOT_OUTER_EDGE_COLOR||'"'
879: , cattributes => 'class="G_BOT_OUTER_EDGE_COLOR"'
880: );
881: end loop;
882: x_str := x_str || htf.tableRowClose;
883: x_str := x_str || htf.tableClose;
884: --
885: end GetButtonString;
886: --
879: , cattributes => 'class="G_BOT_OUTER_EDGE_COLOR"'
880: );
881: end loop;
882: x_str := x_str || htf.tableRowClose;
883: x_str := x_str || htf.tableClose;
884: --
885: end GetButtonString;
886: --
887: -- This function starts table with the
1150: PROCEDURE putGreyLine(p_col_num NUMBER)
1151: is
1152: begin
1153: htp.tableRowOpen;
1154: htp.tableData( cvalue => htf.img( curl => G_PXC_CCCCCC_IMG_SRC
1155: , cattributes => 'height=1 width=100%')
1156: , ccolspan => p_col_num
1157: --- , cattributes => 'height=1 valign=bottom align=left bgcolor=#CCCCCC '
1158: );
1166: , x_str OUT NOCOPY varchar2
1167: )
1168: is
1169: begin
1170: x_str := htf.tableOpen( calign => 'CENTER'
1171: , cattributes => 'border=0 cellpadding=0 cellspacing=0
1172: width="'
1173: || G_GROUP_BOX_TABLE_WIDTH_PRCNT||'%"'
1174: );
1171: , cattributes => 'border=0 cellpadding=0 cellspacing=0
1172: width="'
1173: || G_GROUP_BOX_TABLE_WIDTH_PRCNT||'%"'
1174: );
1175: x_str := x_str || htf.tableRowOpen;
1176: x_str := x_str || htf.tableData(ccolspan=>3, cattributes=>'height="12"');
1177:
1178: IF p_title_bold = FND_API.G_TRUE THEN
1179: x_str := x_str || htf.tableData( cvalue
1172: width="'
1173: || G_GROUP_BOX_TABLE_WIDTH_PRCNT||'%"'
1174: );
1175: x_str := x_str || htf.tableRowOpen;
1176: x_str := x_str || htf.tableData(ccolspan=>3, cattributes=>'height="12"');
1177:
1178: IF p_title_bold = FND_API.G_TRUE THEN
1179: x_str := x_str || htf.tableData( cvalue
1180: => htf.fontOpen(cattributes=>'class=bold')
1175: x_str := x_str || htf.tableRowOpen;
1176: x_str := x_str || htf.tableData(ccolspan=>3, cattributes=>'height="12"');
1177:
1178: IF p_title_bold = FND_API.G_TRUE THEN
1179: x_str := x_str || htf.tableData( cvalue
1180: => htf.fontOpen(cattributes=>'class=bold')
1181: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1182: || htf.fontClose
1183: , crowspan => 3
1176: x_str := x_str || htf.tableData(ccolspan=>3, cattributes=>'height="12"');
1177:
1178: IF p_title_bold = FND_API.G_TRUE THEN
1179: x_str := x_str || htf.tableData( cvalue
1180: => htf.fontOpen(cattributes=>'class=bold')
1181: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1182: || htf.fontClose
1183: , crowspan => 3
1184: , cattributes => 'valign=bottom NOWRAP'
1178: IF p_title_bold = FND_API.G_TRUE THEN
1179: x_str := x_str || htf.tableData( cvalue
1180: => htf.fontOpen(cattributes=>'class=bold')
1181: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1182: || htf.fontClose
1183: , crowspan => 3
1184: , cattributes => 'valign=bottom NOWRAP'
1185: );
1186: ELSE
1183: , crowspan => 3
1184: , cattributes => 'valign=bottom NOWRAP'
1185: );
1186: ELSE
1187: x_str := x_str || htf.tableData( cvalue
1188: => htf.fontOpen(cattributes=>'class=normal')
1189: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1190: || htf.fontClose
1191: , crowspan => 3
1184: , cattributes => 'valign=bottom NOWRAP'
1185: );
1186: ELSE
1187: x_str := x_str || htf.tableData( cvalue
1188: => htf.fontOpen(cattributes=>'class=normal')
1189: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1190: || htf.fontClose
1191: , crowspan => 3
1192: , cattributes => 'valign=bottom NOWRAP'
1186: ELSE
1187: x_str := x_str || htf.tableData( cvalue
1188: => htf.fontOpen(cattributes=>'class=normal')
1189: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1190: || htf.fontClose
1191: , crowspan => 3
1192: , cattributes => 'valign=bottom NOWRAP'
1193: );
1194: END IF;
1191: , crowspan => 3
1192: , cattributes => 'valign=bottom NOWRAP'
1193: );
1194: END IF;
1195: x_str := x_str || htf.tableData(cattributes=>'width = 1000');
1196: x_str := x_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1197: x_str := x_str || htf.tableRowClose;
1198:
1199: x_str := x_str || htf.tableRowOpen;
1192: , cattributes => 'valign=bottom NOWRAP'
1193: );
1194: END IF;
1195: x_str := x_str || htf.tableData(cattributes=>'width = 1000');
1196: x_str := x_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1197: x_str := x_str || htf.tableRowClose;
1198:
1199: x_str := x_str || htf.tableRowOpen;
1200: x_str := x_str || htf.tableData( cvalue =>htf.img(G_TOP_LEFT_CURVE_IMG_SRC)
1193: );
1194: END IF;
1195: x_str := x_str || htf.tableData(cattributes=>'width = 1000');
1196: x_str := x_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1197: x_str := x_str || htf.tableRowClose;
1198:
1199: x_str := x_str || htf.tableRowOpen;
1200: x_str := x_str || htf.tableData( cvalue =>htf.img(G_TOP_LEFT_CURVE_IMG_SRC)
1201: , ccolspan=>2
1195: x_str := x_str || htf.tableData(cattributes=>'width = 1000');
1196: x_str := x_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1197: x_str := x_str || htf.tableRowClose;
1198:
1199: x_str := x_str || htf.tableRowOpen;
1200: x_str := x_str || htf.tableData( cvalue =>htf.img(G_TOP_LEFT_CURVE_IMG_SRC)
1201: , ccolspan=>2
1202: , crowspan=>2
1203: , cattributes=>'height=1 width=1'
1196: x_str := x_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1197: x_str := x_str || htf.tableRowClose;
1198:
1199: x_str := x_str || htf.tableRowOpen;
1200: x_str := x_str || htf.tableData( cvalue =>htf.img(G_TOP_LEFT_CURVE_IMG_SRC)
1201: , ccolspan=>2
1202: , crowspan=>2
1203: , cattributes=>'height=1 width=1'
1204: );
1201: , ccolspan=>2
1202: , crowspan=>2
1203: , cattributes=>'height=1 width=1'
1204: );
1205: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1206: , cattributes => 'height=1 bgcolor='||
1207: G_PXC_666666
1208: );
1209: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1205: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1206: , cattributes => 'height=1 bgcolor='||
1207: G_PXC_666666
1208: );
1209: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1210: , cattributes => 'height=1 bgcolor='||
1211: G_PXC_666666
1212: );
1213: x_str := x_str || htf.tableData( cvalue =>htf.img(G_TOP_RIGHT_CURVE_IMG_SRC)
1209: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1210: , cattributes => 'height=1 bgcolor='||
1211: G_PXC_666666
1212: );
1213: x_str := x_str || htf.tableData( cvalue =>htf.img(G_TOP_RIGHT_CURVE_IMG_SRC)
1214: , ccolspan=>2
1215: , crowspan=>2
1216: , cattributes=>'height=1 width=1'
1217: );
1214: , ccolspan=>2
1215: , crowspan=>2
1216: , cattributes=>'height=1 width=1'
1217: );
1218: x_str := x_str || htf.tableRowClose;
1219:
1220: x_str := x_str || htf.tableRowOpen;
1221: x_str := x_str || htf.tableData( cattributes => 'height=5');
1222: x_str := x_str || htf.tableData( cattributes => 'height=5');
1216: , cattributes=>'height=1 width=1'
1217: );
1218: x_str := x_str || htf.tableRowClose;
1219:
1220: x_str := x_str || htf.tableRowOpen;
1221: x_str := x_str || htf.tableData( cattributes => 'height=5');
1222: x_str := x_str || htf.tableData( cattributes => 'height=5');
1223: x_str := x_str || htf.tableRowClose;
1224:
1217: );
1218: x_str := x_str || htf.tableRowClose;
1219:
1220: x_str := x_str || htf.tableRowOpen;
1221: x_str := x_str || htf.tableData( cattributes => 'height=5');
1222: x_str := x_str || htf.tableData( cattributes => 'height=5');
1223: x_str := x_str || htf.tableRowClose;
1224:
1225: x_str := x_str || htf.tableRowOpen;
1218: x_str := x_str || htf.tableRowClose;
1219:
1220: x_str := x_str || htf.tableRowOpen;
1221: x_str := x_str || htf.tableData( cattributes => 'height=5');
1222: x_str := x_str || htf.tableData( cattributes => 'height=5');
1223: x_str := x_str || htf.tableRowClose;
1224:
1225: x_str := x_str || htf.tableRowOpen;
1226: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1219:
1220: x_str := x_str || htf.tableRowOpen;
1221: x_str := x_str || htf.tableData( cattributes => 'height=5');
1222: x_str := x_str || htf.tableData( cattributes => 'height=5');
1223: x_str := x_str || htf.tableRowClose;
1224:
1225: x_str := x_str || htf.tableRowOpen;
1226: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1227: , cattributes => 'width=1 bgcolor='
1221: x_str := x_str || htf.tableData( cattributes => 'height=5');
1222: x_str := x_str || htf.tableData( cattributes => 'height=5');
1223: x_str := x_str || htf.tableRowClose;
1224:
1225: x_str := x_str || htf.tableRowOpen;
1226: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1227: , cattributes => 'width=1 bgcolor='
1228: || G_PXC_666666
1229: );
1222: x_str := x_str || htf.tableData( cattributes => 'height=5');
1223: x_str := x_str || htf.tableRowClose;
1224:
1225: x_str := x_str || htf.tableRowOpen;
1226: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1227: , cattributes => 'width=1 bgcolor='
1228: || G_PXC_666666
1229: );
1230: x_str := x_str || htf.tableData( cattributes => 'width=5');
1226: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1227: , cattributes => 'width=1 bgcolor='
1228: || G_PXC_666666
1229: );
1230: x_str := x_str || htf.tableData( cattributes => 'width=5');
1231: x_str := x_str || htf.tableData( cattributes => 'width=10');
1232: x_str := x_str || htf.tableData( cvalue => p_data_string
1233: , ccolspan => 2
1234: , calign => 'CENTER'
1227: , cattributes => 'width=1 bgcolor='
1228: || G_PXC_666666
1229: );
1230: x_str := x_str || htf.tableData( cattributes => 'width=5');
1231: x_str := x_str || htf.tableData( cattributes => 'width=10');
1232: x_str := x_str || htf.tableData( cvalue => p_data_string
1233: , ccolspan => 2
1234: , calign => 'CENTER'
1235: );
1228: || G_PXC_666666
1229: );
1230: x_str := x_str || htf.tableData( cattributes => 'width=5');
1231: x_str := x_str || htf.tableData( cattributes => 'width=10');
1232: x_str := x_str || htf.tableData( cvalue => p_data_string
1233: , ccolspan => 2
1234: , calign => 'CENTER'
1235: );
1236: x_str := x_str || htf.tableData(cattributes => 'width=5');
1232: x_str := x_str || htf.tableData( cvalue => p_data_string
1233: , ccolspan => 2
1234: , calign => 'CENTER'
1235: );
1236: x_str := x_str || htf.tableData(cattributes => 'width=5');
1237: x_str := x_str || htf.tableData(cattributes => 'width=1');
1238: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1239: , cattributes => 'width=1 bgcolor='
1240: || G_PXC_666666
1233: , ccolspan => 2
1234: , calign => 'CENTER'
1235: );
1236: x_str := x_str || htf.tableData(cattributes => 'width=5');
1237: x_str := x_str || htf.tableData(cattributes => 'width=1');
1238: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1239: , cattributes => 'width=1 bgcolor='
1240: || G_PXC_666666
1241: );
1234: , calign => 'CENTER'
1235: );
1236: x_str := x_str || htf.tableData(cattributes => 'width=5');
1237: x_str := x_str || htf.tableData(cattributes => 'width=1');
1238: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1239: , cattributes => 'width=1 bgcolor='
1240: || G_PXC_666666
1241: );
1242: x_str := x_str || htf.tableRowClose;
1238: x_str := x_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1239: , cattributes => 'width=1 bgcolor='
1240: || G_PXC_666666
1241: );
1242: x_str := x_str || htf.tableRowClose;
1243:
1244: x_str := x_str || htf.tableRowOpen;
1245: x_str := x_str || htf.tableData(cvalue =>htf.img(G_BOT_LEFT_CURVE_IMG_SRC)
1246: , cattributes => 'height=1 width=1'
1240: || G_PXC_666666
1241: );
1242: x_str := x_str || htf.tableRowClose;
1243:
1244: x_str := x_str || htf.tableRowOpen;
1245: x_str := x_str || htf.tableData(cvalue =>htf.img(G_BOT_LEFT_CURVE_IMG_SRC)
1246: , cattributes => 'height=1 width=1'
1247: , ccolspan => 2
1248: , crowspan => 2
1241: );
1242: x_str := x_str || htf.tableRowClose;
1243:
1244: x_str := x_str || htf.tableRowOpen;
1245: x_str := x_str || htf.tableData(cvalue =>htf.img(G_BOT_LEFT_CURVE_IMG_SRC)
1246: , cattributes => 'height=1 width=1'
1247: , ccolspan => 2
1248: , crowspan => 2
1249: );
1246: , cattributes => 'height=1 width=1'
1247: , ccolspan => 2
1248: , crowspan => 2
1249: );
1250: x_str := x_str || htf.tableData( ccolspan => 3
1251: , cattributes => 'height=5'
1252: );
1253: x_str := x_str || htf.tableData(cvalue=>htf.img(G_BOT_RIGHT_CURVE_IMG_SRC)
1254: , cattributes => 'height=1 width=1'
1249: );
1250: x_str := x_str || htf.tableData( ccolspan => 3
1251: , cattributes => 'height=5'
1252: );
1253: x_str := x_str || htf.tableData(cvalue=>htf.img(G_BOT_RIGHT_CURVE_IMG_SRC)
1254: , cattributes => 'height=1 width=1'
1255: , ccolspan => 2
1256: , crowspan => 2
1257: );
1254: , cattributes => 'height=1 width=1'
1255: , ccolspan => 2
1256: , crowspan => 2
1257: );
1258: x_str := x_str || htf.tableRowClose;
1259:
1260: x_str := x_str || htf.tableRowOpen;
1261: x_str := x_str || htf.tableData(cvalue=>htf.img(G_PXC_666666_IMG_SRC)
1262: , ccolspan => 3
1256: , crowspan => 2
1257: );
1258: x_str := x_str || htf.tableRowClose;
1259:
1260: x_str := x_str || htf.tableRowOpen;
1261: x_str := x_str || htf.tableData(cvalue=>htf.img(G_PXC_666666_IMG_SRC)
1262: , ccolspan => 3
1263: , cattributes =>'height=1 width=1000 bgcolor='
1264: || G_PXC_666666
1257: );
1258: x_str := x_str || htf.tableRowClose;
1259:
1260: x_str := x_str || htf.tableRowOpen;
1261: x_str := x_str || htf.tableData(cvalue=>htf.img(G_PXC_666666_IMG_SRC)
1262: , ccolspan => 3
1263: , cattributes =>'height=1 width=1000 bgcolor='
1264: || G_PXC_666666
1265: );
1262: , ccolspan => 3
1263: , cattributes =>'height=1 width=1000 bgcolor='
1264: || G_PXC_666666
1265: );
1266: x_str := x_str || htf.tableRowClose;
1267: x_str := x_str || htf.tableClose;
1268:
1269: end getGroupBoxString;
1270:
1263: , cattributes =>'height=1 width=1000 bgcolor='
1264: || G_PXC_666666
1265: );
1266: x_str := x_str || htf.tableRowClose;
1267: x_str := x_str || htf.tableClose;
1268:
1269: end getGroupBoxString;
1270:
1271: PROCEDURE getGroupBoxString
1277: IS
1278: l_str VARCHAR2(32000);
1279: BEGIN
1280:
1281: l_str := htf.tableOpen( calign => 'CENTER'
1282: , cattributes => 'border=0 cellpadding=0 cellspacing=0
1283: width='
1284: || G_GROUP_BOX_TABLE_WIDTH_PRCNT||'%'
1285: );
1282: , cattributes => 'border=0 cellpadding=0 cellspacing=0
1283: width='
1284: || G_GROUP_BOX_TABLE_WIDTH_PRCNT||'%'
1285: );
1286: l_str := l_str || htf.tableRowOpen;
1287: l_str := l_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1288:
1289: IF p_title_bold = FND_API.G_TRUE THEN
1290: l_str := l_str || htf.tableData( cvalue
1283: width='
1284: || G_GROUP_BOX_TABLE_WIDTH_PRCNT||'%'
1285: );
1286: l_str := l_str || htf.tableRowOpen;
1287: l_str := l_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1288:
1289: IF p_title_bold = FND_API.G_TRUE THEN
1290: l_str := l_str || htf.tableData( cvalue
1291: => htf.fontOpen(cattributes=>'class=bold')
1286: l_str := l_str || htf.tableRowOpen;
1287: l_str := l_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1288:
1289: IF p_title_bold = FND_API.G_TRUE THEN
1290: l_str := l_str || htf.tableData( cvalue
1291: => htf.fontOpen(cattributes=>'class=bold')
1292: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1293: || htf.fontClose
1294: , crowspan => 3
1287: l_str := l_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1288:
1289: IF p_title_bold = FND_API.G_TRUE THEN
1290: l_str := l_str || htf.tableData( cvalue
1291: => htf.fontOpen(cattributes=>'class=bold')
1292: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1293: || htf.fontClose
1294: , crowspan => 3
1295: , cattributes => 'valign=bottom NOWRAP'
1289: IF p_title_bold = FND_API.G_TRUE THEN
1290: l_str := l_str || htf.tableData( cvalue
1291: => htf.fontOpen(cattributes=>'class=bold')
1292: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1293: || htf.fontClose
1294: , crowspan => 3
1295: , cattributes => 'valign=bottom NOWRAP'
1296: );
1297: ELSE
1294: , crowspan => 3
1295: , cattributes => 'valign=bottom NOWRAP'
1296: );
1297: ELSE
1298: l_str := l_str || htf.tableData( cvalue
1299: => htf.fontOpen(cattributes=>'class=normal')
1300: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1301: || htf.fontClose
1302: , crowspan => 3
1295: , cattributes => 'valign=bottom NOWRAP'
1296: );
1297: ELSE
1298: l_str := l_str || htf.tableData( cvalue
1299: => htf.fontOpen(cattributes=>'class=normal')
1300: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1301: || htf.fontClose
1302: , crowspan => 3
1303: , cattributes => 'valign=bottom NOWRAP'
1297: ELSE
1298: l_str := l_str || htf.tableData( cvalue
1299: => htf.fontOpen(cattributes=>'class=normal')
1300: || '&'||'nbsp;'||p_title_string||'&'||'nbsp;'
1301: || htf.fontClose
1302: , crowspan => 3
1303: , cattributes => 'valign=bottom NOWRAP'
1304: );
1305: END IF;
1303: , cattributes => 'valign=bottom NOWRAP'
1304: );
1305: END IF;
1306:
1307: l_str := l_str || htf.tableData(cattributes=>'width = 1000');
1308: l_str := l_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1309: l_str := l_str || htf.tableRowClose;
1310:
1311: l_str := l_str || htf.tableRowOpen;
1304: );
1305: END IF;
1306:
1307: l_str := l_str || htf.tableData(cattributes=>'width = 1000');
1308: l_str := l_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1309: l_str := l_str || htf.tableRowClose;
1310:
1311: l_str := l_str || htf.tableRowOpen;
1312: l_str := l_str || htf.tableData( cvalue =>htf.img(G_TOP_LEFT_CURVE_IMG_SRC)
1305: END IF;
1306:
1307: l_str := l_str || htf.tableData(cattributes=>'width = 1000');
1308: l_str := l_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1309: l_str := l_str || htf.tableRowClose;
1310:
1311: l_str := l_str || htf.tableRowOpen;
1312: l_str := l_str || htf.tableData( cvalue =>htf.img(G_TOP_LEFT_CURVE_IMG_SRC)
1313: , ccolspan=>2
1307: l_str := l_str || htf.tableData(cattributes=>'width = 1000');
1308: l_str := l_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1309: l_str := l_str || htf.tableRowClose;
1310:
1311: l_str := l_str || htf.tableRowOpen;
1312: l_str := l_str || htf.tableData( cvalue =>htf.img(G_TOP_LEFT_CURVE_IMG_SRC)
1313: , ccolspan=>2
1314: , crowspan=>2
1315: , cattributes=>'height=1 width=1'
1308: l_str := l_str || htf.tableData(ccolspan=>3, cattributes=>'height=12');
1309: l_str := l_str || htf.tableRowClose;
1310:
1311: l_str := l_str || htf.tableRowOpen;
1312: l_str := l_str || htf.tableData( cvalue =>htf.img(G_TOP_LEFT_CURVE_IMG_SRC)
1313: , ccolspan=>2
1314: , crowspan=>2
1315: , cattributes=>'height=1 width=1'
1316: );
1313: , ccolspan=>2
1314: , crowspan=>2
1315: , cattributes=>'height=1 width=1'
1316: );
1317: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1318: , cattributes => 'height=1 bgcolor='||
1319: G_PXC_666666
1320: );
1321: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1317: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1318: , cattributes => 'height=1 bgcolor='||
1319: G_PXC_666666
1320: );
1321: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1322: , cattributes => 'height=1 bgcolor='||
1323: G_PXC_666666
1324: );
1325: l_str := l_str || htf.tableData( cvalue =>htf.img(G_TOP_RIGHT_CURVE_IMG_SRC)
1321: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1322: , cattributes => 'height=1 bgcolor='||
1323: G_PXC_666666
1324: );
1325: l_str := l_str || htf.tableData( cvalue =>htf.img(G_TOP_RIGHT_CURVE_IMG_SRC)
1326: , ccolspan=>2
1327: , crowspan=>2
1328: , cattributes=>'height=1 width=1'
1329: );
1326: , ccolspan=>2
1327: , crowspan=>2
1328: , cattributes=>'height=1 width=1'
1329: );
1330: l_str := l_str || htf.tableRowClose;
1331:
1332: l_str := l_str || htf.tableRowOpen;
1333: l_str := l_str || htf.tableData( cattributes => 'height=5');
1334: l_str := l_str || htf.tableData( cattributes => 'height=5');
1328: , cattributes=>'height=1 width=1'
1329: );
1330: l_str := l_str || htf.tableRowClose;
1331:
1332: l_str := l_str || htf.tableRowOpen;
1333: l_str := l_str || htf.tableData( cattributes => 'height=5');
1334: l_str := l_str || htf.tableData( cattributes => 'height=5');
1335: l_str := l_str || htf.tableRowClose;
1336:
1329: );
1330: l_str := l_str || htf.tableRowClose;
1331:
1332: l_str := l_str || htf.tableRowOpen;
1333: l_str := l_str || htf.tableData( cattributes => 'height=5');
1334: l_str := l_str || htf.tableData( cattributes => 'height=5');
1335: l_str := l_str || htf.tableRowClose;
1336:
1337: l_str := l_str || htf.tableRowOpen;
1330: l_str := l_str || htf.tableRowClose;
1331:
1332: l_str := l_str || htf.tableRowOpen;
1333: l_str := l_str || htf.tableData( cattributes => 'height=5');
1334: l_str := l_str || htf.tableData( cattributes => 'height=5');
1335: l_str := l_str || htf.tableRowClose;
1336:
1337: l_str := l_str || htf.tableRowOpen;
1338: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1331:
1332: l_str := l_str || htf.tableRowOpen;
1333: l_str := l_str || htf.tableData( cattributes => 'height=5');
1334: l_str := l_str || htf.tableData( cattributes => 'height=5');
1335: l_str := l_str || htf.tableRowClose;
1336:
1337: l_str := l_str || htf.tableRowOpen;
1338: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1339: , cattributes => 'width=1 bgcolor='
1333: l_str := l_str || htf.tableData( cattributes => 'height=5');
1334: l_str := l_str || htf.tableData( cattributes => 'height=5');
1335: l_str := l_str || htf.tableRowClose;
1336:
1337: l_str := l_str || htf.tableRowOpen;
1338: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1339: , cattributes => 'width=1 bgcolor='
1340: || G_PXC_666666
1341: );
1334: l_str := l_str || htf.tableData( cattributes => 'height=5');
1335: l_str := l_str || htf.tableRowClose;
1336:
1337: l_str := l_str || htf.tableRowOpen;
1338: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1339: , cattributes => 'width=1 bgcolor='
1340: || G_PXC_666666
1341: );
1342: l_str := l_str || htf.tableData( cattributes => 'width=5');
1338: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1339: , cattributes => 'width=1 bgcolor='
1340: || G_PXC_666666
1341: );
1342: l_str := l_str || htf.tableData( cattributes => 'width=5');
1343: l_str := l_str || htf.tableData( cattributes => 'width=10');
1344:
1345: x_data_tbl(1) := l_str;
1346: x_data_tbl(2) := '
1339: , cattributes => 'width=1 bgcolor='
1340: || G_PXC_666666
1341: );
1342: l_str := l_str || htf.tableData( cattributes => 'width=5');
1343: l_str := l_str || htf.tableData( cattributes => 'width=10');
1344:
1345: x_data_tbl(1) := l_str;
1346: x_data_tbl(2) := '
1348: x_data_tbl(i+2) := p_data_tbl(i);
1349: END LOOP;
1350: x_data_tbl(x_data_tbl.COUNT + 1) := '
1349: END LOOP;
1350: x_data_tbl(x_data_tbl.COUNT + 1) := '';
1351:
1352: l_str := htf.tableData(cattributes => 'width=5');
1353: l_str := l_str || htf.tableData(cattributes => 'width=1');
1354: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1355: , cattributes => 'width=1 bgcolor='
1356: || G_PXC_666666
1357: );
1350: x_data_tbl(x_data_tbl.COUNT + 1) := '';
1351:
1352: l_str := htf.tableData(cattributes => 'width=5');
1353: l_str := l_str || htf.tableData(cattributes => 'width=1');
1354: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1355: , cattributes => 'width=1 bgcolor='
1356: || G_PXC_666666
1357: );
1358: l_str := l_str || htf.tableRowClose;
1354: l_str := l_str || htf.tableData( cvalue => htf.img(G_PXC_666666_IMG_SRC)
1355: , cattributes => 'width=1 bgcolor='
1356: || G_PXC_666666
1357: );
1358: l_str := l_str || htf.tableRowClose;
1359:
1360: l_str := l_str || htf.tableRowOpen;
1361: l_str := l_str || htf.tableData(cvalue =>htf.img(G_BOT_LEFT_CURVE_IMG_SRC)
1362: , cattributes => 'height=1 width=1'
1356: || G_PXC_666666
1357: );
1358: l_str := l_str || htf.tableRowClose;
1359:
1360: l_str := l_str || htf.tableRowOpen;
1361: l_str := l_str || htf.tableData(cvalue =>htf.img(G_BOT_LEFT_CURVE_IMG_SRC)
1362: , cattributes => 'height=1 width=1'
1363: , ccolspan => 2
1364: , crowspan => 2
1357: );
1358: l_str := l_str || htf.tableRowClose;
1359:
1360: l_str := l_str || htf.tableRowOpen;
1361: l_str := l_str || htf.tableData(cvalue =>htf.img(G_BOT_LEFT_CURVE_IMG_SRC)
1362: , cattributes => 'height=1 width=1'
1363: , ccolspan => 2
1364: , crowspan => 2
1365: );
1362: , cattributes => 'height=1 width=1'
1363: , ccolspan => 2
1364: , crowspan => 2
1365: );
1366: l_str := l_str || htf.tableData( ccolspan => 3
1367: , cattributes => 'height=5'
1368: );
1369: l_str := l_str || htf.tableData(cvalue=>htf.img(G_BOT_RIGHT_CURVE_IMG_SRC)
1370: , cattributes => 'height=1 width=1'
1365: );
1366: l_str := l_str || htf.tableData( ccolspan => 3
1367: , cattributes => 'height=5'
1368: );
1369: l_str := l_str || htf.tableData(cvalue=>htf.img(G_BOT_RIGHT_CURVE_IMG_SRC)
1370: , cattributes => 'height=1 width=1'
1371: , ccolspan => 2
1372: , crowspan => 2
1373: );
1370: , cattributes => 'height=1 width=1'
1371: , ccolspan => 2
1372: , crowspan => 2
1373: );
1374: l_str := l_str || htf.tableRowClose;
1375:
1376: l_str := l_str || htf.tableRowOpen;
1377: l_str := l_str || htf.tableData(cvalue=>htf.img(G_PXC_666666_IMG_SRC)
1378: , ccolspan => 3
1372: , crowspan => 2
1373: );
1374: l_str := l_str || htf.tableRowClose;
1375:
1376: l_str := l_str || htf.tableRowOpen;
1377: l_str := l_str || htf.tableData(cvalue=>htf.img(G_PXC_666666_IMG_SRC)
1378: , ccolspan => 3
1379: , cattributes =>'height=1 width=1000 bgcolor='
1380: || G_PXC_666666
1373: );
1374: l_str := l_str || htf.tableRowClose;
1375:
1376: l_str := l_str || htf.tableRowOpen;
1377: l_str := l_str || htf.tableData(cvalue=>htf.img(G_PXC_666666_IMG_SRC)
1378: , ccolspan => 3
1379: , cattributes =>'height=1 width=1000 bgcolor='
1380: || G_PXC_666666
1381: );
1378: , ccolspan => 3
1379: , cattributes =>'height=1 width=1000 bgcolor='
1380: || G_PXC_666666
1381: );
1382: l_str := l_str || htf.tableRowClose;
1383: l_str := l_str || htf.tableClose;
1384:
1385: x_data_tbl(x_data_tbl.COUNT + 1) := l_str;
1386:
1379: , cattributes =>'height=1 width=1000 bgcolor='
1380: || G_PXC_666666
1381: );
1382: l_str := l_str || htf.tableRowClose;
1383: l_str := l_str || htf.tableClose;
1384:
1385: x_data_tbl(x_data_tbl.COUNT + 1) := l_str;
1386:
1387: END getGroupBoxString;
1406: if (p_heading = FND_API.G_TRUE) then
1407:
1408: --- rounded corners no longer needed
1409:
1410: x_str := x_str || htf.tableData
1411: ( cvalue => htf.img(curl => G_PXC_6699CC_IMG_SRC
1412: , cattributes => 'width=6'
1413: )
1414: , calign => 'RIGHT'
1407:
1408: --- rounded corners no longer needed
1409:
1410: x_str := x_str || htf.tableData
1411: ( cvalue => htf.img(curl => G_PXC_6699CC_IMG_SRC
1412: , cattributes => 'width=6'
1413: )
1414: , calign => 'RIGHT'
1415: , ccolspan => 2
1424: l_line_color := G_PXC_CCCCCC;
1425: l_img_src := G_PXC_CCCCCC_IMG_SRC;
1426: end if;
1427:
1428: x_str := x_str || htf.tableData
1429: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1430: , cattributes => 'width=1'
1431: )
1432: , calign => 'RIGHT'
1425: l_img_src := G_PXC_CCCCCC_IMG_SRC;
1426: end if;
1427:
1428: x_str := x_str || htf.tableData
1429: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1430: , cattributes => 'width=1'
1431: )
1432: , calign => 'RIGHT'
1433: , cattributes => ' bgcolor='||G_PXC_6699CC
1432: , calign => 'RIGHT'
1433: , cattributes => ' bgcolor='||G_PXC_6699CC
1434: );
1435:
1436: x_str := x_str || htf.tableData
1437: ( cvalue => htf.img( curl => l_img_src
1438: , cattributes => 'width=5'
1439: )
1440: , calign => 'RIGHT'
1433: , cattributes => ' bgcolor='||G_PXC_6699CC
1434: );
1435:
1436: x_str := x_str || htf.tableData
1437: ( cvalue => htf.img( curl => l_img_src
1438: , cattributes => 'width=5'
1439: )
1440: , calign => 'RIGHT'
1441: , cattributes => ' bgcolor='||l_line_color
1455: BEGIN
1456:
1457: if (p_heading = FND_API.G_TRUE) then
1458: ---rounded corners no longer needed
1459: x_str := x_str || htf.tableData
1460: ( cvalue => htf.img(curl => G_PXC_6699CC_IMG_SRC
1461: , cattributes => 'width=6'
1462: )
1463: , calign => 'LEFT'
1456:
1457: if (p_heading = FND_API.G_TRUE) then
1458: ---rounded corners no longer needed
1459: x_str := x_str || htf.tableData
1460: ( cvalue => htf.img(curl => G_PXC_6699CC_IMG_SRC
1461: , cattributes => 'width=6'
1462: )
1463: , calign => 'LEFT'
1464: , ccolspan => 2
1473: l_line_color := G_PXC_CCCCCC;
1474: l_img_src := G_PXC_CCCCCC_IMG_SRC;
1475: end if;
1476:
1477: x_str := x_str || htf.tableData
1478: ( cvalue => htf.img( curl => l_img_src
1479: , cattributes => 'width=5'
1480: )
1481: , calign => 'RIGHT'
1474: l_img_src := G_PXC_CCCCCC_IMG_SRC;
1475: end if;
1476:
1477: x_str := x_str || htf.tableData
1478: ( cvalue => htf.img( curl => l_img_src
1479: , cattributes => 'width=5'
1480: )
1481: , calign => 'RIGHT'
1482: , cattributes => ' bgcolor='||l_line_color
1481: , calign => 'RIGHT'
1482: , cattributes => ' bgcolor='||l_line_color
1483: );
1484:
1485: x_str := x_str || htf.tableData
1486: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1487: , cattributes => 'width=1'
1488: )
1489: , calign => 'RIGHT'
1482: , cattributes => ' bgcolor='||l_line_color
1483: );
1484:
1485: x_str := x_str || htf.tableData
1486: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1487: , cattributes => 'width=1'
1488: )
1489: , calign => 'RIGHT'
1490: , cattributes => ' width=1 bgcolor='||G_PXC_6699CC
1515:
1516: x_index := p_index;
1517: l_rec := p_table(x_index);
1518:
1519: x_str := htf.tableData( cvalue =>htf.img(G_TOP_RIGHT_BLUE_CURVE_IMG_SRC)
1520: , calign => 'RIGHT'
1521: , cattributes =>
1522: 'valign=top width=6'
1523: );
1527:
1528: l_color := G_PXC_6699CC;
1529: l_img_src := G_PXC_6699CC_IMG_SRC;
1530:
1531: x_str := x_str || htf.tableData
1532: ( cvalue => htf.img( curl => l_img_src
1533: , cattributes => 'width=1'
1534: )
1535: , calign => 'LEFT'
1528: l_color := G_PXC_6699CC;
1529: l_img_src := G_PXC_6699CC_IMG_SRC;
1530:
1531: x_str := x_str || htf.tableData
1532: ( cvalue => htf.img( curl => l_img_src
1533: , cattributes => 'width=1'
1534: )
1535: , calign => 'LEFT'
1536: , cattributes =>' width=1 bgcolor='||l_color
1547: -- we have a separator line in between columns
1548: -- thus we need to increase the col span to accomodate
1549: -- rowspan is increased by 1 as we are putting two rows for heading
1550: x_str := x_str
1551: || htf.tableHeader( cvalue =>
1552: htf.fontOpen(cattributes=>'class=tableheader')
1553: || l_str
1554: || htf.fontClose
1555: , calign => l_rec.align
1548: -- thus we need to increase the col span to accomodate
1549: -- rowspan is increased by 1 as we are putting two rows for heading
1550: x_str := x_str
1551: || htf.tableHeader( cvalue =>
1552: htf.fontOpen(cattributes=>'class=tableheader')
1553: || l_str
1554: || htf.fontClose
1555: , calign => l_rec.align
1556: , crowspan => l_rec.row_span + 1
1550: x_str := x_str
1551: || htf.tableHeader( cvalue =>
1552: htf.fontOpen(cattributes=>'class=tableheader')
1553: || l_str
1554: || htf.fontClose
1555: , calign => l_rec.align
1556: , crowspan => l_rec.row_span + 1
1557: , ccolspan => l_rec.col_span + l_rec.col_span - 1
1558: , cattributes => l_rec.attributes||' BGCOLOR='
1566:
1567: l_rec := p_table(x_index);
1568: end loop;
1569:
1570: x_str := htf.tableData( cvalue =>htf.img(G_TOP_RIGHT_BLUE_CURVE_IMG_SRC)
1571: , calign => 'LEFT'
1572: , cattributes =>
1573: 'valign=top width=6'
1574: );
1572: , cattributes =>
1573: 'valign=top width=6'
1574: );
1575:
1576: x_str := x_str || htf.tableRowClose;
1577: x_str := x_str || htf.tableRowOpen
1578: ( cvalign => 'TOP'
1579: , cattributes => 'height=19'
1580: );
1573: 'valign=top width=6'
1574: );
1575:
1576: x_str := x_str || htf.tableRowClose;
1577: x_str := x_str || htf.tableRowOpen
1578: ( cvalign => 'TOP'
1579: , cattributes => 'height=19'
1580: );
1581:
1578: ( cvalign => 'TOP'
1579: , cattributes => 'height=19'
1580: );
1581:
1582: x_str := x_str || htf.tableData
1583: ( cvalue => htf.img(G_PXC_6699CC_IMG_SRC)
1584: , calign => 'LEFT'
1585: , cattributes =>
1586: 'valign=bottom'
1579: , cattributes => 'height=19'
1580: );
1581:
1582: x_str := x_str || htf.tableData
1583: ( cvalue => htf.img(G_PXC_6699CC_IMG_SRC)
1584: , calign => 'LEFT'
1585: , cattributes =>
1586: 'valign=bottom'
1587: ||' bgcolor='||G_PXC_6699CC
1586: 'valign=bottom'
1587: ||' bgcolor='||G_PXC_6699CC
1588: );
1589:
1590: x_str := x_str || htf.tableData
1591: ( cvalue => htf.img(G_PXC_6699CC_IMG_SRC)
1592: , calign => 'LEFT'
1593: , cattributes =>
1594: 'valign=bottom'
1587: ||' bgcolor='||G_PXC_6699CC
1588: );
1589:
1590: x_str := x_str || htf.tableData
1591: ( cvalue => htf.img(G_PXC_6699CC_IMG_SRC)
1592: , calign => 'LEFT'
1593: , cattributes =>
1594: 'valign=bottom'
1595: ||' bgcolor='||G_PXC_6699CC
1631: -- l_color := G_PXC_999999;
1632: -- l_img_src := G_PXC_999999_IMG_SRC;
1633: -- end if;
1634:
1635: x_str := x_str || htf.tableData
1636: ( cvalue => htf.img( curl => l_img_src
1637: , cattributes => 'width=1'
1638: )
1639: , calign => 'LEFT'
1632: -- l_img_src := G_PXC_999999_IMG_SRC;
1633: -- end if;
1634:
1635: x_str := x_str || htf.tableData
1636: ( cvalue => htf.img( curl => l_img_src
1637: , cattributes => 'width=1'
1638: )
1639: , calign => 'LEFT'
1640: , cattributes =>' width=1 bgcolor='||l_color
1642: end if;
1643:
1644: l_str := l_rec.display_name;
1645: if (l_rec.href is not null) then
1646: l_str := htf.anchor2( curl => l_rec.href
1647: , ctext => l_rec.display_name
1648: );
1649: end if;
1650:
1659: if (p_heading = FND_API.G_TRUE) then
1660: -- we have a separator line in between columns
1661: -- thus we need to increase the col span to accomodate
1662: x_str := x_str
1663: || htf.tableHeader( cvalue =>
1664: htf.fontOpen(
1665: cattributes=>'class=tableheader'
1666: )
1667: || l_str
1660: -- we have a separator line in between columns
1661: -- thus we need to increase the col span to accomodate
1662: x_str := x_str
1663: || htf.tableHeader( cvalue =>
1664: htf.fontOpen(
1665: cattributes=>'class=tableheader'
1666: )
1667: || l_str
1668: || htf.fontClose
1664: htf.fontOpen(
1665: cattributes=>'class=tableheader'
1666: )
1667: || l_str
1668: || htf.fontClose
1669: , calign => l_rec.align
1670: , crowspan => l_rec.row_span
1671: , ccolspan => l_rec.col_span
1672: , cattributes => l_rec.attributes||' BGCOLOR='
1674: );
1675:
1676: else
1677: l_color := l_color_table(mod(p_row_num, 2));
1678: x_str := x_str || htf.tableData(cvalue =>
1679: htf.fontOpen(
1680: cattributes=>'class=normal'
1681: )
1682: || l_str
1675:
1676: else
1677: l_color := l_color_table(mod(p_row_num, 2));
1678: x_str := x_str || htf.tableData(cvalue =>
1679: htf.fontOpen(
1680: cattributes=>'class=normal'
1681: )
1682: || l_str
1683: || htf.fontClose
1679: htf.fontOpen(
1680: cattributes=>'class=normal'
1681: )
1682: || l_str
1683: || htf.fontClose
1684: , calign => l_rec.align
1685: , crowspan => l_rec.row_span
1686: , ccolspan => l_rec.col_span
1687: , cattributes => l_rec.attributes
1733: -- l_bottom_right_img := G_BOT_RIGHT_BLUE_IMG_SRC;
1734: -- end if;
1735:
1736: -- open the top level table
1737: x_str := htf.tableOpen( cborder => 'border=0'
1738: , calign => 'CENTER'
1739: , cattributes => p_col_count ||
1740: ' align=center cellpadding=0 cellspacing=0 width=96%'
1741: );
1743: l_width := (100-2)/p_col_count;
1744:
1745: for i in 1 .. p_head_row_count loop
1746:
1747: x_str := x_str || htf.tableRowOpen
1748: ( cvalign => 'TOP'
1749: , cattributes => 'height='||l_row_pixel_height
1750: );
1751:
1759: , l_str
1760: );
1761:
1762: x_str := x_str || l_str;
1763: x_str := x_str || htf.tableRowClose;
1764:
1765: end loop;
1766:
1767: l_cur_row := 1;
1767: l_cur_row := 1;
1768:
1769: for i in 1 .. p_data_row_count loop
1770:
1771: x_str := x_str || htf.tableRowOpen
1772: ( cvalign => 'TOP'
1773: , cattributes => 'height='||l_row_pixel_height
1774: );
1775: l_cur_row_p := l_cur_row;
1782: , l_str
1783: );
1784:
1785: x_str := x_str || l_str;
1786: x_str := x_str || htf.tableRowClose;
1787:
1788: end loop;
1789:
1790: x_str := x_str || htf.tableRowOpen;
1786: x_str := x_str || htf.tableRowClose;
1787:
1788: end loop;
1789:
1790: x_str := x_str || htf.tableRowOpen;
1791:
1792: --- Rounded corners not needed anymore
1793: x_str := x_str || htf.tableData
1794: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1789:
1790: x_str := x_str || htf.tableRowOpen;
1791:
1792: --- Rounded corners not needed anymore
1793: x_str := x_str || htf.tableData
1794: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1795: , cattributes => 'height=1'
1796: )
1797: , calign => 'LEFT'
1790: x_str := x_str || htf.tableRowOpen;
1791:
1792: --- Rounded corners not needed anymore
1793: x_str := x_str || htf.tableData
1794: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1795: , cattributes => 'height=1'
1796: )
1797: , calign => 'LEFT'
1798: , ccolspan => 2*p_col_count +3
1798: , ccolspan => 2*p_col_count +3
1799: , cattributes =>
1800: 'valign=bottom height=1 bgcolor='||G_PXC_6699CC
1801: );
1802: x_str := x_str || htf.tableData( cvalue =>
1803: htf.img(G_PXC_FFFFFF_IMG_SRC)
1804: , ccolspan => 1
1805: );
1806: --- Rounded corners no longer required
1799: , cattributes =>
1800: 'valign=bottom height=1 bgcolor='||G_PXC_6699CC
1801: );
1802: x_str := x_str || htf.tableData( cvalue =>
1803: htf.img(G_PXC_FFFFFF_IMG_SRC)
1804: , ccolspan => 1
1805: );
1806: --- Rounded corners no longer required
1807: x_str := x_str || htf.tableRowClose;
1803: htf.img(G_PXC_FFFFFF_IMG_SRC)
1804: , ccolspan => 1
1805: );
1806: --- Rounded corners no longer required
1807: x_str := x_str || htf.tableRowClose;
1808:
1809: x_str := x_str || htf.tableClose;
1810: end getTableString;
1811: --
1805: );
1806: --- Rounded corners no longer required
1807: x_str := x_str || htf.tableRowClose;
1808:
1809: x_str := x_str || htf.tableClose;
1810: end getTableString;
1811: --
1812: PROCEDURE getTableString
1813: ( p_heading_table IN HTML_Table_Element_Tbl_Type
1844: -- end if;
1845:
1846: -- open the top level table
1847: l_string_Ct := 1;
1848: x_str(l_string_ct) := htf.tableOpen( cborder => 'border=0'
1849: , calign => 'CENTER'
1850: , cattributes => p_col_count ||
1851: ' align=center cellpadding=0 cellspacing=0 width=96%'
1852: );
1855:
1856: for i in 1 .. p_head_row_count loop
1857: l_string_ct := l_string_ct + 1;
1858: l_str1 := '';
1859: l_str1 := l_str1 || htf.tableRowOpen
1860: ( cvalign => 'TOP'
1861: , cattributes => 'height='||l_row_pixel_height
1862: );
1863:
1870: , l_cur_row
1871: , l_str
1872: );
1873: l_str1 := l_str1 || l_str;
1874: l_str1 := l_str1 || htf.tableRowClose;
1875: x_str(l_string_ct) := l_str1;
1876:
1877:
1878: end loop;
1880:
1881: for i in 1 .. p_data_row_count loop
1882: l_string_ct := l_string_ct + 1;
1883: l_str1 := '';
1884: l_str1 := l_str1 || htf.tableRowOpen
1885: ( cvalign => 'TOP'
1886: , cattributes => 'height='||l_row_pixel_height
1887: );
1888: l_cur_row_p := l_cur_row;
1894: , l_cur_row
1895: , l_str
1896: );
1897: l_str1 := l_str1 || l_str;
1898: l_str1 := l_str1 || htf.tableRowClose;
1899: x_str(l_string_ct) := l_str1;
1900: --x_str(l_string_ct) := x_str(l_string_ct) || l_str;
1901: --x_str(l_string_ct) := x_str(l_string_ct) || htf.tableRowClose;
1902:
1897: l_str1 := l_str1 || l_str;
1898: l_str1 := l_str1 || htf.tableRowClose;
1899: x_str(l_string_ct) := l_str1;
1900: --x_str(l_string_ct) := x_str(l_string_ct) || l_str;
1901: --x_str(l_string_ct) := x_str(l_string_ct) || htf.tableRowClose;
1902:
1903: end loop;
1904: l_string_ct := l_string_ct + 1;
1905: x_str(l_string_ct) := htf.tableRowOpen;
1901: --x_str(l_string_ct) := x_str(l_string_ct) || htf.tableRowClose;
1902:
1903: end loop;
1904: l_string_ct := l_string_ct + 1;
1905: x_str(l_string_ct) := htf.tableRowOpen;
1906:
1907: --- Rounded corners not needed anymore
1908: x_str(l_string_ct) := x_str(l_string_ct) || htf.tableData
1909: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1904: l_string_ct := l_string_ct + 1;
1905: x_str(l_string_ct) := htf.tableRowOpen;
1906:
1907: --- Rounded corners not needed anymore
1908: x_str(l_string_ct) := x_str(l_string_ct) || htf.tableData
1909: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1910: , cattributes => 'height=1'
1911: )
1912: , calign => 'LEFT'
1905: x_str(l_string_ct) := htf.tableRowOpen;
1906:
1907: --- Rounded corners not needed anymore
1908: x_str(l_string_ct) := x_str(l_string_ct) || htf.tableData
1909: ( cvalue => htf.img( curl => G_PXC_6699CC_IMG_SRC
1910: , cattributes => 'height=1'
1911: )
1912: , calign => 'LEFT'
1913: , ccolspan => 2*p_col_count +3
1913: , ccolspan => 2*p_col_count +3
1914: , cattributes =>
1915: 'valign=bottom height=1 bgcolor='||G_PXC_6699CC
1916: );
1917: x_str(l_string_ct) := x_str(l_string_ct) || htf.tableData( cvalue =>
1918: htf.img(G_PXC_FFFFFF_IMG_SRC)
1919: , ccolspan => 1
1920: );
1921: --- Rounded corners no longer required
1914: , cattributes =>
1915: 'valign=bottom height=1 bgcolor='||G_PXC_6699CC
1916: );
1917: x_str(l_string_ct) := x_str(l_string_ct) || htf.tableData( cvalue =>
1918: htf.img(G_PXC_FFFFFF_IMG_SRC)
1919: , ccolspan => 1
1920: );
1921: --- Rounded corners no longer required
1922: x_str(l_string_ct) := x_str(l_string_ct) || htf.tableRowClose;
1918: htf.img(G_PXC_FFFFFF_IMG_SRC)
1919: , ccolspan => 1
1920: );
1921: --- Rounded corners no longer required
1922: x_str(l_string_ct) := x_str(l_string_ct) || htf.tableRowClose;
1923:
1924: l_string_ct := l_string_ct + 1;
1925: x_str(l_string_ct) := htf.tableClose;
1926: end getTableString;
1921: --- Rounded corners no longer required
1922: x_str(l_string_ct) := x_str(l_string_ct) || htf.tableRowClose;
1923:
1924: l_string_ct := l_string_ct + 1;
1925: x_str(l_string_ct) := htf.tableClose;
1926: end getTableString;
1927: --
1928: -- concatenate the two error tables into one
1929: PROCEDURE concatenateErrorTables
1998: begin
1999:
2000: if BIS_UTILITIES_PVT.Value_Missing(p_str) = FND_API.G_TRUE
2001: OR BIS_UTILITIES_PVT.Value_NOT_NULL(p_str) = FND_API.G_FALSE then
2002: return htf.tableData( cvalue => '&'||'nbsp'
2003: , calign => p_align
2004: , crowspan => p_rowspan
2005: , ccolspan => p_colspan
2006: );
2004: , crowspan => p_rowspan
2005: , ccolspan => p_colspan
2006: );
2007: else
2008: return htf.tableData( cvalue => p_str
2009: , calign => p_align
2010: , crowspan => p_rowspan
2011: , ccolspan => p_colspan
2012: );