cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Parameter when calling a popup window

siongchao_ng
Contributor
0 Kudos

Hi all,

I am using Zapp1 to embed Zapp2. Zapp2 is a poopup window. Now, I need to pass a string id to Zapp2 whenever Zapp2 is called. How to pass the string param from Zapp1 to Zapp2? Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Option 1 as is is now - via parameters in the navigation plugs

Option 2 would be to create an interface method in comp ZAPP2 with an importing parameter then call this method from ZAPP1. here you overtake the value from ZAPP1 and also open the popup. In this case the popup would be "owned" by ZAPP2

Regards,

George

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

For a modal popup window, you ll embed a view.To my understanding you are calling ZAPP2 window from ZAPP1.

so you can declare a component controller attribute to read it in the view of ZAPP2.

Thanks,

BIndu.