![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DXL attribute and views Topic Summary: Clarification regarding DXL attribute Created On: 1-Aug-2008 16:44 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Santosh The filter will work on a dxl attribute. However, if you created the dxl via the wizard then it may be putting blank lines into the attribute - so it looks like they are empty but are not ( even a "\n" means that it is not empty) Converting layout dxl to dxl attribute will add an extra "\n" You can check this by double clicking on the attribute in exclusive edit and see if you can highlight any content. If you can highlight more than one line then thats your problem. There are a number of solutions to correct this depending on what you are trying to do and your level of dxl experience. 1. re run the wizard with no recursion and One attribute per line turned off 2. modify the dxl code by taking out the lines bsz += "\n" in the functions display and displayRich 3.remove the two lines adjustLines(depth, 1) if (depth == 1) display "" 4. post your dxl here and someone will edit it for you. ( 2 & 3 are quick fixes and not what a good dxl programmer would do!) ------------- Gordon Woods BAE Systems (Operations) Limited, Warton, UK gordon.woods2@baesystems.com | |
![]() |
|
I am trying to apply a filter "Attribute X is empty", but seems like it does not work. Attribute X is a DXL attribute. I thought views are supposed to filter all types of attributes. Am I missing something?
|
|
![]() |
|
![]() |
|
Santosh
The filter will work on a dxl attribute. However, if you created the dxl via the wizard then it may be putting blank lines into the attribute - so it looks like they are empty but are not ( even a "\n" means that it is not empty) Converting layout dxl to dxl attribute will add an extra "\n" You can check this by double clicking on the attribute in exclusive edit and see if you can highlight any content. If you can highlight more than one line then thats your problem. There are a number of solutions to correct this depending on what you are trying to do and your level of dxl experience. 1. re run the wizard with no recursion and One attribute per line turned off 2. modify the dxl code by taking out the lines bsz += "\n" in the functions display and displayRich 3.remove the two lines adjustLines(depth, 1) if (depth == 1) display "" 4. post your dxl here and someone will edit it for you. ( 2 & 3 are quick fixes and not what a good dxl programmer would do!) ------------- Gordon Woods BAE Systems (Operations) Limited, Warton, UK gordon.woods2@baesystems.com |
|
![]() |
|
![]() |
|
Perfect it works. Removed the "\n". Not sure why you said the #2 is not what a good programmer would do.
|
|
![]() |
Telelogic DOORS
» General Discussion
»
DXL attribute and views
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.