DBA Data[Home] [Help]

APPS.WF_ITEM_DEFINITION dependencies on HTP

Line 121: htp.formOpen(curl=>'wf_item_definition.draw_item_type',

117: **
118: ** which is what our instance_list procedure (defined later) is
119: ** expecting to get passed.
120: */
121: htp.formOpen(curl=>'wf_item_definition.draw_item_type',
122: cmethod=>'GET', cattributes=>'NAME="WF_FIND"');
123:
124: /*
125: ** Create a table for the find attributes.

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

123:
124: /*
125: ** Create a table for the find attributes.
126: */
127: htp.tableOpen(calign=>'CENTER', cattributes=>'border=0 cellpadding=2 cellspacing=0 summary=""');
128:
129: /*
130: ** Create the prompt for the item type poplist
131: */

Line 132: htp.tableRowOpen;

128:
129: /*
130: ** Create the prompt for the item type poplist
131: */
132: htp.tableRowOpen;
133: htp.tableData(cvalue=>'',
135: calign=>'right',
136: cattributes=>'valign=middle id=""');

Line 133: htp.tableData(cvalue=>'

129: /*
130: ** Create the prompt for the item type poplist
131: */
132: htp.tableRowOpen;
133: htp.tableData(cvalue=>'134: wf_core.translate('ITEMTYPE') || '',
135: calign=>'right',
136: cattributes=>'valign=middle id=""');
137:

Line 142: htp.p('');

138:
139: /*
140: ** Create the item type poplist
141: */
142: htp.p('');
143: htp.formSelectOpen(cname=>'p_item_type',cattributes=>'id="i_item_type"');
144:
145: /*
146: ** Create the item type poplist. If you have admin privs then show

Line 143: htp.formSelectOpen(cname=>'p_item_type',cattributes=>'id="i_item_type"');

139: /*
140: ** Create the item type poplist
141: */
142: htp.p('');
143: htp.formSelectOpen(cname=>'p_item_type',cattributes=>'id="i_item_type"');
144:
145: /*
146: ** Create the item type poplist. If you have admin privs then show
147: ** all item types

Line 158: htp.formSelectOption(cvalue=>it.display_name,

154: ** Take care of the case where the item type has a space in it.
155: ** We used a + to represent the space in the list of values since you
156: ** can escape it in a poplist and pass it through the post.
157: */
158: htp.formSelectOption(cvalue=>it.display_name,
159: cattributes=>'value='||REPLACE(it.name,' ', '+'));
160:
161: END LOOP;
162:

Line 171: htp.formSelectOption(cvalue=>it.display_name,

167: ** for which you have owner access
168: */
169: FOR it IN user_itemtypes LOOP
170:
171: htp.formSelectOption(cvalue=>it.display_name,
172: cattributes=>'value='||REPLACE(it.name,' ', '+'));
173:
174: END LOOP;
175:

Line 178: htp.formSelectClose;

174: END LOOP;
175:
176: END IF;
177:
178: htp.formSelectClose;
179:
180: htp.p('');
181:
182: htp.tableRowClose;

Line 180: htp.p('');

176: END IF;
177:
178: htp.formSelectClose;
179:
180: htp.p('');
181:
182: htp.tableRowClose;
183:
184:

Line 182: htp.tableRowClose;

178: htp.formSelectClose;
179:
180: htp.p('');
181:
182: htp.tableRowClose;
183:
184:
185: /*
186: ** Create the prompt for the Effective poplist

Line 188: htp.tableRowOpen;

184:
185: /*
186: ** Create the prompt for the Effective poplist
187: */
188: htp.tableRowOpen;
189:
190: htp.tableData(cvalue=>'',
192: calign=>'right',

Line 190: htp.tableData(cvalue=>'

186: ** Create the prompt for the Effective poplist
187: */
188: htp.tableRowOpen;
189:
190: htp.tableData(cvalue=>'191: wf_core.translate('WFITD_EFFECTIVE_DATE') || '',
192: calign=>'right',
193: cattributes=>'valign=middle id=""');
194:

Line 210: htp.tableData(cvalue=>htf.formText(cname=>'p_effective_date',

206: ** Set the default Effective Date value based on the l_expected_format
207: */
208: l_char_date := TO_CHAR(SYSDATE, l_expected_format);
209:
210: htp.tableData(cvalue=>htf.formText(cname=>'p_effective_date',
211: csize=>'30',
212: cmaxlength=>'240',
213: cvalue=>l_char_date,
214: cattributes=>'id="i_effective_date"'),

Line 217: htp.tableRowClose;

213: cvalue=>l_char_date,
214: cattributes=>'id="i_effective_date"'),
215: calign=>'left', cattributes=>'id=""');
216:
217: htp.tableRowClose;
218:
219: htp.tableClose;
220: htp.formClose;
221:

Line 219: htp.tableClose;

215: calign=>'left', cattributes=>'id=""');
216:
217: htp.tableRowClose;
218:
219: htp.tableClose;
220: htp.formClose;
221:
222: -- Add submit button
223: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');

Line 220: htp.formClose;

216:
217: htp.tableRowClose;
218:
219: htp.tableClose;
220: htp.formClose;
221:
222: -- Add submit button
223: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
224: htp.tableRowOpen;

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

219: htp.tableClose;
220: htp.formClose;
221:
222: -- Add submit button
223: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
224: htp.tableRowOpen;
225:
226: htp.p('');
227:

Line 224: htp.tableRowOpen;

220: htp.formClose;
221:
222: -- Add submit button
223: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
224: htp.tableRowOpen;
225:
226: htp.p('');
227:
228: wfa_html.create_reg_button ('javascript:document.WF_FIND.submit()',

Line 226: htp.p('');

222: -- Add submit button
223: htp.tableopen(calign=>'CENTER',cattributes=>'summary=""');
224: htp.tableRowOpen;
225:
226: htp.p('');
227:
228: wfa_html.create_reg_button ('javascript:document.WF_FIND.submit()',
229: wf_core.translate ('FIND'),
230: wfa_html.image_loc,

Line 234: htp.p('');

230: wfa_html.image_loc,
231: 'fndfind.gif',
232: wf_core.translate ('FIND'));
233:
234: htp.p('');
235:
236: htp.tableRowClose;
237: htp.tableClose;
238:

Line 236: htp.tableRowClose;

232: wf_core.translate ('FIND'));
233:
234: htp.p('');
235:
236: htp.tableRowClose;
237: htp.tableClose;
238:
239: wfa_sec.footer;
240: htp.htmlClose;

Line 237: htp.tableClose;

233:
234: htp.p('');
235:
236: htp.tableRowClose;
237: htp.tableClose;
238:
239: wfa_sec.footer;
240: htp.htmlClose;
241:

Line 240: htp.htmlClose;

236: htp.tableRowClose;
237: htp.tableClose;
238:
239: wfa_sec.footer;
240: htp.htmlClose;
241:
242: EXCEPTION
243: WHEN OTHERS THEN
244: Wf_Core.Context('wf_item_definition', 'find_item_type');

Line 304: htp.title(wf_core.translate('WFITD_ITEM_TYPE_DEFINITION'));

300: **| | |
301: **|---------------------|
302: */
303:
304: htp.title(wf_core.translate('WFITD_ITEM_TYPE_DEFINITION'));
305:
306: /*
307: ** Take care of the case where the item type has a space in it.
308: ** We used a + to represent the space in the list of values since you

Line 341: htp.p ('

337:
338: /*
339: ** Create the top header frameset and the bottom summary/detail frameset
340: */
341: htp.p (' 342: TITLE="' || WF_CORE.Translate('WFITD_ITEM_TYPE_DEFINITION') || '" LONGDESC="' || owa_util.get_owa_service_path ||
343: 'wfa_html.LongDesc?p_token=WFITD_ITEM_TYPE_DEFINITION">');
344:
345: /*

Line 348: htp.p ('

344:
345: /*
346: ** Create the header frame
347: */
348: htp.p (' 349: 'SRC='||
350: owa_util.get_owa_service_path||
351: 'wf_item_definition.draw_header?p_item_type='||
352: wfa_html.conv_special_url_chars(l_item_type)||

Line 386: htp.p ('

382:
383: /*
384: ** Now create the summary/detail frameset
385: */
386: htp.p (' 387: TITLE="' || WF_CORE.Translate('WFITD_ITEM_TYPE_DEFINITION') || '"
388: LONGDESC="' || owa_util.get_owa_service_path ||
389: 'wfa_html.LongDesc?p_token=WFITD_ITEM_TYPE_DEFINITION">');
390:

Line 394: htp.p ('

390:
391: /*
392: ** Create the summary frame
393: */
394: htp.p (' 395: 'SRC='||
396: owa_util.get_owa_service_path||
397: 'wf_item_definition.draw_item_summary?p_item_type='||
398: wfa_html.conv_special_url_chars(l_item_type)||

Line 410: htp.p ('

406:
407: /*
408: ** Create the details frame
409: */
410: htp.p (' 411: 'SRC='||
412: owa_util.get_owa_service_path||
413: 'wf_item_definition.draw_item_details?p_item_type='||
414: wfa_html.conv_special_url_chars(l_item_type)||

Line 426: htp.p ('');

422:
423: /*
424: ** Close the summary/details frameset
425: */
426: htp.p ('');
427:
428: ELSE
429:
430: /*

Line 433: htp.p ('

429:
430: /*
431: ** Create the error frame
432: */
433: htp.p (' 434: 'SRC='||
435: owa_util.get_owa_service_path||
436: 'wf_item_definition.draw_error?p_effective_date='||
437: wfa_html.conv_special_url_chars(l_effective_date)||

Line 450: htp.p ('');

446:
447: /*
448: ** Close the header and summary/details frameset
449: */
450: htp.p ('');
451:
452: htp.htmlClose;
453:
454: EXCEPTION

Line 452: htp.htmlClose;

448: ** Close the header and summary/details frameset
449: */
450: htp.p ('');
451:
452: htp.htmlClose;
453:
454: EXCEPTION
455: WHEN OTHERS THEN
456: Wf_Core.Context('wf_item_definition',

Line 541: htp.htmlOpen;

537:
538: /*
539: ** Create the Window title
540: */
541: htp.htmlOpen;
542: htp.headOpen;
543: htp.title(l_title);
544: -- wfa_html.create_help_function('wfnew/wfnew49.htm');
545: wfa_html.create_help_function('wf/links/itt.htm?ITTDEFPG');

Line 542: htp.headOpen;

538: /*
539: ** Create the Window title
540: */
541: htp.htmlOpen;
542: htp.headOpen;
543: htp.title(l_title);
544: -- wfa_html.create_help_function('wfnew/wfnew49.htm');
545: wfa_html.create_help_function('wf/links/itt.htm?ITTDEFPG');
546:

Line 543: htp.title(l_title);

539: ** Create the Window title
540: */
541: htp.htmlOpen;
542: htp.headOpen;
543: htp.title(l_title);
544: -- wfa_html.create_help_function('wfnew/wfnew49.htm');
545: wfa_html.create_help_function('wf/links/itt.htm?ITTDEFPG');
546:
547: /*

Line 560: htp.p('');

556: wfa_sec.header(FALSE, 'wf_item_definition.find_item_type', l_title,FALSE);
557:
558: end if;
559:
560: htp.p('');
561:
562: EXCEPTION
563: WHEN OTHERS THEN
564: Wf_Core.Context('wf_item_definition',

Line 681: htp.tableOpen(cattributes=>'border=0 cellpadding=0 cellspacing=0 summary=""');

677: /*
678: ** Open a new table for each attribute so you can control the spacing
679: ** between each attribute
680: */
681: htp.tableOpen(cattributes=>'border=0 cellpadding=0 cellspacing=0 summary=""');
682:
683: /*
684: ** List all the item type names
685: */

Line 733: htp.tableClose;

729:
730: /*
731: ** Table is created so close it out
732: */
733: htp.tableClose;
734:
735: EXCEPTION
736: WHEN OTHERS THEN
737: Wf_Core.Context('wf_item_definition',

Line 856: htp.p ('

');

852:
853: /*
854: ** Finish off the list with a couple of blank rows
855: */
856: htp.p ('

');
857:
858: /*
859: ** List all the item attribute details
860: */

Line 868: htp.p ('

');

864:
865: /*
866: ** Finish off the list with a couple of blank rows
867: */
868: htp.p ('

');
869:
870: /*
871: ** List all the activity details
872: */

Line 884: htp.p ('

');

880:
881: /*
882: ** Finish off the list with a couple of blank rows
883: */
884: htp.p ('

');
885:
886: /*
887: ** List all the message details
888: */

Line 897: htp.p ('

');

893:
894: /*
895: ** Finish off the list with a couple of blank rows
896: */
897: htp.p ('

');
898:
899: /*
900: ** List all the lookup type details
901: */

Line 951: htp.p('
');

947:
948: /*
949: ** skip a line
950: */
951: htp.p('
');
952:
953: /*
954: ** Write the error message in bold
955: */

Line 956: htp.bold(wf_core.translate('WFITD_INVALID_EFFECTIVE'));

952:
953: /*
954: ** Write the error message in bold
955: */
956: htp.bold(wf_core.translate('WFITD_INVALID_EFFECTIVE'));
957:
958: /*
959: ** Write the value the user entered normally
960: */

Line 961: htp.p(' '||p_effective_date);

957:
958: /*
959: ** Write the value the user entered normally
960: */
961: htp.p(' '||p_effective_date);
962:
963: /*
964: ** skip a line
965: */

Line 966: htp.p('

');

962:
963: /*
964: ** skip a line
965: */
966: htp.p('

');
967:
968: /*
969: ** Show the expected format
970: */

Line 971: htp.p(wf_core.translate('WFITD_USE_FORMAT')||' '||

967:
968: /*
969: ** Show the expected format
970: */
971: htp.p(wf_core.translate('WFITD_USE_FORMAT')||' '||
972: TO_CHAR(sysdate, p_expected_format));
973:
974: wfa_sec.footer;
975: