Project

General

Profile

Actions

Bug #1145

closed

setObjectName with Umlauts causes javascript error

Added by Anonymous about 12 years ago. Updated about 12 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

Actions #1

Updated by Koen Deforche about 12 years ago

  • 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

Actions #2

Updated by Koen Deforche about 12 years ago

  • Status changed from Resolved to Closed

Fixed in 3.2.1

Actions

Also available in: Atom PDF