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: DXL triggered by attribute edit event
Topic Summary:
Created On: 6-Dec-2005 08:56
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.
 6-Dec-2005 08:56
User is offline View Users Profile Print this message


Oliver Röpke

Posts: 42
Joined: 23-Nov-2005

Hello @ all!

I want to run a DXL script by a double click on an attribute of an object.

Rationale: The script should show a browse dialog and the user may do some selections which where written to the (string) attribute afterwards.

But how can I achieve this? I have no idea because there is no event "on open attribute" or "on edit attribute" and neither layout DXL nor a DXL attribute are sufficient.

Does anyone has a idea how to manage this problem?

Many thanks in advance for your kind help.

Best,
Oliver



-------------------------
Greetings,<BR>Oliver<BR><BR><BR>Oliver Roepke<BR>Axis Engineering AG, Munich
Report this to a Moderator Report this to a Moderator
 6-Dec-2005 22:20
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

You can trigger when you select a new object but cannot trigger when you begin to edit an attribute. The best you can do is trigger when he's done editing the attribute. Such a pre-save-attribute trigger may do the following: Read the user's input and translate it as best as it can into the options you define. Present the options with the user's current selections selected. When he's done, save the attribute value.

Users can attempt to type in what they want, but may have to simply add a space to the end of the value in order to trigger the trigger.

The "AttrDef ad = attrdef(current Trigger)" command should find which attribute is being saved.

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