cannot pass variable to a popup using widget click action

cannot pass variable to a popup using widget click action

  
Hi Outsystems,

may i ask on how to deal with this problem, the variable i assigned is not pass to a popup using widget click,
i wonder what causes this problem.

thanks,
I am assuming that you are doing:

1. Have a link or button to a screen.
2. Pass parameters to this screen.
3. The parameter values are coming from a variable.
4. The link/button has PopupWidget assigned to it.
5. You are calling WidgetClick on the link/button to make the screen show as a popup.

You need to call AjaxRefresh on the link/button so it gets the most recent values from the variable BEFORE you call WidgetClick. If you do this, you also need to call AjaxRefresh on the PopupEditor Widget so that it gets the most-current ID of the link/button. Again, this would need to be done BEFORE the WidgetClick.

J.Ja