Just solved it. I merged create_object and edit_object of the my_editors. 

The id of the fieldlist when updating should be the same as the id used to 
create the form.

A day without learning is a day not lived ;)

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Michiel Meeuwissen
Verzonden: woensdag 27 september 2006 11:22
Aan: Discussion list for developers
Onderwerp: Re: [Developers] submitting a date field

Ferdinandus, Humphrey wrote:
> When submitting a date field, I get the following message:
> 
>  
> 
> Not a valid number (java.lang.NumberFormatException: null) in field submitted
> 
>  
> 
> Is use the same code as used in the my_editors after submit:
> 
>  
> 
>                         <mm:node number="$node" id="update_node">
> 
>                         
> 
>                         <mm:fieldlist type="edit" 
> fields="owner"><mm:fieldinfo type="useinput" /></mm:fieldlist>
> 
>                         
> 
>                         </mm:node>
> 
>  
> 
>  
> 
>  
> 
> Anyone encountered this to?
> 

It may be helpful to supply:
- MMBase version
- configuration of the 'submitted' field.
- the stack-trace.


Perhaps it is a non-nullable field with no default value, or something like
that. In that case a default value should perhaps be made up (that could be
considered a bug then if it does not do that), but the obvious work-around
would then be to supply a default value.

Michiel


-- 
Michiel Meeuwissen                  mihxil'
Peperbus 107 MediaPark H'sum          []()
+31 (0)35 6772979         nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.9/457 - Release Date: 26-9-2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.9/457 - Release Date: 26-9-2006
 
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to