Skip to Content
author's profile photo Former Member
Former Member

Jump over an BSP Application

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2005 at 03:21 PM

    Can you be a bit more specific? Have you checked out the Tutorials for MVC in SE80?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 09, 2005 at 08:06 PM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.