![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to change the default value of a module attribute Topic Summary: Created On: 1-Oct-2008 09:59 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello all,
I would like to change the default value of an attribute using DXL. The reason is, that I have multiple modules with the same attribte. The defval property doesn't seem to allow assignment of a string value. Also helpful would be a function that changes the actual value of a module attribute (if default values cannot be changed by DXL) Thanks a lot in advance. Best Regards Mathias Burchardt BeOne Hamburg GmbH |
|
![]() |
|
![]() |
|
Look at the "modify" function for setting attribute default values. Otherwise module attributes are the just the same as object attributes, you just access them through a module variable:
Module m = current string ModulePrefix = m."Prefix" ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|
![]() |
|
![]() |
|
Thanks so much, Pekka, for the quick and helpful reply. It works perfectly.
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.