Project

General

Profile

Bug #6285

Wt 3.3.9 WTreeview.. unresolved variable?

Added by Velvet Jones almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
03/07/2018
Due date:
% Done:

0%

Estimated time:

Description

Moving from an earlier version of Wt 3.x to 3.3.9 I get this in my treeview. Any ideas off the top of your head what it's complaining about?


Files

ss.jpg (8.99 KB) ss.jpg Velvet Jones, 03/07/2018 12:43 PM
ss1.png (8.15 KB) ss1.png Velvet Jones, 03/13/2018 12:25 PM
ss2.png (10.1 KB) ss2.png Velvet Jones, 03/13/2018 12:25 PM
main.cpp (910 Bytes) main.cpp Velvet Jones, 03/14/2018 01:22 PM
ss.png (1.38 KB) ss.png Velvet Jones, 03/14/2018 01:22 PM
#1

Updated by Velvet Jones almost 5 years ago

Image ss1.png shows the generated html for a test case treeview.

Image ss2.png shows the generated html for an almost stripped bare treeview in my application.

What do trunk-class and selected indicate? There's no model associated with either the test case or the app, but one shows this and the other doesn't.

#2

Updated by Roel Standaert almost 5 years ago

That seems very strange. WTreeNode normally populates all variables in its constructor. I'm thinking maybe there's an issue with your build? If that's not it, then I'm not sure. I'd need some example code using the WTreeView to properly debug this.

#3

Updated by Velvet Jones almost 5 years ago

Hi Roel, I have a test case that reproduces the problem.

Am I using the message resource bundle incorrectly? I derived from it in order to provide my own localization. If I don't call the base class in my override, I get back odd strings like "Wt.WNavigationBar.template" where I'm supposed to have a toolbar widget. That string doesn't look like something that needs to be translated into a local language.

What am I missing here?

#4

Updated by Velvet Jones almost 5 years ago

I have updated my wt.xml file and all functions correctly. You can close this issue. Thanks for looking into it.

#5

Updated by Roel Standaert almost 5 years ago

  • Status changed from New to Closed

Also available in: Atom PDF