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

Passing control and values between BSP Applications

Hi,

I have two BSP applications. I am able to pass the control from the first BSP application to the other but, I face a problem after that. If I trigger any event in the 2nd BSP application, the control goes to the DO_HANDLE_EVENT of the 2nd application after which it goes to the 1st application's main controller. By this time, all the values that i set in the second BSP application are getting cleared. This problem is mainly because 2 seperate model classes are maintained for the 2 applications. So the values assigned to the attributes of the model class of each, are getting refreshed when I switch between Applications. Could somebody tell me how to handle this?

Thanks in Advance.

Shwetha

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 27, 2008 at 12:42 PM

    the content in this post and [in this post|Passing control from 1 BSP application to another BSP Application; are verbatim.

    why? is it the same person with two different Ids or two differnt people working in the same project?

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi All,

      Thanks for all the replies that I received. I have found a solution for the issue that I explained.

      To store the global attributes of two BSP Applications, an APPLICATION CLASS can be used. In the Properties Tab of the 2 BSP Applications that you wanu link, specify the same Application class.

      Define all the common/global attributes within this Application class as STATIC Attributes. Similarly you can define Static Methods also, if needed.

      Accessing the Application Class' Attributes:

      - In Page

      Can directly use the 'application' object.

      Eg. application->attribute1

      - In Controller

      Define an instance for this Application Class and assign the application object to the new instance.

      Eg. appl type ref to zappl_class.

      appl ?= application.

      appl->attribute1.

      This helps in retaining the values when we move from 1 BSP Application to another.

      Thanks again for all the prompt replies.

      Shwetha

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.