Skip to main content
Jan 22, 2016 4:05 PM UTC
Question

Important : Problem to refresh a mashup!

Hi,

 

I have  a problem to refresh my main mashup from my popup mashup. In my main mashup, I have a repeater which contain many elements and the last element is an element with a link to open a popup to add a new element. However I didn't find a method to refresh my main mashup from the popup. I wanted to try with session variable but the main mashup keep a local copy, then the value is not updated after the runtime and it doesn't work. If someone has already had the same problem and found a new solution then let me know.

 

Regards,

Anthony

 

Hierarchy from my  mashups

Legend (+ : is a mashup and - : is a widget from the mashup) :

 

 

+ main_mashup

     - repeater

          + element 1

          + element 2

          + element 3 (last element is a button add to call a popup)

               + popup_mashup

4 replies

Jan 22, 2016 7:29 PM UTC

Using session variables does make sense. Can you expand on what you meant about local copy?

anthony1Author
Jan 24, 2016 11:07 PM UTC

Hi,

When the main mashup is loaded, it keeps a local variable from the sessions variables and if the mashup popup try to change the session variable, the value will change but the main mashup which was already loaded cannot have access at the updated value from the session variable.

Do you have a solution for it? Or another way to solve this problem?

Regards,

Anthony

Jan 28, 2016 3:46 PM UTC

Have you tried refreshing the main mashup with the event popupclose?

anthony1Author
Apr 5, 2016 9:42 AM UTC

I cannot do it because my mashup (object) are in a repeater component.