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: trigger help
Topic Summary:
Created On: 21-Feb-2003 20:35
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 Louie Landale, on Friday, February 28, 2003 3:21 PM

Answer:
If I read the code correctly, the trigger must be set by each individual user who wants that feature: if I run defview.dxl only I get prompted. If so, it appears YOU have also run that DXL on these modules. If so, run the delview.dxl script so YOU don't get prompted, but it won't affect anybody else.

Then maybe you can modify the script to suppress the "confirm" command, and run the new version to not bother asking and always save the view. Perhaps you also want to add a feature where it checks to insure the module is open visibly (if isVisible(current module)), so it doesn't save views for modules opened for other reasons.

But to answer your question: No, you cannot suppress individual triggers, although you CAN use the "-T" statment in your DOORS.EXE icon, and suppress running ALL triggers for a particular session, at least if you are a DOORS admin (see chapter "Command line switches")

- Louie
 21-Feb-2003 20:35
User is offline View Users Profile Print this message


Mark Phillips

Posts: 40
Joined: 17-Dec-2002

Howdy,

Does anybody know how to go around a persistant trigger?

Specifically - Some of the modules in my database utilize the /lib/dxl/example/defview.dxl script. Whenever these modules are then opened and subsiquently closed by DXL, I am presented with a dialog to save the view. In a nutshell, how do I get around this dialog box?

As always, any help is appreciated.

Thanks,

Mark

-------------------------
Mark Phillips
mark.phillips@swri.org
Report this to a Moderator Report this to a Moderator
 26-Feb-2003 19:10
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Answer Answer
If I read the code correctly, the trigger must be set by each individual user who wants that feature: if I run defview.dxl only I get prompted. If so, it appears YOU have also run that DXL on these modules. If so, run the delview.dxl script so YOU don't get prompted, but it won't affect anybody else.

Then maybe you can modify the script to suppress the "confirm" command, and run the new version to not bother asking and always save the view. Perhaps you also want to add a feature where it checks to insure the module is open visibly (if isVisible(current module)), so it doesn't save views for modules opened for other reasons.

But to answer your question: No, you cannot suppress individual triggers, although you CAN use the "-T" statment in your DOORS.EXE icon, and suppress running ALL triggers for a particular session, at least if you are a DOORS admin (see chapter "Command line switches")

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