![]() |
Telelogic DOORS (steve huntington) | ![]() |
Topic Title: Setting a different Attribute as the one to be shown in table cells using DXL Topic Summary: Currently table cells show "Main" Column - and that can be changed manually. DXL ? Created On: 26-Apr-2007 13:45 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hi Dan, you can modify the displayed attribute of tables by using: o.(reserved "Main Column Attribute") = "Name of attribute to display"; where o is the table object and "Name of attribute to display" is the attribute's name you want to see in table. Greetings Reik | |
![]() |
|
Currently table cells show "Main" Column - and that can be changed manually.
Can that be changed using DXL ? (Can it be changed for a spesific view ? if not, It's also ok for me to run on all objects that are either calls or rows or columns or tables and set this - just show me how ..) Thanks |
|
![]() |
|
![]() |
|
Hi Dan,
you can modify the displayed attribute of tables by using: o.(reserved "Main Column Attribute") = "Name of attribute to display"; where o is the table object and "Name of attribute to display" is the attribute's name you want to see in table. Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Thanks ! |
|
![]() |
|
![]() |
|
Reik, I saw youre answer to Dan but could not quite follow how this is suppose to work.
I can see how to make a table show a different attribute (other than default main column) by using the Table Properties attribute and selecting a DXL attribute I've previously created. And I can make the table show the default value by selecting the View Table Attribute option. Where would I use this DXL snippet to control a single cell within a table? thanks for any clarification you can provide note: this was referring to DOORS 8.2, haven't upgraded to 8.3 yet but will shortly Diane |
|
![]() |
|
![]() |
|
Hi Diane,
I've no experience with the new feature to control table attributes by view, so I do not know exactly how it will affect the the attribute assigned to table cell. The code snipped in my first message can be used with any cell Object in a Doors table. I've attached a short example that will hopefully help you to understand the usage. Greetings, have a nice weekend Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
... additionally, you may have a look here
Grretings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Reik,
Thank you so much for your quick response. I had no problems experimenting with your code snippet. I am a bit puzzled about where the code snippet and/or results of the DXL are actually stored for the table cell objects. I see that the results of the DXL persist across views and edit sessions. I found I had to run a modified version and set the assignment string to null to get the table cell back to displaying the object text. I also followed your link in your second response and will look over the DXL samples provided there - thank you again. I did wonder if you could provide any information about where/how one can read about these DXL syntax/features. When browsing on line thru the DXL manual I wasn't able to spot anything. Thanks again for your time and information. Diane |
|
![]() |
|
![]() |
|
Hi Diane,
unfortunately I have to say that there is no documentation on this topic available. I did heard about it from a Telelogic guy. But you will find it in some not encrypted files of export scripts, so it is an official supported feature ![]() BTW, you are right, it is handled like a meta attribute. This setting is done for cell Object and will be saved with saving the Object. Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Reik, I have browsed the non-encrypted DXL files and seen some other uses of the reserved syntax. Thank you very much for your responses.
Diane |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.