Hello everyone,
I have a popup with the following structure:
The webblock shown here inside the "SecondChild" container has several inputs which are feed by a local variable. When the user clicks a certain button I update the value of the local variable and do aa refresh of the "Parent" container and the following happens:
Any idea of what might be happening here?
Thanks
Hi Pedro,
In a traditional app, you must refresh your UI widgets whenever an associated variable's value changes. This is the only thing missing; you try to refresh your UI widgets on the callback handler.
Please let me know if you require any additional information. Otherwise, simply sharing your OML will make it easier to understand.
Thanks,
Narendra
Hello Narendra,
I'm not sure you understood what the issue is. The web block is being refresh with an Ajax Refresh and the preparation of the web block is triggered. And that is normally enough for all the content of the web block to be rendered again. But for some reason it is not working in this case.
OML cannot be shared for obvious reasons, this is a customers applications.
I understood your problem but this is highly "suspicious" if you debugged and the values seem right, but then the UI still shows the old values. It never happened to me before but I would gladly take a look into it if you are able to simulate the same problem in a sandbox (ofc without the customer data) and provide that sandbox .oml.
I tried to do the same in a sandbox and couldn't replicate so... If you can, please let me know so I can try to take a look and help you
Cheers,
Paulo