Is anyone else able to reproduce this problem?  Or I am 
missing something simple?

>>> On 2008/01/14 at 08:01, in message <[EMAIL PROTECTED]>, "Derek Hohls" 
>>> <[EMAIL PROTECTED]> wrote:
Joerg
 
I am not sure what you are asking - if I use MySQL "Year" column and
Cocoon Forms "integer" type together, then the forms validator complains
that the widget is not a date type. OTOH, if I set the type to "date", then
an entry containing just a year value (e.g. 2007) is not accepted as a 
proper date. 
 
Derek

>>> Joerg Heinicke <[EMAIL PROTECTED]> 2008/01/13 02:47 AM >>>
On 09.01.2008 08:49, Derek Hohls wrote:

> I am trying to get a database submission to work with Cocoon Forms.  
> Up to now, all the data types have mapped well to the database column
> types.  However, now that I am trying to use the MySQL "Year" column
> type, I have run into a problem.  The Cocoon Forms definition validator 
> will not accept an "integer" type and, if I set the type to "date", then
> an entry containing just a year value (e.g. 2007) is not accepted as a 
> proper date.  How can I resolve this impasse between the two systems?

Why should it not work with integer?

Joerg

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


-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html. 

This message has been scanned for viruses and dangerous content by MailScanner 
( http://www.mailscanner.info/ ), 
and is believed to be clean. MailScanner thanks Transtec Computers ( 
http://www.transtec.co.uk/ ) for their support. 


-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

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