You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Share the same data for multiple widgets

Accepted answer
edited Feb 28, 2019 2:08PM in Customer Portal 1 comment


Possible ways to share the same data object across custom widgets


I have a custom widget that fetchs some initial data from the database to be used in a form. I need to store this data in a way that other custom widgets can access it and edit it before the final result is submitted. I first tried to use the <rn:container /> tag, but that seems to only make a shallow copy of the attribute to the other widgets. Then I used the fire/listen to events strategy and it worked, but I repeated the same logic in all of the custom widgets.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!