Project

General

Profile

Actions

Feature #1062

open

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

Added by Boris Nagaev over 12 years ago. Updated over 12 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

Actions #1

Updated by Koen Deforche over 12 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

Actions #2

Updated by Boris Nagaev over 12 years ago

Hello!

Yes, it should be documented.

It would be great, if implementation changing were supported.

BR

Actions #3

Updated by Koen Deforche over 12 years ago

  • Tracker changed from Bug to Feature
Actions #4

Updated by Koen Deforche over 12 years ago

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

Moved to a feature request.

Actions

Also available in: Atom PDF