mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 22:09:24 +08:00
renaming fixes (#1080)
This commit is contained in:
parent
40a6466c2d
commit
45ec0db10f
|
@ -14,7 +14,7 @@ CLASS z2ui5_cl_util DEFINITION
|
|||
CLASS-METHODS app_get_url
|
||||
IMPORTING
|
||||
!client TYPE REF TO z2ui5_if_client
|
||||
VALUE(classname) TYPE string OPTIONAL
|
||||
VALUE(classname) TYPE clike OPTIONAL
|
||||
RETURNING
|
||||
VALUE(result) TYPE string.
|
||||
|
||||
|
@ -58,7 +58,7 @@ ENDCLASS.
|
|||
|
||||
|
||||
|
||||
CLASS z2ui5_cl_util IMPLEMENTATION.
|
||||
CLASS Z2UI5_CL_UTIL IMPLEMENTATION.
|
||||
|
||||
|
||||
METHOD app_get_url.
|
||||
|
|
|
@ -152,9 +152,17 @@ CLASS z2ui5_cl_core_app_startup IMPLEMENTATION.
|
|||
client = client
|
||||
classname = 'z2ui5_cl_demo_app_000' ).
|
||||
|
||||
data lo_app type ref to z2ui5_cl_core_app_search.
|
||||
data(rtti) = cl_abap_typedescr=>describe_by_data( lo_app ).
|
||||
data(ref) = CAST cl_abap_refdescr( rtti ).
|
||||
data(name) = ref->get_referenced_type( )->absolute_name.
|
||||
name = substring_after( val = name sub = `\CLASS=` ).
|
||||
|
||||
DATA(lv_url_samples3) = z2ui5_cl_util=>app_get_url(
|
||||
client = client
|
||||
classname = 'z2ui5_cl_core_app_search' ).
|
||||
* classname = 'z2ui5_cl_core_app_search'
|
||||
classname = name
|
||||
).
|
||||
|
||||
simple_form2->toolbar( )->title( `What's next?` ).
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user