DBA Data[Home] [Help]

APPS.WFA_HTML_UTIL dependencies on HTP

Line 29: htp.tableRowOpen;

25: if (value is null) then
26: return;
27: end if;
28:
29: htp.tableRowOpen;
30:
31: -- Include description if needed.
32: -- NOTE: Description are printed here instead of in the prompt link
33: -- as for other fields, because the prompt is already used for the

Line 36: htp.tableData(description, 'right', cattributes=>'id=""');

32: -- NOTE: Description are printed here instead of in the prompt link
33: -- as for other fields, because the prompt is already used for the
34: -- URL itself.
35: if (description is not null) then
36: htp.tableData(description, 'right', cattributes=>'id=""');
37: else
38: htp.tableData(htf.br, cattributes=>'id=""');
39: end if;
40:

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

34: -- URL itself.
35: if (description is not null) then
36: htp.tableData(description, 'right', cattributes=>'id=""');
37: else
38: htp.tableData(htf.br, cattributes=>'id=""');
39: end if;
40:
41: -- Print URL
42: urlstring:=wf_notification.GetURLText(value, nid);

Line 46: htp.p(' '||urlstring||'');

42: urlstring:=wf_notification.GetURLText(value, nid);
43:
44: -- Bug 4634849
45: urlstring := wfa_html.encode_url(urlstring);
46: htp.p(' '||urlstring||'');
47:
48: htp.tableRowClose;
49:
50: exception

Line 48: htp.tableRowClose;

44: -- Bug 4634849
45: urlstring := wfa_html.encode_url(urlstring);
46: htp.p(' '||urlstring||'');
47:
48: htp.tableRowClose;
49:
50: exception
51: when others then
52: wf_core.context('Wfa_Html_Util', 'GetUrl', value, description, to_char(nid));

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

94: len := 62;
95: end if;
96:
97: -- Draw field
98: htp.formHidden('h_fnames', name||'#'||type||'#'||format);
99:
100: /* Need to create a hidden document name field if this is not a document
101: ** resond attrubute, otherwise the index will reference index elements
102: ** that don't exist because the element lists are out of sync

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

101: ** resond attrubute, otherwise the index will reference index elements
102: ** that don't exist because the element lists are out of sync
103: */
104: if (type NOT IN ('DOCUMENT' , 'ROLE')) THEN
105: htp.formHidden('h_fdocnames', '');
106: end if;
107:
108: if (len <= 80) then
109:

Line 119: htp.formhidden ('h_fvalues', dvalue);

115: */
116:
117: if (type = 'DOCUMENT') THEN
118:
119: htp.formhidden ('h_fvalues', dvalue);
120:
121: -- Set the destination field name for the document id
122: fnd_document_management.set_document_id_html (
123: 'bottom',

Line 179: htp.tableData(

175:
176: END IF;
177:
178: -- document field
179: htp.tableData(
180: cvalue=>htf.formText(cname=>'h_fdocnames', csize=>len-30,
181: cmaxlength=>len, cvalue=>l_document_name)||
182: '   '||
183: l_attach_URL,

Line 188: -- htp.tableData(

184: calign=>'Left', cattributes=>'id=""');
185:
186: else
187: -- single line field
188: -- htp.tableData(
189: -- cvalue=>htf.formText(cname=>'h_fvalues', csize=>len,
190: -- cmaxlength=>len, cvalue=>dvalue),
191: -- calign=>'Left');
192: htp.p('');

Line 192: htp.p('');

188: -- htp.tableData(
189: -- cvalue=>htf.formText(cname=>'h_fvalues', csize=>len,
190: -- cmaxlength=>len, cvalue=>dvalue),
191: -- calign=>'Left');
192: htp.p('');
193:
194: if (type <> 'ROLE') then
195: htp.formText(cname=>'h_fvalues', csize=>len,
196: cmaxlength=>len, cvalue=>dvalue);

Line 195: htp.formText(cname=>'h_fvalues', csize=>len,

191: -- calign=>'Left');
192: htp.p('');
193:
194: if (type <> 'ROLE') then
195: htp.formText(cname=>'h_fvalues', csize=>len,
196: cmaxlength=>len, cvalue=>dvalue);
197: else
198:
199: l_message := wf_core.translate ('WFPREF_LOV');

Line 201: htp.formhidden ('h_fvalues', dvalue);

197: else
198:
199: l_message := wf_core.translate ('WFPREF_LOV');
200:
201: htp.formhidden ('h_fvalues', dvalue);
202:
203: -- add LOV here: Note:bottom is name of frame.
204: -- Note: The REPLACE function replaces all the space characters with
205: -- the proper escape sequence.

Line 217: htp.p(htf.formText(cname=>'h_fdocnames', csize=>len, cmaxlength=>240,

213: '&p_dest_display_field=top.opener.parent.bottom.document.WFNOTRESP.h_fdocnames['||to_char(index_num)||'].value',
214: ' ', '%20')||''''||',500,500)';
215:
216: -- print everything together so ther is no gap.
217: htp.p(htf.formText(cname=>'h_fdocnames', csize=>len, cmaxlength=>240,
218: cvalue=>dvalue)||
219: ''||
220: ''||<br>
221:                     l_message||'
');
223: end if;
224: htp.p('');
225:
226: end if;
227:
228: else

Line 230: htp.tableData(

226: end if;
227:
228: else
229: -- multi line field
230: htp.tableData(
231: cvalue=>htf.formTextareaOpen2(
232: cname=>'h_fvalues',
233: nrows=>2,
234: ncolumns=>65,

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

287: template := template||wf_core.newline||htf.formSelectClose;
288:
289: if (not submit) then
290: -- Draw a normal field
291: htp.tableData(template, 'left', cattributes=>'id=""');
292: htp.formHidden('h_fdocnames', '');
293:
294: else
295: -- Draw a submit-style field for the result.

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

288:
289: if (not submit) then
290: -- Draw a normal field
291: htp.tableData(template, 'left', cattributes=>'id=""');
292: htp.formHidden('h_fdocnames', '');
293:
294: else
295: -- Draw a submit-style field for the result.
296: -- Leave TableData open so reassign button can be added to same cell.

Line 298: htp.p(''||wf_core.newline||template||'');

294: else
295: -- Draw a submit-style field for the result.
296: -- Leave TableData open so reassign button can be added to same cell.
297:
298: htp.p(''||wf_core.newline||template||'');
299:
300: htp.p('');
301: wfa_html.create_reg_button ('javascript:document.WFNOTRESP.submit()',
302: wf_core.translate ('SUBMIT'),

Line 300: htp.p('');

296: -- Leave TableData open so reassign button can be added to same cell.
297:
298: htp.p(''||wf_core.newline||template||'');
299:
300: htp.p('');
301: wfa_html.create_reg_button ('javascript:document.WFNOTRESP.submit()',
302: wf_core.translate ('SUBMIT'),
303: wfa_html.image_loc,
304: null,

Line 307: htp.p('');

303: wfa_html.image_loc,
304: null,
305: wf_core.translate ('SUBMIT'));
306:
307: htp.p('');
308:
309:
310: end if;
311:

Line 357: htp.formHidden('h_fnames', 'RESULT#LOOKUP#'||format);

353: else
354: -- Use buttons.
355:
356: -- Add a hidden field for the result field name
357: htp.formHidden('h_fnames', 'RESULT#LOOKUP#'||format);
358: htp.formHidden('h_fvalues', null);
359:
360: -- Add a button for every lookup
361: for i in lookup_codes(format) loop

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

354: -- Use buttons.
355:
356: -- Add a hidden field for the result field name
357: htp.formHidden('h_fnames', 'RESULT#LOOKUP#'||format);
358: htp.formHidden('h_fvalues', null);
359:
360: -- Add a button for every lookup
361: for i in lookup_codes(format) loop
362: htp.p('');

Line 362: htp.p('');

358: htp.formHidden('h_fvalues', null);
359:
360: -- Add a button for every lookup
361: for i in lookup_codes(format) loop
362: htp.p('');
363: wfa_html.create_reg_button ('javascript:document.WFNOTRESP.h_fvalues['||
364: TO_CHAR(indexer)||'].value='||
365: ''''||i.lookup_code||''''||';document.WFNOTRESP.submit()',
366: i.meaning,

Line 370: htp.p('');

366: i.meaning,
367: wfa_html.image_loc,
368: null,
369: i.meaning);
370: htp.p('');
371:
372: /*htp.formSubmit('h_fvalues', i.meaning, 'NOBORDER');*/
373: end loop;
374:

Line 372: /*htp.formSubmit('h_fvalues', i.meaning, 'NOBORDER');*/

368: null,
369: i.meaning);
370: htp.p('');
371:
372: /*htp.formSubmit('h_fvalues', i.meaning, 'NOBORDER');*/
373: end loop;
374:
375: end if;
376: