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: papulate value based on selection
Topic Summary: papulate value based on selection
Created On: 16-Nov-2005 21:04
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.
 16-Nov-2005 21:04
User is offline View Users Profile Print this message


Ananda Badugu

Posts: 20
Joined: 3-Feb-2003

I have a list of values in the in the attribute A and list of values in the attribute B. If I select a value from the attribute A (ex: XXX). The values in the attribute B related to XXX should display automatically in the attribute B. can any one help me. How to do this using DXL

Thanks
Anand
Report this to a Moderator Report this to a Moderator
 17-Nov-2005 09:49
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Sorry, but I think we need a bit more information to arrive at a solution.
Are A and B enumerated attributes?
Are they of the same type?
Can A have more than one value (i.e. it is multi-valued)?
How are A and B related? Is there a rule?

You probably need a DXL attribute for B, but I can't write the code until I understand the question better.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 17-Nov-2005 13:37
User is offline View Users Profile Print this message


Ananda Badugu

Posts: 20
Joined: 3-Feb-2003

Tony,



I have created Attribute A is enumerated attribute type.

Attribute B is not anumerate.

Attribute A is not a multi valued. user select only one values from the attribute A column.

I may put the attribute B values in the ERRAY.

I also may put attribute A values in the another ERRAY.

If the user select XXX from the attribute A.


Ex.

Attribute A Attribute B

XXX 0001
YYY 0003
ZZZ 0005


If I select XXX from attribute A column and 0001 should disply in the Attribute B Column automatically.



Thanks tony for your help.
Report this to a Moderator Report this to a Moderator
 17-Nov-2005 16:31
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The attached is DXL code for your DXL attribute.

You need to edit the code so that the name of your attribute A is in quotes on line 4.
Put the possible values of attribute A in line 7
put the corresponding values you want for B in line 10.
ensure that both arrays have the same number of entries!

To create your attribute B:
1. select edit -> attributes
2. click New
3. enter the name, select type String and check the DXL attribute box
4. click Browse
5. click Current
6. paste your DXL into the editor window
7. click Check
8. if all is OK then clik OK
9. click OK again

You should now have a column showing B that updates in line with B.

Note that DXL attributes are not updated dynamically, you will need to select "refresh DXL attributes" from the tools menu to force an update.

-------------------------
Tony Goodman
http://www.smartdxl.com
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.