Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
jun
3
Views
1
Comments
cannot pass variable to a popup using widget click action
Question
Data
OutSystems Widgets
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,
Justin James
MVP
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...