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
Pedro Barbosa
1
Views
4
Comments
Web block comunication with Web Screen
Question
Hello all,
I have designed a web block which contains a series of check boxes.
I placed the web block on a web screen.
I need to store the staus of the check boxes when the "Save" action of the Web Screen is called.
My problem is I don't now how can I get the status of the CBs, within the web block, from the Web Screen .
Can anyone help me?
Thanks in advance.
Cipriano Teibão
Hi,
Why do you have the Save on the web screen? Can’t you put it on the webblock itself?
Regards,
Cipri
Pedro Barbosa
Hello,
Because the Web Screen is a edit form from a entity.
I only want to store the checkbox status if the save button is pressed.
A example of the web screen is in attachement.
Best regards
form.JPG
Cipriano Teibão
Hi,
Well, it is possible to use it as you want with the webblock but its not very practical, you would have to use the widget notify on your webblock and then catch the webblock onNotify event on your webscrean. However I wouldn’t advice you to do it like that, there are easier ways, for example, you could list the webblock components directly on the webscrean with a table record, then on the save action you can cycle the table record list and check witch components were selected or not.
Regards,
Cipri
Hermínio Mira
Hi Pedro,
Unless you are planning on using this Webblock a lot of times AND predict that its contents may change... I would follow Cipriano's advice of replacing the webblock with some other solution.
Cheers,
Hermínio Mira
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...