prompt --application/pages/page_00001 begin -- Manifest -- PAGE: 00001 -- Manifest End wwv_flow_imp.component_begin ( p_version_yyyy_mm_dd=>'2023.04.28' ,p_release=>'23.1.0' ,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=>1 ,p_name=>'Home' ,p_alias=>'HOME' ,p_step_title=>'Study Performance Tracking App' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_protection_level=>'C' ,p_page_component_map=>'13' ,p_last_updated_by=>'STUDENT_DEV' ,p_last_upd_yyyymmddhh24miss=>'20230928144012' ); wwv_flow_imp_page.create_page_plug( p_id=>wwv_flow_imp.id(9889691274144033) ,p_plug_name=>'Global Setting' ,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody' ,p_plug_template=>wwv_flow_imp.id(16116793714514810) ,p_plug_display_sequence=>10 ,p_include_in_reg_disp_sel_yn=>'Y' ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ); wwv_flow_imp_page.create_page_plug( p_id=>wwv_flow_imp.id(16223001900515601) ,p_plug_name=>'Study Performance Tracking App' ,p_icon_css_classes=>'app-icon' ,p_region_template_options=>'#DEFAULT#' ,p_escape_on_http_output=>'Y' ,p_plug_template=>wwv_flow_imp.id(16094697015514771) ,p_plug_display_sequence=>10 ,p_plug_display_point=>'REGION_POSITION_01' ,p_plug_query_num_rows=>15 ,p_attribute_01=>'N' ,p_attribute_02=>'HTML' ,p_attribute_03=>'Y' ); wwv_flow_imp_page.create_page_plug( p_id=>wwv_flow_imp.id(19128154182169029) ,p_plug_name=>'Administration' ,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_imp.id(16116793714514810) ,p_plug_display_sequence=>20 ,p_include_in_reg_disp_sel_yn=>'Y' ,p_list_id=>wwv_flow_imp.id(20621341221513399) ,p_plug_source_type=>'NATIVE_LIST' ,p_list_template_id=>wwv_flow_imp.id(16171126567515021) ,p_plug_display_condition_type=>'FUNCTION_BODY' ,p_plug_display_when_condition=>wwv_flow_string.join(wwv_flow_t_varchar2( 'DECLARE', ' lv_admin_flag VARCHAR2(1);', 'BEGIN', ' SELECT admin_flag', ' INTO lv_admin_flag', ' FROM stdt_users', ' WHERE user_name = :APP_USER;', '', ' IF (lv_admin_flag = ''Y'') THEN', ' RETURN TRUE;', ' ELSE', ' RETURN FALSE;', ' END IF;', 'EXCEPTION', ' WHEN OTHERS THEN', ' RETURN FALSE;', 'END;')) ,p_plug_display_when_cond2=>'PLSQL' ); wwv_flow_imp_page.create_page_item( p_id=>wwv_flow_imp.id(9889733334144034) ,p_name=>'P1_LANGUAGE' ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_imp.id(9889691274144033) ,p_item_default=>'APEX_UTIL.get_session_lang' ,p_item_default_type=>'EXPRESSION' ,p_item_default_language=>'PLSQL' ,p_prompt=>'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_item( p_id=>wwv_flow_imp.id(20577748859116503) ,p_name=>'P1_DESKTOP_THEME_STYLE_ID' ,p_is_required=>true ,p_item_sequence=>30 ,p_item_plug_id=>wwv_flow_imp.id(9889691274144033) ,p_use_cache_before_default=>'NO' ,p_prompt=>'Desktop Theme Style' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select s.theme_style_id', 'from apex_application_theme_styles s, apex_application_themes t', 'where s.application_id = t.application_id', 'and s.theme_number = t.theme_number', 'and s.application_id = :app_id', 'and t.ui_type_name = ''DESKTOP''', 'and s.is_current = ''Yes''')) ,p_source_type=>'QUERY' ,p_display_as=>'NATIVE_RADIOGROUP' ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select s.name d,', ' s.theme_style_id r', 'from apex_application_theme_styles s, apex_application_themes t', 'where s.application_id = t.application_id', 'and s.theme_number = t.theme_number', 'and s.application_id = :app_id', 'and t.ui_type_name = ''DESKTOP''', 'and t.is_current = ''Yes''', 'order by 1')) ,p_display_when=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select 1', 'from apex_application_theme_styles s, apex_application_themes t', 'where s.application_id = t.application_id', 'and s.theme_number = t.theme_number', 'and s.application_id = :app_id', 'and t.ui_type_name = ''DESKTOP''', 'and t.is_current = ''Yes''')) ,p_display_when_type=>'EXISTS' ,p_field_template=>wwv_flow_imp.id(16188186001515088) ,p_item_template_options=>'#DEFAULT#' ,p_lov_display_extra=>'NO' ,p_protection_level=>'S' ,p_restricted_characters=>'WEB_SAFE' ,p_encrypt_session_state_yn=>'N' ,p_attribute_01=>'5' ,p_attribute_02=>'NONE' ); wwv_flow_imp_page.create_page_da_event( p_id=>wwv_flow_imp.id(9890950498144046) ,p_name=>'Language Or Style Changed' ,p_event_sequence=>20 ,p_triggering_element_type=>'ITEM' ,p_triggering_element=>'P1_LANGUAGE,P1_DESKTOP_THEME_STYLE_ID' ,p_bind_type=>'bind' ,p_execution_type=>'IMMEDIATE' ,p_bind_event_type=>'change' ); wwv_flow_imp_page.create_page_da_action( p_id=>wwv_flow_imp.id(9891000849144047) ,p_event_id=>wwv_flow_imp.id(9890950498144046) ,p_event_result=>'TRUE' ,p_action_sequence=>10 ,p_execute_on_page_init=>'N' ,p_action=>'NATIVE_SUBMIT_PAGE' ,p_attribute_02=>'Y' ); wwv_flow_imp_page.create_page_process( p_id=>wwv_flow_imp.id(9890432295144041) ,p_process_sequence=>20 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Set Session Language' ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( 'BEGIN', ' /*APEX_UTIL.SET_PREFERENCE( ', ' p_preference => ''FSP_LANGUAGE_PREFERENCE'',', ' p_value => :P1_LANGUAGE, ', ' p_user => :APP_USER); */', ' --:FSP_LANGUAGE_PREFERENCE := :P1_LANGUAGE;', ' APEX_UTIL.SET_SESSION_LANG(:P1_LANGUAGE);', 'END;')) ,p_process_clob_language=>'PLSQL' ,p_process_error_message=>'#SQLERRM#' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_internal_uid=>9890432295144041 ); wwv_flow_imp_page.create_page_process( p_id=>wwv_flow_imp.id(20577841671116504) ,p_process_sequence=>30 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Set Theme Style' ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( 'if :P1_DESKTOP_THEME_STYLE_ID is not null then', ' for c1 in (select theme_number', ' from apex_application_themes', ' where application_id = :app_id', ' and ui_type_name = ''DESKTOP''', ' and is_current = ''Yes'')', ' loop', ' apex_theme.set_current_style (', ' p_theme_number => c1.theme_number,', ' p_id => :P1_DESKTOP_THEME_STYLE_ID', ' );', ' end loop;', 'end if;')) ,p_process_clob_language=>'PLSQL' ,p_process_error_message=>'#SQLERRM#' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ,p_internal_uid=>20577841671116504 ); wwv_flow_imp.component_end; end; /