Project

General

Profile

Actions

Bug #1145

closed
KD

setObjectName with Umlauts causes javascript error

Bug #1145: setObjectName with Umlauts causes javascript error

Added by Anonymous over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
01/24/2012
Due date:
% Done:

0%

Estimated time:

Description

@auto btnEdit = new WPushButton("Ändern...", root());
btnEdit->setObjectName("Ändern...");

btnEdit->clicked().connect(std::bind([btnEdit]{
btnEdit->setDisabled(true);
}));@

When clicking the button
"Wt internal error: TypeError: j4 is undefined, code: undefined, description: undefined" occurs

KD Updated by Koen Deforche over 14 years ago Actions #1

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.2.1

Hey,

There are indeed restrictions to the characters allowed in the object name and widget ID.
Only letters ([A-Za-z]), digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".") are allowed.

We've clarified this in the documentation now.

Regards,
koen

KD Updated by Koen Deforche over 14 years ago Actions #2

  • Status changed from Resolved to Closed

Fixed in 3.2.1

Actions

Also available in: PDF Atom