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
Mikro Price
3
Views
1
Comments
Page Refresh Default Value not working.
Question
Hi All,
I have 4 combo boxes for filtering and I put them on a 'webblock' for reusability and each combo boxes has its own variable and each variables has its own default value and now when I refresh the parent screen who has this 'filtering weblock' the previous selected value is choosen. Even I assign the value for each variables in the preparation of the 'webblock' it didn't work. How can I fix this?
Kilian Hekhuis
MVP
Hi Mikro,
If you Ajax refresh a web block, its preperation will run. In that case, local variables will get their default value and any value you set in the preperation. Note that in general, web blocks should only be used for presentation, unless any action that works on the web block's data is contained in the web block. The reason for this is that the parent screen can't easily retrieve values that are set in the web block.
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...