Skip to Content
avatar image
Former Member

Pass parmeter views

Hi experts,

I have two views and I wanna pass parameter from one view to another view.How can I do this.Anyone can explain this with examples.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 01, 2007 at 09:11 AM

    Hi Mehmet,

    You can do it in many ways.

    1. using Navigation Links

    a. create an outbound plug in first view add parameter 'P_PARAM'

    b. create an in bound plug in second view and give the parameter 'P_PARAM'

    c. in the window embedd these two views

    d. Create the navigation link between these

    e. Fire the Outbound plug using wd_this->fire_<plug_name>_plg( p_param = 'hello' ).

    f. in the second view, inbound method which has parameter P_PARAM will have

    the 'hello', which is passed.

    OR

    2. Declare an attribute in the COMPONENTCONTROLLER and set this value in

    first view and retrieve in second view

    OR

    3. Create context node COMPONENTCONTROLLER and create the parameter

    as an attribute to the node created, and bind this node in both the views and

    you can access any where in your view.

    Regards

    Abhimanyu L

    Add comment
    10|10000 characters needed characters exceeded