Hi,

I am getting the following error when I use a dateField

72436 [http-8080-Processor25] ERROR org.dbforms.util.TimeUtil  -
java.text.Parse
Exception: Unparseable date: "2004-06-23"

The format of the date in dbforms is given as

    <date-format>yyyy-MM-dd</date-format>

And the field in dbforms is defined as

        <field name="riskCreatedOn"     fieldType="date"    size="10"/>

The field accepting the value in the JSP page is as follows

                            <db:dateField fieldName="riskCreatedOn" 
                                 styleClass = "tableCell" 
                                 useJsCalendar="true"
                                 jsCalendarDateFormat="yyyy-MM-dd"/>

Regards,
Sudeep.


This message is confidential and may also be legally privileged. If you are not the 
intended recipient, please notify [EMAIL PROTECTED] immediately. You should not copy 
it or use it for any purpose, nor disclose its contents to any other person. The views 
and opinions expressed in this e-mail message are the author's own and may not reflect 
the views and opinions of ADP.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to