Other OutSystems sites...
OutSystems Website
About Agility Blog
OutSystems Network
Login
Signup
Forums
Academy
Forge
Ideas
Forums
›
Technology & Integration
›
Web block comunication with Web Screen
Web block comunication with Web Screen
Pedro Barbosa
Rank: #738
Posted on 2011-08-04
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
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
Rank: #307
Posted on 2011-08-04
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi,
Why do you have the Save on the web screen? Can’t you put it on the webblock itself?
Regards,
Cipri
Pedro Barbosa
Rank: #738
Posted on 2011-08-04
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
form.JPG
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
Cipriano Teibão
Rank: #307
Posted on 2011-08-04
thumbs_up_ico
1
thumbs_down_ico
0
reply
post_link_ico
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
Rank: #64
Posted on 2011-08-04
thumbs_up_ico
1
thumbs_down_ico
0
reply
post_link_ico
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
Quick Reply
Notify me by email when someone answers to my post
attachment
Choose File
No file chosen
Submit
Login to reply
Something on your mind?
Login to Start a Discussion
Top Forums Posters
Gonçalo Martins
Ricardo Silva
Charles Colaço
Gerry
André Vieira
Arnold Grippeling
João Rosado
JD
Mizé Williams
Robert Chanphakeo
See leaderboard
Online Training
On-demand video lessons to help you learn at your own pace.
Learn More