You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by AUGE Frédéric GC EUR <fr...@globecast.com> on 2005/05/02 19:32:31 UTC
x:inputDate never empty
Hi,
I would like to use the inputDate tag, but it seams to be always initialized
with the current date, even if the date in my bean is null. I would expect
the component to be empty in this case.
The javadoc for this component isn't so complete and in the sample app, all
the dates fields using this component are initialized.
So, is it possible for the inputDate to be empty ?
Thanks,
Frédéric
Re: x:inputDate never empty
Posted by Alessandro Polverini <al...@nibbles.it>.
On Mon, 2005-05-02 at 19:32 +0200, AUGE Fr=?utf-8?B?w6k=?=d=?utf-8?B?
w6k=?=ric GC EUR wrote:
> Hi,
>
> I would like to use the inputDate tag, but it seams to be always initialized
> with the current date, even if the date in my bean is null. I would expect
> the component to be empty in this case.
> The javadoc for this component isn't so complete and in the sample app, all
> the dates fields using this component are initialized.
> So, is it possible for the inputDate to be empty ?
I have the same problem: if I use an inputDate tag I can't have a null
value as input, and in some case it would be handy (on every non
mandatory date).
Another problem is that if a user deletes the year field and then press
the key for the popup calendar, it is garbled.
Any help on how to have a workaround?
Thanks,
Alex