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

Call a view by the controller in a new browser window

Dear All,

I have developped a MVC application, I want call a view in a new browser window from the controller.

Now when a call this view, it's displaying in the same window of the first page.

This view is for a search-help of final customer (KUNNR).

It's very difficult to create search-helps with the BSP, you know ?

Thank you in advance for your solutions.

BEst Regards,

Hughs

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2004 at 11:27 AM

    Dear Hughs,

    Usually search helps are implemented showing list value in the same page (as done by ITS WebGUI).

    If you want the browser to open a new window, you can do the following:

    - by clicking on your value request button, in the do_handle_data method, assign 'X' to a model->show_search_help_1 variable (or something else);

    - on view layout, IF model->show_search_help_1 EQ 'X', write a JavaScript statement which opens a new window calling the URL you want.

    Of course, you can pass data between applications by context or session data retention, or, moreover, by using server side cookies.

    If I woke up your curiosity, I can post some example... 😉

    Dany 😊

    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.