From c9e154d02e4cdf6395ea88a7eb70a486cdd162eb Mon Sep 17 00:00:00 2001 From: oblomov <102328295+oblomov-dev@users.noreply.github.com> Date: Fri, 2 Feb 2024 17:17:19 +0100 Subject: [PATCH] new version (#840) * new version * Update changelog.txt --- changelog.txt | 10 ++++++++++ src/01/02/z2ui5_cl_fw_model_ajson.clas.abap | 4 ++++ src/01/03/z2ui5_cl_fw_app_startup.clas.abap | 9 ++++++++- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 214236f8..83543c2d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -8,6 +8,16 @@ Legend + : added - : removed + +2024-02-02 v1.117.0 +------------------- + ++ NavContainer in Popups ++ New properties added to XML View ++ Improvements POPUP_TO_SELECT (title, sorting, descriptions +* Fixes for ABAP for Cloud Readiness + + 2024-01-26 v1.116.0 ------------------- diff --git a/src/01/02/z2ui5_cl_fw_model_ajson.clas.abap b/src/01/02/z2ui5_cl_fw_model_ajson.clas.abap index da0f9c50..4addb97b 100644 --- a/src/01/02/z2ui5_cl_fw_model_ajson.clas.abap +++ b/src/01/02/z2ui5_cl_fw_model_ajson.clas.abap @@ -129,6 +129,10 @@ CLASS z2ui5_cl_fw_model_ajson IMPLEMENTATION. ELSEIF lr_attri->compress = z2ui5_if_client=>cs_compress_mode-standard. ajson = ajson->filter( z2ui5_cl_ajson_filter_lib=>create_empty_filter( ) ). + ELSEIF lr_attri->compress = z2ui5_if_client=>cs_compress_mode-none. + "obsolete - is this still needed? use compress_custom instead + ASSERT `` = `OBSOLET_COMPRESS_MODE_USE_CUSTOM_INSTEAD`. + ELSE. ASSERT `` = `ERROR_UNKNOW_COMPRESS_MODE`. ENDIF. diff --git a/src/01/03/z2ui5_cl_fw_app_startup.clas.abap b/src/01/03/z2ui5_cl_fw_app_startup.clas.abap index e1780dad..a12ce175 100644 --- a/src/01/03/z2ui5_cl_fw_app_startup.clas.abap +++ b/src/01/03/z2ui5_cl_fw_app_startup.clas.abap @@ -21,6 +21,7 @@ CLASS z2ui5_cl_fw_app_startup DEFINITION DATA mv_check_initialized TYPE abap_bool. DATA mv_check_demo TYPE abap_bool. + DATA mv_ui5_version TYPE string. CLASS-METHODS factory RETURNING VALUE(result) TYPE REF TO z2ui5_cl_fw_app_startup. @@ -36,7 +37,7 @@ ENDCLASS. -CLASS z2ui5_cl_fw_app_startup IMPLEMENTATION. +CLASS Z2UI5_CL_FW_APP_STARTUP IMPLEMENTATION. METHOD factory. @@ -82,6 +83,8 @@ CLASS z2ui5_cl_fw_app_startup IMPLEMENTATION. page2->header_content( )->title( `abap2UI5 - Developing UI5 Apps Purely in ABAP` )->toolbar_spacer( ). + page2->_z2ui5( )->info_frontend( ui5_version = client->_bind( mv_ui5_version ) ). + DATA(simple_form2) = page2->simple_form( editable = abap_true layout = `ResponsiveGridLayout` @@ -142,8 +145,12 @@ CLASS z2ui5_cl_fw_app_startup IMPLEMENTATION. simple_form2->toolbar( )->title( `System Information` ). simple_form2->label( `abap2UI5 Version` ). simple_form2->text( z2ui5_if_app=>version ). + simple_form2->label( `UI5 Version` ). + simple_form2->text( client->_bind( mv_ui5_version ) ). simple_form2->label( `ABAP for Cloud` ). simple_form2->checkbox( enabled = abap_false selected = z2ui5_cl_util_func=>rtti_check_lang_version_cloud( ) ). + simple_form2->label( `Launchpad active` ). + simple_form2->checkbox( enabled = abap_false selected = client->get( )-check_launchpad_active ). DATA(lv_url_samples2) = z2ui5_cl_util_func=>app_get_url( client = client