You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Stephan Strittmatter (JIRA)" <de...@myfaces.apache.org> on 2005/11/09 12:30:21 UTC

[jira] Kommentiert: (MYFACES-646) accepts invalid date input

    [ http://issues.apache.org/jira/browse/MYFACES-646?page=comments#action_12357120 ] 

Stephan Strittmatter commented on MYFACES-646:
----------------------------------------------

At least the calender should convert the value to the corrected date after submit.

I solved this in using a binding to the calender an added following code now:

calendarControl.setUserData(new HtmlInputDate.UserData(this.myDate, this.getLocale()));

IMHO at least this should be done directly in calendar.

> <x:inputDate> accepts invalid date input
> ----------------------------------------
>
>          Key: MYFACES-646
>          URL: http://issues.apache.org/jira/browse/MYFACES-646
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Reporter: Stephan Strittmatter
>     Assignee: Martin Marinschek
>     Priority: Critical
>      Fix For: Nightly

>
> If you e.g. insert as day "33" and select "September" then the date is converted to 3. Oct. instead of raising an error.
> In addition: Is it also possible to disable the direct manual input and allow only using the popup?

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