WCompositeWidget instance is created and implementation is set (setImplementation).
Then from another thread (using WServer::post) new implementation is set and triggerUpdate() is called.
This works in HTML version.
It is not documented if setImplementation() can be run more than once.
Updated by Koen Deforche about 11 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
- Target version set to 3.2.0
setImplementation() can only be set (once, or multiple times) before the widget has been rendered.
To change the implementation after it has been rendered, is not supported, and requires some work since we need to replace the previous implementation (which has a different DOM id) with the new implementation...
I suggest we document that this is not possible (yet).