I'd like to timestamp a document this way: <dtml-with "manage_clone(story_html,REQUEST['new_id'],REQUEST)"> <dtml-call "manage_changeProperties(title=REQUEST['new_headline'], producer=REQUEST['new_producer'], time=REQUEST[' (grab the current time here using ZopeTime?)'], )"> </dtml-with> <dtml-call "RESPONSE.redirect( DestinationURL() +'manage_main')"> Is there a better way, does this worK? Thanks in advance. ************************* Tom Scheidt www.falsemirror.com tom@falsemirror.com *************************
Tom Scheidt wrote:
I'd like to timestamp a document this way:
<dtml-with "manage_clone(story_html,REQUEST['new_id'],REQUEST)"> <dtml-call "manage_changeProperties( title=REQUEST['new_headline'], producer=REQUEST['new_producer'], time=ZopeTime(), )"> Is indeed the best solution I've found. Make sure that time is of the date type. -- ethan mindlace fremen mindlace@imeme.net zope -&- imap email -&- mailing list weave your web with the web at http://imeme.net
participants (2)
-
mindlace -
Tom Scheidt