![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: multiple execution of layout dxl Topic Summary: Created On: 7-Jul-2004 14:57 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Do you mean "LayOut DXL", inserted into a Column and must be saved in a view else its lost, or "Attribute DXL" defined when creating an attribute? You could "combine" them where a Layout also manages an actual (e.g. "Text") attribute via a direct save: obj."My Attr" = Results.
You should post the script, optionally abbreviating whatever parts you don't want us to see. Both scripts presume the "obj" variable to mean the object in question. Don't declare "Object obj", do NOT set "obj = current"; which is probably your problem. Following is a reasonable Layout snippette: string RightNow = today()) "" // Granularity one day: "2004-July-07" string ModOn = obj."Last Modified On" //" 2004-July-06" if (ModOn == RightNow) display "Modified Today" else display "" Attr DXL would use "obj.attrDXLName = "Modified Today". Layout DXL is updated whenever the object is displayed, even when you simply scroll the module once. That's REAL annoying if the layout traverses links since it takes seconds to calculate each object. Attr DXL is updated exactly as it says in the manual, which turns out to be less often than you ..err.. I had supposed. The above example isn't good for Attr DXL since the values would tend to accumulate "Modified Today" until you refreshed attr DXL via the TOOLS menu. - Louie |
|
![]() |
|
![]() |
|
I don't understand what you are trying to do here, but I think you may be confused
about the difference between, and purpose, of attribute DXL and layout DXL. First, layout DXL exists in a column and must be saved in a view. The purpose of layout DXL is to display dynamic data in a column. NEVER use layout DXL to update data. And certainly never use layout DXL to open streams and stuff. Layout DXL will run everytime the display changes - this is a lot! Attribute DXL allows a DXL attribute to be automatically updated using other information. NEVER use attribute DXL to update anything other than its own value. As Louie says, DXL attributes get updated as described in the manual (I think). Please explain what it is you are trying to do and we'll see what we can do. PS. Opening testModule crashes DOORS on my client. ------------------------- Tony Goodman http://www.smartdxl.com Edited: 8-Jul-2004 at 15:45 by Tony Goodman |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
multiple execution of layout dxl
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.