> dbforms-config.xml file as follows (for example): 
> <date-format>yyyy-MM-dd</date-format>

This variable is used to parse the input sent from the form an correct
date format, so this is the format dbforms expected from form.
Attention: The format attribute could be different, so that the value
that is sended back to dbforms is not in the correct format.

If no format is given, the date format from the config file is used to
render the date fields - should be so. I do not know if this works in
1.1.3.

In the moment i am working on a more general solution, see task list:

"Make it possible to have the configurations as attributes in the <
db:dateField > tag instead of putting them in web.xml. Some thing like:
< db:dateField fieldName="birthdate" useJsCalendar="true"
jsCalendarDateFormat="yyyy-mm-dd" jsCalendarImageHeight="16"
jsCalendarImageWidth="16" jsCalendarImageSrc=" < %=imageFiles% > " / >
If the attributes are not given then the tag takes the default values
(current implementation). "#

Hope that it's ready next week.

With this it should be possible to render the date/number fields with
the request locale and parse it correctly into the database!

Regards,
Henner




-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
DbForms Mailing List

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

Reply via email to