Bug #7912
closedAccessing WpopupMenu crashes in Widgetset mode. Works fine in regular mode
100%
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.
Updated by Roel Standaert almost 4 years ago
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.
Updated by jeroen zpam almost 4 years ago
wow coincidence i just reported the same thing with wt3.7 ...
Updated by Prasad Dixit almost 4 years ago
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.
Updated by Korneel Dumon almost 4 years ago
- Status changed from New to Implemented @Emweb
- Assignee set to Korneel Dumon
Updated by Roel Standaert almost 4 years ago
- Related to Bug #7914: WPopupMenu in WidgetSet application gives Wt internal error; code: undefined, description: Cannot read property 'display' of undefined added
Updated by Roel Standaert almost 4 years ago
- Related to deleted (Bug #7914: WPopupMenu in WidgetSet application gives Wt internal error; code: undefined, description: Cannot read property 'display' of undefined)
Updated by Roel Standaert almost 4 years ago
- Has duplicate Bug #7914: WPopupMenu in WidgetSet application gives Wt internal error; code: undefined, description: Cannot read property 'display' of undefined added
Updated by Roel Standaert almost 4 years ago
- Status changed from Implemented @Emweb to Resolved
Updated by Roel Standaert about 3 years ago
- Status changed from Resolved to Closed