Hi,
in my web application i have 3 bsp application.
App 1 calls App 2.
In App 2 you can call App 3 by clicking a button.
Now I want to leave out App2 in a certain context.
How can I call the controller of App3 directly from the doInit method from App2, so that App2 is not shown, and simply redirects.
I want to use an if clause in the doInit method, which is checking the context of the BSP application.
Somewhere (probably doRequest is better) you will use code such as:
IF app2_is_an_over_kill IS NOT INITIAL. url = runtime->create_bsp_url( application = 'app3' ... ). response->redirect( destination = url ). ENDIF.
Redirect directly onto relative URL ../app3/page.xyz should also work (from what I remember!).
Add a comment