vace117 schrieb:
I just got my code to work.

I still can't explain the spectacular errors and visual effects like
duplication of my dataTable, but I managed to avoid the problem.

The key was not to discard the old instance of HtmlPopup and create a new
one on every render. i.e. these lines:
this.getChildren().clear(); // we only want one popup
this.getChildren().add(popup);
I changed my code to check if my component already has children and if it
does, resuse them. This made my page work properly.

Anyone understand why it wasn't working when a new instance of HtmlPopup was
created every time?

Not fully but I assume you triggered a weird behavior clash between the javascript and the html generation (probably you made accidentally the browser go haywire for some kind of reasons). Can you file a jira bugreport on this one please, so that others can look into it as time permits?



Reply via email to