You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by freak182 <em...@gmail.com> on 2007/11/27 05:55:34 UTC

Date should return null

When im working with datefield,when i do not put a date to a
textfield/datefield input from a datepicker it returns the current
date/time.Now my problem is,I want it to return NULL when there is no or
blank input from a textfield.Thanks a lot
-- 
View this message in context: http://www.nabble.com/Date-should-return-null-tf4879813.html#a13964813
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Date should return null

Posted by Eelco Hillenius <ee...@gmail.com>.
On Nov 26, 2007 8:55 PM, freak182 <em...@gmail.com> wrote:
>
> When im working with datefield,when i do not put a date to a
> textfield/datefield input from a datepicker it returns the current
> date/time.Now my problem is,I want it to return NULL when there is no or
> blank input from a textfield.Thanks a lot

It does set to null as far as I know. Go for instance to
http://wicketstuff.org/wicket13/dates/ and remove the value there and
it will report that the date was set to null. If you have a case where
this doesn't work, please open a JIRA issue with a test case or
quickstart that shows your problem.

Cheers,

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org