Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80925

Widget update method and conditional visibility

$
0
0

Hello,

we have recently converted our application from Mx 6.9.1 to Mx 7.0.2, and we have experienced problems in some pages where a customized widget was contained into containers with conditional visibility.

For what I could see, the problems were caused by the fact that the update methods of the widget was called a number of times equal to the number of visibility checks.

We have solved the problems by adding some checks on the update method, so avoiding to build unnecessary components, but I would like to have some clarification about when the update method is triggered: from the documentation I understood that it is called when the context object of the widget changes (meaning that it is really another object), but this should not be related with conditional visibility.

Thanks in advance.
 


Viewing all articles
Browse latest Browse all 80925

Trending Articles



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