You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Richard Moe <ri...@chello.no> on 2003/04/07 10:46:17 UTC

date and modular database actions

Hi!

I'm trying to build an app with modular database actions and everything
seems to be working nicely except for forms with date input.

Whenever I try to insert a date I get the following error:

DEBUG   (2003-04-07) 10:27.58:569   [sitemap.action.add-fagbeskrivelse] (/cocoon/mount/fagbeskrivelse/begrenset/ny.xsp) Thread-17/DatabaseAction: Trying to set column fagbeskrivelse.SIST_ENDRET from datemeta using getAttribute method
DEBUG   (2003-04-07) 10:27.58:571   [sitemap.action.add-fagbeskrivelse] (/cocoon/mount/fagbeskrivelse/begrenset/ny.xsp) Thread-17/DatabaseAction: Rolling back transaction. Caused by null


My database.xml looks like this:

[...]

<value name="SIST_ENDRET" type="date">
  <mode name="datemeta" type="all">
   <parameter>SIST_ENDRET</parameter>
   <format>dd.mm.yyyy</format>
   <input-module name="request-param"/>
  </mode>
</value>

[...]


I have this in my cocoon.xconf:

<component-instance logger="core.modules.input" name="datemeta" class="org.apache.cocoon.components.modules.input.DateMetaInputModule"/>


I am using: Cocoon 2.0.4 JDK 1.4.1 Tomcat 4.1.24 Oracle 8.1.7

Any ideas ?

-- 
Richard Moe 
GPG 0xC4B2F11D 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org