Project

General

Profile

Actions

Bug #7912

closed
PD KD

Accessing WpopupMenu crashes in Widgetset mode. Works fine in regular mode

Bug #7912: Accessing WpopupMenu crashes in Widgetset mode. Works fine in regular mode

Added by Prasad Dixit over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Korneel Dumon
Target version:
Start date:
12/14/2020
Due date:
% Done:

100%

Estimated time:

Description

Hi,

My code is largely based on Popup menu example here: https://www.webtoolkit.eu/widgets/navigation/popup-menu

The code works just fine in the regular mode (EntryPointType Application). However, in WidgetSet mode, when the PushButton with popup menu defined by setMenu is clicked, the application crashes with following message:

JavaScript error: {""exception_description"":""Cannot read property 'display' of undefined"",""exception_js"":"" ...}

I tried it with Wt 4.04 and latest RC 4.5.0. In both cases, result is the same.


Related issues 1 (0 open1 closed)

Has duplicate Bug #7914: WPopupMenu in WidgetSet application gives Wt internal error; code: undefined, description: Cannot read property 'display' of undefinedClosed12/14/2020

Actions

RS Updated by Roel Standaert over 5 years ago Actions #1

Are you using WidgetSet mode within another Wt application? I think they may be conflicting with each other. Try setJavaScriptClass to make sure the WidgetSet application uses a different class name.

JZ Updated by jeroen zpam over 5 years ago Actions #2

wow coincidence i just reported the same thing with wt3.7 ...

PD Updated by Prasad Dixit over 5 years ago Actions #3

Roel - No, it is just a single Wt application running in WidgetSet mode in a web page.

@Jorem : Good to know that I am not the only one having this issue.

RS Updated by Roel Standaert over 5 years ago Actions #4

  • Target version set to 4.5.1

KD Updated by Korneel Dumon over 5 years ago Actions #5

  • Status changed from New to Implemented @Emweb
  • Assignee set to Korneel Dumon

RS Updated by Roel Standaert over 5 years ago Actions #6

  • Related to Bug #7914: WPopupMenu in WidgetSet application gives Wt internal error; code: undefined, description: Cannot read property 'display' of undefined added

RS Updated by Roel Standaert over 5 years ago Actions #7

  • Related to deleted (Bug #7914: WPopupMenu in WidgetSet application gives Wt internal error; code: undefined, description: Cannot read property 'display' of undefined)

RS Updated by Roel Standaert over 5 years ago Actions #8

  • Has duplicate Bug #7914: WPopupMenu in WidgetSet application gives Wt internal error; code: undefined, description: Cannot read property 'display' of undefined added

RS Updated by Roel Standaert over 5 years ago Actions #9

  • Status changed from Implemented @Emweb to Resolved

RS Updated by Roel Standaert about 5 years ago Actions #10

  • % Done changed from 0 to 100

RS Updated by Roel Standaert almost 5 years ago Actions #11

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom