Tuomo

I do not use the db add-on so this may be a useless
observation... but are you sure your DB supports entries
in the ddMMyyyyHHmmssSSS format - mySQL, for
example, expects yyyy-mm-dd in a  _date_  field.

Derek

>>> [EMAIL PROTECTED] 2004/03/24 02:26:48 PM >>>
Hi,

I need to "generate" an id from the current time, when adding a record
to
database using the modular database-add-action. Then I need to pass
this
id to the sitemap. I tried this, but it generates null in the db:

<value name="session_id" type="string">
  <mode name="request-attr" type="all">
        
<parameter>org.apache.cocoon.components.modules.output.OutputModule:session-id</parameter>
        <input-module name="date"
format="ddMMyyyyHHmmssSSS"></input-module>
  </mode>
</value>

What's the prob?

-Tuomo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to