Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: description of available functions in attr_controls
Topic Summary: Cutomization of attributes (attr_controls directory)
Created On: 9-Aug-2005 19:55
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
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 Marie Gahunia, on Wednesday, August 10, 2005 5:34 PM

Answer:
Hi Duane The attr controls are a combination of javascript ( for processing) and html ( for display). There is no reference for these. In order to get the current time, you need to create a new date object which will by default capture the current date. Someting like currDate=new Date() should do it. Haven't got an referencable example to hand but I think that this is pretty close. By the way, you should have posted this to the Synergy/Chane forum :-) Cheers Marie
 9-Aug-2005 19:55
User is offline View Users Profile Print this message


Duane Bock

Posts: 4
Joined: 25-May-2005

The .../attr_controls directory contains files describing some of the automation in the data that is displayed to the user.  It includes files like base.CCM_DATE which describes how the date is displayed and how it is entered.  Is there a reference that describes what funtions are available via these files?  I have seen a modify_time_Value() function that returns the last time the CR was modified.  I am actually looking for a function/method that would allow me to get the current time (to allow me to log an entry).  Any help or pointing me to a reference document would be appreciated.  I have tried using a timestamp function and a Now function, neither of which returned the current time.  My client in on a PC and the server is running Linux.  May this be contributing to my problem?

Thanks for any responses,
Duane Bock
Report this to a Moderator Report this to a Moderator
 10-Aug-2005 13:53
User is offline View Users Profile Print this message


Marie Gahunia

Posts: 2
Joined: 14-Apr-2005

Answer Answer
Hi Duane The attr controls are a combination of javascript ( for processing) and html ( for display). There is no reference for these. In order to get the current time, you need to create a new date object which will by default capture the current date. Someting like currDate=new Date() should do it. Haven't got an referencable example to hand but I think that this is pretty close. By the way, you should have posted this to the Synergy/Chane forum :-) Cheers Marie
Report this to a Moderator Report this to a Moderator
 10-Aug-2005 17:33
User is offline View Users Profile Print this message


Duane Bock

Posts: 4
Joined: 25-May-2005

Marie,
Thanks, your suggestion worked flawlessly.

Duane

Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 0 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.