Skip to Content

Pass variable across the BSP pages in stateful

Hi I want to pass variables from the first screen to 3 rd or 4 th html file .Im using a Aplication class as well, but unable to retrieve the value fromn the 3rd html page.Can anybody suggest how to pass the variable values/internal tables from one page to another page ?

( im not using the naviagtion command from the 2nd page to 3rd page. 2nd page contains the frames ,and the 3rd page is the source file of the frames.)

Thanks for your help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jan 10, 2007 at 02:07 PM

    YOu can use Cookies..

    Look at this blog where i mentioned how to pass the values between the BSP applications. But this is still applicable for between pages also.

    /people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i

    /people/raja.thangamani/blog/2007/01/05/bsphow-to-navigation-between-bsp-applications-part-ii

    <i>* Reward eac useful answer</i>

    Raja T

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2007 at 08:48 AM

    Hi,

    In a stateful application, content of the variables defined in the application class should remain existant.

    If you work with frames, you should make sure that screen 4 gets refreshed when a application varaible is modified in screen 3 in order to make it visible.

    Eddy

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2007 at 08:49 AM

    Hi Deadlock1,

    you have access to your variables

    <b>MVC-stateful</b>

    application->var1.

    <b>flow-logic - stateful</b>

    BSP1: set the table; Siteattributes: itab_1 (no autoflag)

    application->table = itab1.

    navigation->goto_page( 'page1.htm' ).

    BSP2: receive the table; Siteattributes: itab_2 (no autoflag)

    itab_2 = application->table.

    <b>flow-logic - stateless</b>

    OnInputProcessing:

    navigation->goto_page( 'page2.htm' ).

    navigation->set_parameter( 'var1' ).

    Do you mean that?

    Regards, Steffen

    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.