cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

How to cacth a click event from a contained mashup to mashup parent

pgarcia-2
1-Visitor

How to cacth a click event from a contained mashup to mashup parent

Hello ,

I have created a mashup on which I have a menu . Each element of the menu drive the display of a mashup in a contained mashup .

In one sub mashup (eg a mashup in a contained mashup ) I a have a button .

When I click on this button I would like to alert the parent mashup that an event is raised in order to refresh a grid .

What it the most suitable solution to perform this ?

Thanks and regards,

4 REPLIES 4
qn
12-Amethyst
12-Amethyst
(To:pgarcia-2)

Hi,

where is the grid, in the sub mashup or in the parent mashup ?

The sub mashup can create a mashup parameter which will appear as an parameter in the Contained Mashup widget.

Hello the Grid is in the parent mashup

Aanjan
12-Amethyst
(To:pgarcia-2)

You would probably need to use Session parameters. You can store values onto these parameters and use them across the Platform. In this case, you might want to look into storing this clicked event and triggering your custom event.

qn
12-Amethyst
12-Amethyst
(To:pgarcia-2)

You can use the Session parameters as Aajan mentioned, or another method Container Mashup Refresh event does not fire​.

Announcements


Top Tags