![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() 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 | |
![]() |
|
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 |
|
![]() |
|
![]() |
|
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
|
|
![]() |
|
![]() |
|
Marie, |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.