82: htp.tableData('', 'Right',
85: cattributes=>'id=""');
86: htp.tableData(htf.formText('User_ID', 25, cattributes=>'id="i_user_id"'),
87: 'Left', cattributes=>'id=""');
88: htp.tableRowClose;
89:
90: htp.tableRowOpen;
91: htp.tableData('', 'Right',
94: cattributes=>'id=""');
95: htp.tableData(htf.formPassword('Password', 25,
96: cattributes=>'id="i_password"'), 'Left',
97: cattributes=>'id=""');
98: htp.tableRowClose;
99:
808: htp.tableRowOpen;
809: htp.p('
1232: -- We shows it regardless if we have open response or not.
1233: -- Fix bug #785206. We don't show the WorkList link if is coming from
1234: -- email attachment
1235: if (nkey is null) then
1236: htp.center(htf.anchor(
1237: curl => owa_util.get_owa_service_path||'wfa_html.WorkList',
1238: ctext => wf_core.translate('WFA_WORKLIST_RETURN'),
1239: cattributes=>'TARGET="_top"'));
1240: else
1345: htp.formHidden('h_fdocnames', 'Dummy_Value');
1346: else
1347: -- Add submitted title if ntf not open
1348: if (status = 'CANCELED') then
1349: htp.center(htf.bold(wf_core.translate('WFA_NOTIF_CANCELED')));
1350: else
1351: if (pseudo_login) then
1352: htp.center(htf.bold(wf_core.translate('WFA_RESPONSE_COMPLETE')));
1353: else
1348: if (status = 'CANCELED') then
1349: htp.center(htf.bold(wf_core.translate('WFA_NOTIF_CANCELED')));
1350: else
1351: if (pseudo_login) then
1352: htp.center(htf.bold(wf_core.translate('WFA_RESPONSE_COMPLETE')));
1353: else
1354: htp.center(htf.bold(wf_core.translate('WFA_SUBMIT_RESPONSE')));
1355: end if;
1356: end if;
1350: else
1351: if (pseudo_login) then
1352: htp.center(htf.bold(wf_core.translate('WFA_RESPONSE_COMPLETE')));
1353: else
1354: htp.center(htf.bold(wf_core.translate('WFA_SUBMIT_RESPONSE')));
1355: end if;
1356: end if;
1357: end if;
1358:
1368: htp.tableRowOpen;
1369:
1370: -- Draw prompt with anchor for info
1371: htp.tableData(
1372: cvalue=>htf.anchor(
1373: curl=>owa_util.get_owa_service_path||
1374: 'wfa_html.AttributeInfo?nid='||nid||
1375: '&'||'name='||rec.name,
1376: ctext=>rec.display_name,
1499: -- Result found
1500: -- Draw prompt with anchor for info
1501: htp.tableRowOpen;
1502: htp.tableData(
1503: cvalue=>htf.anchor(
1504: curl=>owa_util.get_owa_service_path||
1505: 'wfa_html.AttributeInfo?nid='||nid||
1506: '&'||'name=RESULT',
1507: ctext=>result.display_name,
1682: '&p_dest_display_field=top.opener.parent.bottom.document.WF_HTML.display_forwardee.value',
1683: ' ', '%20')||''''||',500,500)';
1684:
1685: -- print everything together so ther is no gap.
1686: htp.tabledata(htf.formText(cname=>'display_forwardee', csize=>30,
1687: cmaxlength=>240, cattributes=>'id="i_assignto"')||
1688: ''||
1689: '
1700: wf_core.translate('WFA_REASSIGN_DELEGATE') || '',
1701: calign=>'left', ccolspan=>2, cattributes=>'id=""');
1702: htp.tableRowClose;
1703: htp.tableRowOpen;
1704: htp.tableData(cvalue=>'1705: cvalue=>'TRANSFER') ||
1706: wf_core.translate('WFA_REASSIGN_TRANSFER') ||
1707: '',
1708: calign=>'left', ccolspan=>2, cattributes=>'id=""');
1717: htp.tableData(cvalue=>'',
1720: calign=>'right', cattributes=>'id=""');
1721: htp.tableData(cvalue=>htf.formTextarea2(cname=>'comments', nrows=>2,
1722: ncolumns=>65, cwrap=>'SOFT',
1723: cattributes=>'id="i_comments"'),
1724: calign=>'left', cattributes=>'id=""');
1725: htp.tableRowClose;
1815:
1816: -- Body contents
1817: wfa_sec.header(background_only=>TRUE);
1818: -- Title
1819: htp.center(htf.bold(wf_core.translate('WFA_ATTRINFO')||' '||dispname));
1820: htp.tableOpen(cattributes=>'summary=""');
1821:
1822: -- Description
1823: htp.tableRowOpen;
1821:
1822: -- Description
1823: htp.tableRowOpen;
1824: htp.tableData(cvalue=>wf_core.translate('DESCRIPTION'), calign=>'right', cattributes=>'id=""');
1825: htp.tableData(cvalue=>htf.bold(description), calign=>'left',
1826: cattributes=>'bgcolor=white ehaders=""');
1827: htp.tableRowClose;
1828:
1829: -- Type
1828:
1829: -- Type
1830: htp.tableRowOpen;
1831: htp.tableData(cvalue=>wf_core.translate('TYPE'), calign=>'right', cattributes=>'id=""');
1832: htp.tableData(cvalue=>htf.bold(wfa_html_util.GetLookupMeaning('WFSTD_ATTRTYPE',
1833: attrtype)),
1834: calign=>'left',
1835: cattributes=>'bgcolor=white id=""');
1836: htp.tableRowClose;
1838: -- Format
1839: htp.tableRowOpen;
1840: if (attrtype = 'VARCHAR2') then
1841: htp.tableData(cvalue=>wf_core.translate('MAXLENGTH'), calign=>'right');
1842: htp.tableData(cvalue=>htf.bold(nvl(format, '2000')), calign=>'left',
1843: cattributes=>'bgcolor=white');
1844: elsif (attrtype = 'LOOKUP') then
1845: htp.tableData(cvalue=>wf_core.translate('LOOKUP'), calign=>'right', cattributes=>'id=""');
1846:
1853: exception
1854: when no_data_found then
1855: dlookup := format;
1856: end;
1857: htp.tableData(cvalue=>htf.bold(dlookup), calign=>'left',
1858: cattributes=>'bgcolor=white id=""');
1859:
1860: elsif format is not null then
1861: -- All others just print format only if it exists
1860: elsif format is not null then
1861: -- All others just print format only if it exists
1862: -- printing "default" is confusing UI.
1863: htp.tableData(cvalue=>wf_core.translate('FORMAT'), calign=>'right', cattributes=>'id=""');
1864: htp.tableData(cvalue=>htf.bold(nvl(format, '&'||'lt;'||
1865: wf_core.translate('DEFAULT')||'&'||'gt;')),
1866: calign=>'left',
1867: cattributes=>'bgcolor=white id=""');
1868: end if;
2111: Wf_Notification.GetInfo(nid, username, s0, s0, s0, s0, status);
2112: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
2113:
2114: -- Set title
2115: result := htf.htmlOpen ||g_newLine;
2116: result := result || htf.headOpen||g_newLine;
2117: if (status = 'OPEN') then
2118: result := result ||
2119: htf.title(wf_core.translate('WFA_DTITLE')||' '||realname)||
2112: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
2113:
2114: -- Set title
2115: result := htf.htmlOpen ||g_newLine;
2116: result := result || htf.headOpen||g_newLine;
2117: if (status = 'OPEN') then
2118: result := result ||
2119: htf.title(wf_core.translate('WFA_DTITLE')||' '||realname)||
2120: g_newLine;
2115: result := htf.htmlOpen ||g_newLine;
2116: result := result || htf.headOpen||g_newLine;
2117: if (status = 'OPEN') then
2118: result := result ||
2119: htf.title(wf_core.translate('WFA_DTITLE')||' '||realname)||
2120: g_newLine;
2121: else
2122: result := result ||
2123: htf.title(wf_core.translate('WFA_CDTITLE')||' '||realname)||
2119: htf.title(wf_core.translate('WFA_DTITLE')||' '||realname)||
2120: g_newLine;
2121: else
2122: result := result ||
2123: htf.title(wf_core.translate('WFA_CDTITLE')||' '||realname)||
2124: g_newLine;
2125: end if;
2126:
2127: --tr: dont execute the help function
2127: --tr: dont execute the help function
2128: --it calls htp procs which causes session to hang
2129: -- wfa_html.create_help_function('wf/links/det.htm?DETNOT');
2130:
2131: result := result || htf.headClose||g_newLine;
2132:
2133: -- Calculate size of response frame
2134: respsize := RespFrameSize(nid);
2135:
2156: WF_CORE.Translate('WFA_DTITLE_TBAR') || '" LONGDESC="' ||
2157: agent ||
2158: 'wfa_html.LongDesc?p_token=WFA_DTITLE_TBAR">'||g_newLine;
2159: result := result || ''||g_newLine;
2160: result := result || htf.htmlClose;
2161:
2162: else
2163: -- Send_accesskey is set to N so we will generate a DirectLogin call.
2164: -- We do not need to authenticate the user, since the user will have
2167: -- we will then confirm that the user logged in can also view the
2168: -- notification.
2169: key := NULL;
2170:
2171: result := htf.htmlOpen ||g_newLine;
2172: result := result || htf.headOpen||g_newLine;
2173: result := result ||
2174: htf.title(wf_core.translate('WFA_LOGIN_REQUEST'))||
2175: g_newLine;
2168: -- notification.
2169: key := NULL;
2170:
2171: result := htf.htmlOpen ||g_newLine;
2172: result := result || htf.headOpen||g_newLine;
2173: result := result ||
2174: htf.title(wf_core.translate('WFA_LOGIN_REQUEST'))||
2175: g_newLine;
2176: result := result || htf.headClose||g_newLine;
2170:
2171: result := htf.htmlOpen ||g_newLine;
2172: result := result || htf.headOpen||g_newLine;
2173: result := result ||
2174: htf.title(wf_core.translate('WFA_LOGIN_REQUEST'))||
2175: g_newLine;
2176: result := result || htf.headClose||g_newLine;
2177:
2178: result := result||'