You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2005/12/06 14:38:31 UTC
[jira] Closed: (MYFACES-815) t:inputCalendar "Required" not functioning correctly
[ http://issues.apache.org/jira/browse/MYFACES-815?page=all ]
Martin Marinschek closed MYFACES-815:
-------------------------------------
Fix Version: Nightly
Resolution: Invalid
Assign To: Martin Marinschek
Thanks Hlias for keeping us updated.
regards,
Martin
> t:inputCalendar "Required" not functioning correctly
> ----------------------------------------------------
>
> Key: MYFACES-815
> URL: http://issues.apache.org/jira/browse/MYFACES-815
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: 1.1.1
> Environment: Windows 2000, Apache 5.5
> Reporter: Hlias Mpalasis
> Assignee: Martin Marinschek
> Fix For: Nightly
>
> when "Required" property is set to "false" t:inputCalendar is expected to accept nulls
> Instead it prevents JSF life cycle from entering "Invoke Application" phase. As a result, applicaitons cannot continue unless a value is entered in "inputCalendar" field.
> I placed a custom phase monitor and discovered that JSF goes through the following phases in the order specified.
> RESTORE_VIEW, APPLY_REQUEST_VALUES, PROCESS_VALIDATIONS, UPDATE_MODEL_VALUES, RENDER_RESPONSE. Notice that INVOKE_APPLICATION phase is skipped.
> I have also observed that when "inputCalendar" is left empty, the model is updated correctly in UPDATE_MODEL_VALUES phase with a null value but INVOKE_APPLICATION phase is skipped.
> I believe this is abnormal because the "inputCalendar" "Required" property is set to false. It shouldn't mind about the null. Besides the model is updated correctly.
--
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