defaultValue in the config file is yet used in stylesheet transformation only - not in the framework. So the only way change the default value seems to use a default value in each form.
 
Feel free to change the DbBaseHandlerTag to use the default value found in the field definition.
Please do not change backward compatibility - return 0 if default value is not set in config file!
 
 
 
Thanks,
Henner


Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Julio Ortuzar O.
Gesendet: Sonntag, 5. Dezember 2004 15:07
An: [EMAIL PROTECTED]
Betreff: [dbforms] default value question

Hello,

 

I have a question regarding default values for numeric type fields.

 

Why does the typicalDefaultValue() method in DbBaseHandlerTag always return a 0 for numeric fields. It overrides any possibility of leaving the field’s value as null or other specified value in the dbforms-config defaultvalue parameter.

 

Thanks,

 

Julio

Reply via email to