![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Cascading Allocation Topic Summary: Created On: 26-Sep-2007 23:36 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello All,
I like to have a multi-level allocation in DOORS; can it be done without DXL or I need a script?
Subsys-1 has 3 components (comp-1-1, comp-1-2, comp-1-3) Subsys-2 has 2 components (comp-2-1, comp-2-2) I have two attributes defined (subsys and comps) with above values in DOORS. The "comps" can is a multi-value attribute. When I allocate a requirement (object) to subsys-1 then I would the display list for "comps" attribute be only (comp-1-1, comp-1-2, comp-1-3) and not all 5 components listed above. This can be few levels deep and more complex; above is just an example. Please let me know if you need any clarifications. Appreciate any feedback. Regards, AR |
|
![]() |
|
![]() |
|
If I understand correctly then I have implemented a simple dialog for doing this, although it would need to be modified to handle multi-valued attributes.
Suppose you have two enumerated attributes, one called "Category" and the other called "Sub Category". You want the enumerations available for "Sub Category" to be dependant on the value of "Category". This cannot be done in doors using enumerated attributes. However, with some simple DXL, you can create the illusion of this functionality. Instead of using enumerations, use ordinary string attributes and use a dialog to edit the values. This utility implements a dialog box that allows the user to select values for "Category" and "Sub Category". Whenever the "Category" value is changed, the available values for "Sub Category" are automatically updated. The "pseudo enumerations" are implemented as string arrays. Each row contains a "Category" value in the first position and available "Sub Category" values in subsequent positions. Two scripts are provided. The first, editCategory.dxl, implements the dialog and contains the definitions of the category and sub category values. The second, categoryMenu.dxl, allows you to add the script to the popup menu of a formal module. The source code for this can be found here http://www.smartdxl.com/attributes.html ------------------------- Tony Goodman http://www.smartdxl.com Edited: 27-Sep-2007 at 09:44 by Tony Goodman |
|
![]() |
|
![]() |
|
Thanks Tony,
I did come accross this utility under DXL Forum and replied to you with the following questions/suggestions.
- Multi-level attributes is desired
- More than 2-level deep would be very useful
- Reading values from an external file would add to easier editing and flexibility
- data integrity and protection with text fields remain an issue
Appriciate any feedback you may have.
Regards,
AR
|
|
![]() |
Telelogic DOORS
» General Discussion
»
Cascading Allocation
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.