on 10-23-2012 7:41 AM
i am adding the title in IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION method of window controller and custom button using IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS method.
the title and toolbar is displayed properly when first time application is triggered, but when i navigate to any stantard application and then again navigate back to custom application , title and toolbar is not changing , previous standard application title and toolbar is only getting displayed.
please help me.
its is not refresing the title bar and toolbar second time the application gets called.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
method IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION.
CALL METHOD super->if_bsp_wd_history_state_descr~get_state_description
EXPORTING
iv_current_description = iv_current_description
RECEIVING
description = description.
REPLACE description WITH text-001 INTO description.
endmethod.
METHOD if_bsp_wd_toolbar_callback~get_buttons.
CALL METHOD super->if_bsp_wd_toolbar_callback~get_buttons
RECEIVING
rt_buttons = rt_buttons.
s_button-type = cl_thtmlb_util=>gc_icon_goto.
ls_button-text = 'MTCCA'.
ls_button-tooltip = 'Launch MTCCA'.
ls_button-enabled = lv_enabled.
CONCATENATE 'javascript:window.open("' lv_url '")' INTO lv_url.
ls_button-on_client_click = lv_url.
APPEND ls_button TO rt_buttons.
endmethod.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.