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.
2011-06-15 10-51-52
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
UserImage.jpg
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
2011-06-15 10-51-52
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
2019-06-17 07-29-54
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 GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.