Skip to Content
avatar image
Former Member

passing data values to all the view without inbound plugin

Hi Experts ,

I am in a complex situation.

Scenario is as below.

I have 4 views say A, B, C, D

when user click Continue on view A he goes on B and so on... Most of the Context created are in COMPONENT CONTROLLER and is being used in Views .

This is already existing program.

Now I have created a popup on view A which shows an TABLE with some entries if user selects a record and clicks ok we want all the views to have some values that this row contains.

For more explanation supoose B is having address then address from table row should be appear on view B when user clicks on continue button of A.


A user get popup, he selects a record and clicks on OK on popup , pop up closes and he is now on screen A, he clicks on continue button and B should have the address already filled with the selected row data.

How can we do that I dont want to disturb and uotbound plugin which is existing.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    May 16, 2014 at 06:07 AM

    Hi Rahul,

    As the context nodes of views are mapped from the component controller, you can set the data to the context nodes from any view and it reflects in all dependent views.


    Let us say,

    • in view A, user gets a popup and use selects a record and clicks on Okay.
    • Now, user presses CONTINUE, here you need to read the data from the context node of POPUP window and set the data to context node of VIEW B & so... on
      • Read the context node of popup window
      • Read the context node of view b, c, d, ....
      • Now, set the data from popup window to the context nodes of view b, c, d

    Hope this helps you.



    Add comment
    10|10000 characters needed characters exceeded

  • May 16, 2014 at 09:59 AM

    Hi Rahul,

    Data can be shared between controllers using

    1. Context

    2. Controller Attributes


    To share the data between different controllers of the component. Create a NODE( MATERIAL ) in the component controller and define context mapping with views, where data needs to be shared.

    Controller Attribute:

    Define ATTRIBUTE( Materials ) in the component controller--> Attributes tab. set the data selected record to the attriibute of the component controller and read the data, in the respective controllers.

    Thanks & Regards,

    Sankar Gelivi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 23, 2014 at 04:48 PM

    Hi Rahul,

    your popup window has to use the component-controller-node which B is using too. So map the B's component-controller-node to the context of your popup view and chang the values when user clicks OK.



    Add comment
    10|10000 characters needed characters exceeded