Hi all ,
I have a urgent requirement regarding People-Centric UI. I have added a additonal button in a standard BSP. Now on the click of that button I am interested calling a external URl.
In a simple BSP application the following code works
navigation->goto_page( 'http://google.com' ) on Input processing.
However, in case of People-Centric UI a method of a class is called where you are suppose to code for additional events ( for new buttons ). Howver, these methods do not pass a reference to the BSP runtime and hence the code " navigation->goto_page( 'http://google.com' ) " cannot work.
I tried to get the runtime reference using the following code.
CLASS cl_bsp_runtime DEFINITION LOAD.
DATA: runtime TYPE REF TO cl_bsp_runtime,
* navigation TYPE REF TO cl_bsp_navigation.
CALL METHOD cl_bsp_runtime=>get_runtime_instance
runtime = runtime
However I am not getting a reference to navigation object( Since it is a private attribute of CL_BSP_RUNTIME )
Any suggestions would be welcomed.