The following lines contain the word 'select', 'insert', 'update' or 'delete':
include_select boolean,
include_delete boolean,
detail_index pls_integer default 0,
edit_index pls_integer default 0,
title_start pls_integer default 0,
level number default null
)
is
i pls_integer;
if (i=title_start and include_select) then
htp.tableHeader(cvalue=>''||
wf_core.translate('SELECT')||'',
calign=>'Center',
cattributes=>'ID="' || wf_core.translate('SELECT') || '"');
if (include_select) then
htp.tableHeader(cvalue=>''||
wf_core.translate('SELECT')||'',
calign=>'Center',
cattributes=>'id="' || wf_core.translate('SELECT') ||'"');
if (include_delete) then
htp.tableHeader(cvalue=>''||
wf_core.translate('DELETE')||'',
calign=>'Center',
cattributes=>'id="' || wf_core.translate('DELETE') ||'"');
func_delete varchar2(4000);
include_select boolean := FALSE;
include_delete boolean := FALSE;
func_delete := headerTab(i).value;
if (dataTab(i).selectable) then
include_select := TRUE;
include_delete := TRUE;
exit when (include_select and include_delete and include_detail);
if (include_select) then
spanTab(k).span := spanTab(k).span + 1;
if (include_delete) then
spanTab(i).span := spanTab(i).span + 1;
include_select, include_delete,
detail_index, edit_index,
title_start, show_level);
include_select, include_delete,
detail_index, edit_index,
title_start, dataTab(i).level);
if (include_select) then
if (dataTab(i).selectable) then
htp.tableData(htf.formCheckbox(cname=>'h_guids',
cvalue=>dataTab(i).guid,
cattributes=>'id="i_select'||i||'"'),
'CENTER',cattributes=>'id=""');
if (include_delete) then
if (dataTab(i).deletable) then
htp.tableData(htf.anchor2(
curl=>'javascript:confirm_url('''||
wf_core.translate('WFE_OK_DELETE')||''','''||
wfa_html.base_url||'/'||func_delete||
rawtohex(dataTab(i).guid)||''')',
ctext=>''),
'CENTER', cattributes=>'valign="MIDDLE" id=""');
end if; -- include_delete
hTab(i).value := 'wf_event_html.DeleteEvent?h_guid=';
dTab(i).selectable := FALSE;
dTab(i).selectable := FALSE;
dTab(i).selectable := FALSE;
dTab(i).selectable := FALSE;