Project

General

Profile

Feature #1062

WCompositeWidget::setImplementation is not reftected when Javascript version is used

Added by Boris Nagaev almost 10 years ago. Updated almost 10 years ago.

Status:
InProgress
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/15/2011
Due date:
% Done:

0%

Estimated time:

Description

Hello!

WCompositeWidget instance is created and implementation is set (setImplementation).

Then from another thread (using WServer::post) new implementation is set and triggerUpdate() is called.

But the widget keeps showing old implementation (in javascript version).

This works in HTML version.

It is not documented if setImplementation() can be run more than once.

BR

#1

Updated by Koen Deforche almost 10 years ago

  • Status changed from New to Feedback
  • Assignee set to Koen Deforche
  • Target version set to 3.2.0

Hey,

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).

Regards,

koen

#2

Updated by Boris Nagaev almost 10 years ago

Hello!

Yes, it should be documented.

It would be great, if implementation changing were supported.

BR

#3

Updated by Koen Deforche almost 10 years ago

  • Tracker changed from Bug to Feature
#4

Updated by Koen Deforche almost 10 years ago

  • Status changed from Feedback to InProgress
  • Target version deleted (3.2.0)

Moved to a feature request.

Also available in: Atom PDF