In your requirement, you seem to have a tough exception to an easy rule,
your rule basically being that you want the timestamp to default to
date/time fields on opening the calendar widget, exception being you do not
want it for each and every date/time field.

It may be possible to modify the widget to display the current CLIENT
timestamp on a null date field on opening the calendar widget, but it would
be hard to have it NOT to set that value for just certain fields. Might be
almost impossible to define that exception for some fields.

Setting the SERVER timestamp from a client action would be the next
difficult task although this is at least not an impossible one. One way to
fetch the current server time, if you do not mind a intermediate processing
form, would be to create an entry in that intermediate form, and fetch the
create or modify time of that ticket, which would give you the SERVER time.

Joe D'Souza
  -----Original Message-----
  From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of ARS List
  Sent: Thursday, October 04, 2007 1:17 AM
  To: [email protected]
  Subject: Calendar Popup - default


  **
  Hallo Listers,

  I have a question regarding the calendar popup:
  Currently, in both the User tool and the Mid-Tier, whenever you
  click on the calendar facility relating to a DATE/TIME field, the popup
  defaults to DATE, but the time section at the bottom is set to 00:00:00.
  Does anyone know if it's possible to make this default to TIMESTAMP
  instead of DATE, at a server level?

  I know that it is possible, for each field, to set a default value of
  TIMESTAMP, which will result in the calendar showing it correctly, but
  obviously this doesn't quite solve our problem, as it means that we would
  have to change each individual field in our system.  Besides which,
  obviously not every date field in our application should have a default
  value.

  Our application is web-based, so perhaps there is even a CSS setting...?
  Any ideas..?

  Thanks,
  Vanessa

  ***
  Our environment:
  ARS 7.0 Patch 003
  Mid-Tier Patch 001
  Oracle 10
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.0/1048 - Release Date: 10/3/2007
8:22 PM

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to