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: Add column to view, content created by dxl script
Topic Summary:
Created On: 27-Jul-2004 10:02
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.
Answer This question was answered by Antonio Norkus, on Friday, August 27, 2004 9:12 AM

Answer:
I interpreted your question in 2 ways:

1. DXL script generates output that is to be displayed in a column

Either:

Create an attribute to store the output of your script, then display the attribute in a column in the normal way.

or

Use attribute DXL to calculate the value, then display the attribute in a column in the normal way.

2. DXL script generates layout DXL for use in a column

The following function sets the DXL for a column to a string value:

void dxl(Column c, string dxlCode)

Your function that generates the DXL for the column should return a DXL string, which can then be applied to the column using the above function. Note: When generating the DXL string, make sure to that all backslashes are converted to double-backslashes.

Hope this helps, but please clarify what you need if it doesn't.
 27-Jul-2004 10:02
User is offline View Users Profile Print this message


Frank Held

Posts: 14
Joined: 16-Jul-2004

Hi

I have dxl scirpt which should add a column to an existing view. The content of the new column should be created by another dxl script.
I suppose that there is a simple dxl instruction, but i don't find it (beginner)

Thanks in Advance

-------------------------
Frank
Report this to a Moderator Report this to a Moderator
 28-Jul-2004 16:51
User is offline View Users Profile Print this message


Antonio Norkus

Posts: 109
Joined: 28-Jun-2003

Answer Answer
I interpreted your question in 2 ways:

1. DXL script generates output that is to be displayed in a column

Either:

Create an attribute to store the output of your script, then display the attribute in a column in the normal way.

or

Use attribute DXL to calculate the value, then display the attribute in a column in the normal way.

2. DXL script generates layout DXL for use in a column

The following function sets the DXL for a column to a string value:

void dxl(Column c, string dxlCode)

Your function that generates the DXL for the column should return a DXL string, which can then be applied to the column using the above function. Note: When generating the DXL string, make sure to that all backslashes are converted to double-backslashes.

Hope this helps, but please clarify what you need if it doesn't.
Report this to a Moderator Report this to a Moderator
 29-Jul-2004 15:48
User is offline View Users Profile Print this message


Frank Held

Posts: 14
Joined: 16-Jul-2004

Thanks Antonio,
your second suggestion solves my Problem (despite my ambiguous posting)


-------------------------
Frank
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.