Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Weird Web Block behaviour with notify and notifyGetMessage

$
0
0
Hi fellow Outsystems'er

Got an interesting problem.

A Parent window has a child WebBlock.

On that webblock there are a list of questions, and you can click on any of the questions to select or unselect that question.

Each time a question is clicked, a method is triggered via Ajax Submit.  

The method resolves the question id and posts it via notify.

The parent web screen has an OnNotify method that gets trigered/called takes the id from the NotifyGetMessage creates a row with the data and then appends it to a list using "ListAppend"

All works perfectly, in debug mode I see the event posted, the event caught, the row created and then appended with data properly.



However, I notice when a second question finds its way to the on notify and  also gets added to my list that the rows are all there but that the data from the previous add is empty.



I'm pretty sure the logic is sound because when I use a session list instead of a web page local variable I can see all the data properly after multiple ListAppends

Is there a limitation I don't know about?

Any help would be great.

Regards,

Jean

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>