Actions
Bug #14595
closedWTemplate::renderTemplate() sets the event handlers of bound widgets
Start date:
06/12/2026
Due date:
% Done:
0%
Estimated time:
Description
WTemplate::renderTemplate() does render the widgets bound to the WTemplate into the given stream as html. This is done using WWidget::htmlText(), which also make the application execute the JavaScript necessary for the widget to function correctly.
This is an issue, because WTemplate::renderTemplate() does not require or make the WTemplate part of the DOM tree. This can lead to JavaScript being called on DOM elements that do not exists on the client side, leading to errors.
Updated by Romain Mardulyn about 2 months ago
- Target version changed from 4.13.4 to 4.13.3
Updated by Romain Mardulyn about 2 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
Updated by Matthias Van Ceulebroeck about 2 months ago
- Assignee set to Matthias Van Ceulebroeck
Updated by Romain Mardulyn about 2 months ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
Updated by Romain Mardulyn about 2 months ago
- Status changed from Implemented @Emweb to Closed
Actions