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

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 81216

Trending Articles