Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: How to use AttrDef.setLocale(Locale)
Topic Summary: Using AttrDef.setLocale(Locale) as documented does not work.
Created On: 22-Jul-2008 15:28
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Markus Walker, on Wednesday, July 23, 2008 11:30 AM

Answer:
DOORS support answered my request as follows:

This is a know defect and has been logged as a duplicate with case ID

The workaround is to use the following -

Locale loc = userLocale
AttrDef ad = find(current Module, "Object Text")
modify(ad, setLocale, loc)

Our case ID is SH7028439.
 22-Jul-2008 15:28
User is offline View Users Profile Print this message


Markus Walker

Posts: 5
Joined: 12-Oct-2006

Did anybody successfully use the perm AttrDef.setLocale(Locale)?

I receive an error message -E- DXL: <Line:3> incorrectly concatenated tokens
when using the example of the DXL reference.
Report this to a Moderator Report this to a Moderator
 22-Jul-2008 22:03
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

Yes, I also get that error message. Curious.

Edit: I should say, I tried it first under DOORS 8.3, but 8.1 also behaves the same.

Edited: 22-Jul-2008 at 22:05 by Chris Jones
Report this to a Moderator Report this to a Moderator
 23-Jul-2008 11:30
User is offline View Users Profile Print this message


Markus Walker

Posts: 5
Joined: 12-Oct-2006

Answer Answer
DOORS support answered my request as follows:

This is a know defect and has been logged as a duplicate with case ID

The workaround is to use the following -

Locale loc = userLocale
AttrDef ad = find(current Module, "Object Text")
modify(ad, setLocale, loc)

Our case ID is SH7028439.

Edited: 23-Jul-2008 at 16:43 by Markus Walker
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.