set define off set verify off set serveroutput on size 1000000 set feedback off begin wwv_flow.g_import_in_progress := true; end; / --application/set_environment prompt APPLICATION 4155 - Scheme Authentication Login -- -- Application Export: -- Application: 4155 -- Name: Scheme Authentication Login -- Date and Time: 07:46 Tuesday May 19, 2009 -- Exported By: -- Flashback: 0 -- Export Type: Application Export -- Version: 3.2.1.00.08 -- Import: -- Using application builder -- or -- Using SQL*Plus as the Oracle user APEX_030200 or as the owner (parsing schema) of the application. -- Application Statistics: -- Pages: 7 -- Items: 16 -- Computations: 2 -- Validations: 7 -- Processes: 6 -- Regions: 16 -- Buttons: 3 -- Shared Components -- Breadcrumbs: 0 -- Entries 0 -- Items: 1 -- Computations: 0 -- Processes: 0 -- Parent Tabs: 4 -- Tab Sets: 1 -- Tabs: 1 -- NavBars: 0 -- Lists: 0 -- Shortcuts: 0 -- Themes: 1 -- Templates: -- Page: 3 -- List: 0 -- Report: 0 -- Label: 2 -- Region: 1 -- Messages: 0 -- Build Options: 0 -- AAAA PPPPP EEEEEE XX XX -- AA AA PP PP EE XX XX -- AA AA PP PP EE XX XX -- AAAAAAAAAA PPPPP EEEE XXXX -- AA AA PP EE XX XX -- AA AA PP EE XX XX -- AA AA PP EEEEEE XX XX prompt Set Credentials... begin -- Assumes you are running the script connected to SQL*Plus as the Oracle user APEX_030200 or as the owner (parsing schema) of the application. wwv_flow_api.set_security_group_id(p_security_group_id=>10); end; / begin wwv_flow.g_import_in_progress := true; end; / begin select value into wwv_flow_api.g_nls_numeric_chars from nls_session_parameters where parameter='NLS_NUMERIC_CHARACTERS'; end; / begin execute immediate 'alter session set nls_numeric_characters=''.,'''; end; / begin wwv_flow.g_browser_language := 'en-us'; end; / prompt Check Compatibility... begin -- This date identifies the minimum version required to import this file. wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2009.01.12'); end; / prompt Set Application ID... begin -- SET APPLICATION ID wwv_flow.g_flow_id := 4155; wwv_flow_api.g_id_offset := 0; null; end; / --application/delete_application begin -- Remove Application wwv_flow_api.remove_flow(4155); end; / begin wwv_flow_audit.remove_audit_trail(4155); null; end; / --application/create_application begin wwv_flow_api.create_flow( p_id => 4155, p_display_id=> 4155, p_owner => 'APEX_030200', p_name => 'Scheme Authentication Login', p_alias => '4155', p_application_group=>91050719712959059, p_application_group_name=>'APEX Product', p_application_group_comment=>'Applications shipped with the APEX product distribution', p_page_view_logging => 'YES', p_default_page_template=> 24029824597247454 + wwv_flow_api.g_id_offset, p_printer_friendly_template=> 24029824597247454 + wwv_flow_api.g_id_offset, p_error_template => 24029824597247454 + wwv_flow_api.g_id_offset, p_charset => 'utf-8', p_checksum_salt_last_reset => '20090519073429', p_max_session_length_sec=> 28800, p_home_link => 'f?p=4155:1:&SESSION.', p_flow_language => 'en-us', p_flow_language_derived_from=> 'BROWSER', p_flow_image_prefix => '/i/', p_documentation_banner=> 'Created as default flow Saturday August 24, 2002', p_authentication => 'DATABASE', p_login_url => '', p_logout_url => '', p_application_tab_set=> 1, p_public_url_prefix => '', p_public_user => 'APEX_PUBLIC_USER', p_dbauth_url_prefix => '', p_proxy_server => '', p_cust_authentication_process=> '', p_cust_authentication_page=> '', p_custom_auth_login_url=> '', p_flow_version => '&PRODUCT_NAME. 3.2.1.00.08', p_flow_status => 'AVAILABLE_W_EDIT_LINK', p_flow_unavailable_text=> 'This application is currently unavailable.', p_build_status => 'RUN_AND_BUILD', p_exact_substitutions_only=> 'N', p_vpd => '', p_csv_encoding => 'Y', p_theme_id => 101, p_substitution_string_01 => 'PRODUCT_NAME', p_substitution_value_01 => 'Application Express', p_substitution_string_02 => 'APPLICATION_ICON', p_substitution_value_02 => 'oracle_platform_white.gif', p_substitution_string_03 => 'MSG_COMPANY', p_substitution_value_03 => 'Workspace: &COMPANY.', p_substitution_string_04 => 'MSG_LANGUAGE', p_substitution_value_04 => 'Language', p_substitution_string_05 => 'MSG_COPYRIGHT', p_substitution_value_05 => 'Copyright © 1999, 2009, Oracle. All rights reserved.', p_substitution_string_06 => 'MSG_USER', p_substitution_value_06 => 'User', p_substitution_string_07 => 'MSG_JSCRIPT', p_substitution_value_07 => 'You must run this product with JavaScript enabled.', p_substitution_string_08 => 'MSG_TBL_SUMMARY', p_substitution_value_08 => 'Page Layout Table', p_substitution_string_09 => 'CLOSE', p_substitution_value_09 => 'Close', p_substitution_string_10 => 'DATE_FORMAT', p_substitution_value_10 => 'mm/dd/yyyy', p_substitution_string_11 => 'LONG_DATE_FORMAT', p_substitution_value_11 => 'fmDay, Month dd, yyyy', p_substitution_string_12 => 'TIME_FORMAT', p_substitution_value_12 => 'hh:mi:ss AM', p_substitution_string_13 => 'DATE_TIME_FORMAT', p_substitution_value_13 => 'mm/dd/yyyy hh:mi:ss AM', p_substitution_string_14 => 'RETURN_TO_APPLICATION', p_substitution_value_14 => 'Return to Application', p_last_updated_by => '', p_last_upd_yyyymmddhh24miss=> '20090518132513', p_required_roles=> wwv_flow_utilities.string_to_table2('')); end; / prompt ...authorization schemes -- begin null; end; / --application/shared_components/navigation/navigation_bar prompt ...navigation bar entries -- begin null; end; / prompt ...application processes -- prompt ...application items -- --application/shared_components/logic/application_items/fsp_after_login_url begin wwv_flow_api.create_flow_item( p_id=> 26310914319937994 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_name=> 'FSP_AFTER_LOGIN_URL', p_data_type=> 'VARCHAR', p_is_persistent=> 'Y', p_protection_level=> '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_item_comment=> ''); null; end; / prompt ...application level computations -- begin null; end; / prompt ...Application Tabs -- begin --application/shared_components/navigation/tabs/standard/t_page_1 wwv_flow_api.create_tab ( p_id=> 519013824056522 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> 'One', p_tab_sequence=> 1, p_tab_name=> 'T_PAGE_1', p_tab_text => 'Page 1', p_tab_step => 1, p_tab_also_current_for_pages => '', p_tab_parent_tabset=>'main', p_required_patch=>null + wwv_flow_api.g_id_offset, p_tab_comment => 'Tab generated by create flow wizard'); end; / prompt ...Application Parent Tabs -- begin --application/shared_components/navigation/tabs/parent/one wwv_flow_api.create_toplevel_tab ( p_id=> 519104518056523 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> 'main', p_tab_sequence=> 1, p_tab_name => 'One', p_tab_text => 'One', p_tab_target=> 'f?p=4155:1:&SESSION', p_current_on_tabset=> 'One', p_required_patch=>null + wwv_flow_api.g_id_offset, p_tab_comment=> ''); --application/shared_components/navigation/tabs/parent/two wwv_flow_api.create_toplevel_tab ( p_id=> 519229449056523 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> 'main', p_tab_sequence=> 2, p_tab_name => 'Two', p_tab_text => 'Two', p_tab_target=> 'f?p=4155:10:&SESSION', p_current_on_tabset=> 'Two', p_required_patch=>null + wwv_flow_api.g_id_offset, p_tab_comment=> ''); --application/shared_components/navigation/tabs/parent/three wwv_flow_api.create_toplevel_tab ( p_id=> 519313755056523 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> 'main', p_tab_sequence=> 3, p_tab_name => 'Three', p_tab_text => 'Three', p_tab_target=> 'f?p=4155:10:&SESSION', p_current_on_tabset=> 'Three', p_required_patch=>null + wwv_flow_api.g_id_offset, p_tab_comment=> ''); --application/shared_components/navigation/tabs/parent/four wwv_flow_api.create_toplevel_tab ( p_id=> 519415313056523 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> 'main', p_tab_sequence=> 4, p_tab_name => 'Four', p_tab_text => 'Four', p_tab_target=> 'f?p=4155:10:&SESSION', p_current_on_tabset=> 'Four', p_required_patch=>null + wwv_flow_api.g_id_offset, p_tab_comment=> ''); end; / prompt ...Shared Lists of values -- prompt ...Application Trees -- --application/pages/page_groups prompt ...page groups -- begin null; end; / --application/pages/page_00001 prompt ...PAGE 1: Public Page for Logout -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h := null; ph := null; wwv_flow_api.create_page( p_id => 1, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => 'Public Page for Logout', p_alias => 'PUBLIC_PAGE', p_step_title=> 'Public Page for Logout', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => '', p_html_page_header => '', p_step_template => 24029824597247454+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20080818110606', p_page_comment => ''); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'You have successfully logged out. You have been redirected here after using a logout link provided by an authentication scheme. To redirect to a page in your flow instead, do something like this:'||chr(10)|| '
'||chr(10)|| '
'||chr(10)|| ' wwv_flow_custom_auth_std.logout?p_this_flow=&FLOW_ID&p_next_flow_page_sess=&FLOW_ID:PUBLIC_PAGE:&SESSION'||chr(10)|| ''||chr(10)|| '
'||chr(10)|| '
''||l_text||''
'');'||chr(10)|| 'end if;'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 1447318573807780 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 100, p_plug_name=> 'More Help', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_translate_title=> 'Y', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 100 -- begin null; end; null; end; / --application/pages/page_00110 prompt ...PAGE 110: Login Help for &PRODUCT_NAME. Account Credentials -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h := null; ph := null; wwv_flow_api.create_page( p_id => 110, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => 'Login Help for &PRODUCT_NAME. Account Credentials', p_alias => 'LOGIN_HELP_HTML_DB', p_step_title=> 'Login Help for &PRODUCT_NAME. Account Credentials', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => '', p_html_page_header => '', p_step_template => 24029824597247454+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => 'CBCHO', p_last_upd_yyyymmddhh24miss => '20071120070308', p_page_is_public_y_n=> 'N', p_page_comment => ''); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'Enter your username and password for your &PRODUCT_NAME. account. Each &PRODUCT_NAME. site has its own user account repository. The application you are logging into belongs to workspace &F4150_P110_COMPANY.. Remember, passwords are case sensitive.'; wwv_flow_api.create_page_plug ( p_id=> 1445106490757012 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110, p_plug_name=> 'Login Help', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_translate_title=> 'Y', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare l_text varchar2(2000);'||chr(10)|| 'begin'||chr(10)|| 'for c1 in (select attribute_03 from wwv_flow_custom_auth_setups where id = :F4155_P1000_SETUP_ID) loop'||chr(10)|| 'l_text := c1.attribute_03;'||chr(10)|| 'end loop;'||chr(10)|| 'if l_text is not null and length(l_text) > 0 then'||chr(10)|| 'htp.p(''''||l_text);'||chr(10)|| 'end if;'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 1449204899841766 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110, p_plug_name=> 'More Help', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>1451408418946779 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 110, p_name=>'F4150_P110_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 1445106490757012+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '(unknown)', p_prompt=>'P110 Company', p_source=>'declare '||chr(10)|| ' l_sgid number := null;'||chr(10)|| ' l_flow_id number := null;'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select id from wwv_flows '||chr(10)|| ' where custom_authentication_process = ''.''||:F4155_P1000_SETUP_ID||''.'') loop'||chr(10)|| ' l_flow_id := c1.id;'||chr(10)|| ' end loop;'||chr(10)|| ' for c1 in (select security_group_id from wwv_flows '||chr(10)|| ' where id = l_flow_id) loop '||chr(10)|| ' l_sgid := c1.security_group_id;'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' return wwv_flow_security.find_company_name(p_security_group_id=>l_sgid);'||chr(10)|| 'end;', p_source_type=> 'FUNCTION_BODY', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_item_comment => ''); end; / begin --------------------------------------- -- ...updatable report columns for page 110 -- begin null; end; null; end; / --application/pages/page_00120 prompt ...PAGE 120: Login Help for LDAP Credentials -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h := null; ph := null; wwv_flow_api.create_page( p_id => 120, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => 'Login Help for LDAP Credentials', p_alias => 'LOGIN_HELP_LDAP', p_step_title=> 'Login Help for LDAP Credentials', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => '', p_html_page_header => '', p_step_template => 24029824597247454+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => 'CBCHO', p_last_upd_yyyymmddhh24miss => '20071120070308', p_page_is_public_y_n=> 'N', p_page_comment => ''); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'Enter the username and password for authentication against the LDAP directory identified on the login page. Remember, passwords may be case sensitive.'; wwv_flow_api.create_page_plug ( p_id=> 1445611338758376 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 120, p_plug_name=> 'Login Help', p_region_name=>'', p_plug_template=> 517201101056507+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare l_text varchar2(2000);'||chr(10)|| 'begin'||chr(10)|| 'for c1 in (select attribute_03 from wwv_flow_custom_auth_setups where id = :F4155_P1000_SETUP_ID) loop'||chr(10)|| 'l_text := c1.attribute_03;'||chr(10)|| 'end loop;'||chr(10)|| 'if l_text is not null and length(l_text) > 0 then'||chr(10)|| 'htp.p(''
''||l_text);'||chr(10)|| 'end if;'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 1449809401843007 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 120, p_plug_name=> 'More Help', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 120 -- begin null; end; null; end; / --application/pages/page_00130 prompt ...PAGE 130: Login Help for Database Account Credentials -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h := null; ph := null; wwv_flow_api.create_page( p_id => 130, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => 'Login Help for Database Account Credentials', p_alias => 'LOGIN_HELP_DBACCOUNT', p_step_title=> 'Login Help for &PRODUCT_NAME. Account Credentials', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => '', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => 'CBCHO', p_last_upd_yyyymmddhh24miss => '20071120070308', p_page_is_public_y_n=> 'N', p_page_comment => ''); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'Enter a database schema name in the username field and the database schema''s password in the password field.'; wwv_flow_api.create_page_plug ( p_id=> 69359231960281442 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130, p_plug_name=> 'Login Help', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_translate_title=> 'Y', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare l_text varchar2(2000);'||chr(10)|| 'begin'||chr(10)|| 'for c1 in (select attribute_03 from wwv_flow_custom_auth_setups where id = :F4155_P1000_SETUP_ID) loop'||chr(10)|| 'l_text := c1.attribute_03;'||chr(10)|| 'end loop;'||chr(10)|| 'if l_text is not null and length(l_text) > 0 then'||chr(10)|| 'htp.p(''
''||l_text);'||chr(10)|| 'end if;'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 69359425115281444 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130, p_plug_name=> 'More Help', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>69359628843281448 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130, p_name=>'F4150_P130_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 69359231960281442+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '(unknown)', p_prompt=>'P130 Company', p_source=>'declare '||chr(10)|| ' l_sgid number := null;'||chr(10)|| ' l_flow_id number := null;'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select id from wwv_flows '||chr(10)|| ' where custom_authentication_process = ''.''||:F4155_P1000_SETUP_ID||''.'') loop'||chr(10)|| ' l_flow_id := c1.id;'||chr(10)|| ' end loop;'||chr(10)|| ' for c1 in (select security_group_id from wwv_flows '||chr(10)|| ' where id = l_flow_id) loop '||chr(10)|| ' l_sgid := c1.security_group_id;'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' return wwv_flow_security.find_company_name(p_security_group_id=>l_sgid);'||chr(10)|| 'end;', p_source_type=> 'FUNCTION_BODY', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_item_comment => ''); end; / begin --------------------------------------- -- ...updatable report columns for page 130 -- begin null; end; null; end; / --application/pages/page_01000 prompt ...PAGE 1000: Login -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h := null; ph:=ph||''; wwv_flow_api.create_page( p_id => 1000, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => 'Login', p_alias => 'LOGIN', p_step_title=> 'Login', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => 'OFF', p_help_text => '', p_html_page_header => ' ', p_step_template => 515426975056506+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090213132321', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_html_page_header(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>1000,p_text=>ph); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'
Enter your credentials in this form to start a new session in this &PRODUCT_NAME. application. Help with common login issues is available.
'; wwv_flow_api.create_page_plug ( p_id=> 1402815470381580 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 1000, p_plug_name=> 'Tips', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||' '; wwv_flow_api.create_page_plug ( p_id=> 1484625910339788 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 1000, p_plug_name=> 'left', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 50, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 57075215208721471 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 1000, p_plug_name=> '&LOGIN_NAME.', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 10, p_plug_display_column=> 2, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> 'Unable to display page region #SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> 'Region generated by create flow wizard'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 57080610862891705 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 1000, p_plug_name=> 'Hidden Fields', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 57079816296853917 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 1000, p_button_sequence=> 10, p_button_plug_id => 57075215208721471+wwv_flow_api.g_id_offset, p_button_name => 'LOGIN_BUTTON', p_button_image_alt=> 'Login', p_button_position=> 'BOTTOM', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>34456324362177919 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1000, p_branch_action=> '1000', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_branch_condition_type=> 'PLSQL_EXPRESSION', p_branch_condition=> 'wwv_flow.g_notification is not null', p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 25-APR-2003 23:39 by SSPADAFO'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'No help text available'; wwv_flow_api.create_page_item( p_id=>476622691412236 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1000, p_name=>'F4155_P1000_USERNAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 60, p_item_plug_id => 57075215208721471+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Username', p_source_type=> 'ALWAYS_NULL', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'tabindex="1"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_field_template => 517018400056507+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'No help text available'; wwv_flow_api.create_page_item( p_id=>477505160416649 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1000, p_name=>'F4155_P1000_PASSWORD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 70, p_item_plug_id => 57075215208721471+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Password', p_source_type=> 'ALWAYS_NULL', p_display_as=> 'PASSWORD_WITH_ENTER_SUBMIT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'tabindex="2"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_display_when=>'F4155_P1000_PASSWORD', p_display_when2=>'no-password-required', p_display_when_type=>'VAL_OF_ITEM_IN_COND_NOT_EQ_COND2', p_field_template => 517018400056507+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_encrypt_session_state_yn=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>485932199001641 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1000, p_name=>'F4155_P1000_FLOW_PAGE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 100, p_item_plug_id => 57075215208721471+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>1385208320963232 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1000, p_name=>'F4155_P1000_FOOTNOTE_DISPLAY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 90, p_item_plug_id => 57075215208721471+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '&F4155_P1000_FOOTNOTE.', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'DISPLAY_ONLY_HTML', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddata"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_field_template => 517018400056507+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>1430825232564185 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1000, p_name=>'F4155_P1000_LOGIN_HELP', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 90, p_item_plug_id => 1402815470381580+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'P1000 Login Help', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>1441703804737288 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1000, p_name=>'F4155_P1000_SETUP_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 100, p_item_plug_id => 57080610862891705+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'P1000 Setup Id', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>9071511746635487 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1000, p_name=>'F4155_P1000_FOOTNOTE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 25, p_item_plug_id => 57080610862891705+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="tiptext"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>57184595646965683 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1000, p_name=>'LOGIN_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 57080610862891705+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '&PRODUCT_NAME.', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'login_name', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 57188216053643298 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 1000, p_validation_name => 'pass req', p_validation_sequence=> 10, p_validation => 'F4155_P1000_PASSWORD', p_validation_type => 'ITEM_NOT_NULL', p_error_message => 'Password must be provided.', p_error_display_location=>'ON_ERROR_PAGE', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_custom_auth_std.login('||chr(10)|| ' p_uname=>htf.escape_sc(:F4155_P1000_USERNAME),'||chr(10)|| ' p_password=>:F4155_P1000_PASSWORD,'||chr(10)|| ' p_session_id=>:FLOW_SESSION,'||chr(10)|| ' p_flow_page=>:F4155_P1000_FLOW_PAGE);'; wwv_flow_api.create_page_process( p_id => 475708492408121 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 1000, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'login', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'1000'; wwv_flow_api.create_page_process( p_id => 501401789522753 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 1000, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_PAGES', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'F4155_P1000_PASSWORD', p_process_when_type=>'VAL_OF_ITEM_IN_COND_NOT_EQ_COND2', p_process_when2=>'no-password-required', p_process_when_type2=>'', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 1000 -- begin null; end; null; end; / prompt ...lists -- --application/shared_components/navigation/breadcrumbs prompt ...breadcrumbs -- prompt ...page templates for application: 4155 -- --application/shared_components/user_interface/templates/page/columbus_login_and_logout_page_from_4999 prompt ......Page template 515426975056506 begin declare c1 varchar2(32767) := null; c2 varchar2(32767) := null; c3 varchar2(32767) := null; l_clob clob; l_length number := 1; begin c1:=c1||''||chr(10)|| '#REGION_POSITION_01# | '||chr(10)|| '#REGION_POSITION_02##REGION_POSITION_04##BOX_BODY# | '||chr(10)|| '#REGION_POSITION_03##REGION_POSITION_05# | '||chr(10)||
'
#MESSAGE#'||chr(10)|| '#RETURN_TO_APPLICATION#', p_reference_id=> 80966020820422852, p_translate_this_template => 'N', p_template_comment => ''); end; null; end; / --application/shared_components/user_interface/templates/page/printer_friendly prompt ......Page template 515622318056506 begin declare c1 varchar2(32767) := null; c2 varchar2(32767) := null; c3 varchar2(32767) := null; l_clob clob; l_length number := 1; begin c1:=c1||''||chr(10)|| '
#MESSAGE#'||chr(10)|| '#RETURN_TO_APPLICATION#', p_reference_id=> 80874804748045950, p_translate_this_template => 'N', p_template_comment => ''); end; null; end; / --application/shared_components/user_interface/templates/page/popup_info prompt ......Page template 24029824597247454 begin declare c1 varchar2(32767) := null; c2 varchar2(32767) := null; c3 varchar2(32767) := null; l_clob clob; l_length number := 1; begin c1:=c1||''||chr(10)|| '
#MESSAGE#'||chr(10)|| '#RETURN_TO_APPLICATION#', p_reference_id=> 19940022257958945, p_translate_this_template => 'N', p_template_comment => ''); end; null; end; / prompt ...button templates -- --------------------------------------- prompt ...region templates -- --application/shared_components/user_interface/templates/region/wizard_box prompt ......region template 517201101056507 begin declare t varchar2(32767) := null; t2 varchar2(32767) := null; t3 varchar2(32767) := null; l_clob clob; l_clob2 clob; l_clob3 clob; l_length number := 1; begin t:=t||'
#TITLE# | #CLOSE# #DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE# |
---|---|
#BODY# |
', p_page_footer_text =>' |