Web block comunication with Web Screen

Web block comunication with Web Screen

  
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.
Hi,

Why do you have the Save on the web screen? Can’t you put it on the webblock itself?

Regards,
Cipri
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
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
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