On 7/8/07, Thies Edeling <[EMAIL PROTECTED]> wrote:
>  Why does setType set the required flag for primitives?

How can a primitive type ever be null? If you want to allow null
values, then the type needs to be Double, Float, Integer, Long, ...

If null is allowed, and an empty value was accepted, Wicket would have
a hard time processing that value and committing it to the model.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to