You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Çagatay Çivici (JIRA)" <de...@myfaces.apache.org> on 2006/07/21 17:04:16 UTC

[jira] Commented: (TOMAHAWK-378) Can't submit an empty date with x:inputDate

    [ http://issues.apache.org/jira/browse/TOMAHAWK-378?page=comments#action_12422664 ] 
            
Çagatay Çivici commented on TOMAHAWK-378:
-----------------------------------------

Hi,

There is already a workflow on this which is very close to be committed.

I've tested your patch and observed a couple of problems.

* The am/pm attribute cannot be ommitted.
* The popup calendar crashes when trying to be opened with empty input.
* Some test cases in tomahawk fails after applying the patch.

Cagatay

> Can't submit an empty date with x:inputDate
> -------------------------------------------
>
>                 Key: TOMAHAWK-378
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-378
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Date
>    Affects Versions: 1.1.1
>         Environment: tomcat 5.0.28, JDK 1.5.0
>            Reporter: Alessandro Polverini
>         Assigned To: Martin Marinschek
>         Attachments: inputDate.patch
>
>
> Hello,
> I see two problems with x:inputDate:
> 1) if the backing bean is empty the control is initialized with current time: I would like it to be empty to "understand" a date has not been entered
> 2) it's not possible to submit an "empty" date, i.e.: a valid date date must be entered also if the "required" property is set to false. That means all inputDates are mandatory
> Please correct me if I overlook something.
> Thanks,
> Alex

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira