Martijn Dashorst wrote:
> 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.
>
>   
True indeed. It would be handy to have this implicit behaviour added to 
the javadoc though :)


-------------------------------------------------------------------------
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