prompt --application/pages/page_01000
begin
--   Manifest
--     PAGE: 01000
--   Manifest End
wwv_flow_imp.component_begin (
 p_version_yyyy_mm_dd=>'2023.10.31'
,p_release=>'23.2.6'
,p_default_workspace_id=>16017191443360494
,p_default_application_id=>10001
,p_default_id_offset=>0
,p_default_owner=>'STUDENT'
);
wwv_flow_imp_page.create_page(
 p_id=>1000
,p_name=>'Preference'
,p_alias=>'PREFERENCE'
,p_step_title=>'Preference'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_protection_level=>'C'
,p_page_component_map=>'16'
,p_last_updated_by=>'STUDENT_DEV'
,p_last_upd_yyyymmddhh24miss=>'20240329105326'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(10946464104306635)
,p_plug_name=>'Preference'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(16116793714514810)
,p_plug_display_sequence=>10
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(10946676797306637)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_imp.id(10946464104306635)
,p_button_name=>'APPLY'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(16189347253515098)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply'
,p_grid_new_row=>'Y'
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(9285954082561113)
,p_name=>'P1000_DEFAULT_STUDENT'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_imp.id(10946464104306635)
,p_item_default=>wwv_flow_string.join(wwv_flow_t_varchar2(
'APEX_UTIL.GET_PREFERENCE(      ',
'    p_preference => ''DEFAULT_STUDENT'',',
'    p_user       => :APP_USER',
')'))
,p_item_default_type=>'EXPRESSION'
,p_item_default_language=>'PLSQL'
,p_prompt=>'Default Student'
,p_display_as=>'NATIVE_RADIOGROUP'
,p_named_lov=>'LOV_STUDENT'
,p_lov_display_null=>'YES'
,p_lov_null_text=>'Nobody'
,p_field_template=>wwv_flow_imp.id(16186811375515083)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'YES'
,p_attribute_01=>'4'
,p_attribute_02=>'NONE'
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(10946593758306636)
,p_name=>'P1000_DEFAULT_LANGUAGE'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(10946464104306635)
,p_item_default=>wwv_flow_string.join(wwv_flow_t_varchar2(
'APEX_UTIL.GET_PREFERENCE(      ',
'    p_preference => ''DEFAULT_LANGUAGE'',',
'    p_user       => :APP_USER',
')'))
,p_item_default_type=>'EXPRESSION'
,p_item_default_language=>'PLSQL'
,p_prompt=>'Default Language'
,p_display_as=>'NATIVE_RADIOGROUP'
,p_lov=>unistr('STATIC:English;en,\7B80\4F53\4E2D\6587;zh-cn')
,p_field_template=>wwv_flow_imp.id(16186811375515083)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'2'
,p_attribute_02=>'NONE'
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(10946793643306638)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'APPLY'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'BEGIN',
'    APEX_UTIL.SET_PREFERENCE(        ',
'        p_preference => ''DEFAULT_LANGUAGE'',',
'        p_value      => :P1000_DEFAULT_LANGUAGE,      ',
'        p_user       => :APP_USER); ',
'',
'',
'    APEX_UTIL.SET_PREFERENCE(        ',
'        p_preference => ''DEFAULT_STUDENT'',',
'        p_value      => :P1000_DEFAULT_STUDENT,      ',
'        p_user       => :APP_USER); ',
'    ',
'    :P7_SEARCH_STUDENT := :P1000_DEFAULT_STUDENT;',
'END;'))
,p_process_clob_language=>'PLSQL'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when_button_id=>wwv_flow_imp.id(10946676797306637)
,p_process_success_message=>'User preference has been set.'
,p_internal_uid=>10946793643306638
);
wwv_flow_imp.component_end;
end;
/
