Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.0.BETA2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 3.1.0 BETA2
-
Assignee Priority:P1
-
Affects:Compatibility/Configuration
-
Workaround Exists:Yes
-
Workaround Description:Change the labelPosition attribute to a different value than inField.
Description
When the label attribute is set for the ace:dateTimeEntry its value is used inside the input field. This can cause a conversion error when the form is submitted as the String label is not a valid date.
In-field label handling relies on focus and blur events. In this simple scenario there is neither before the submit. Had to resort back to using dummy name attribute as flag to detect on server. (These added non-trivial complexities are caused by our requirement that the label could be a valid entered value.)
Note that the framework focus management can occasionally behave inconsistently. See http://jira.icesoft.org/secure/attachment/14555/screenshot-04.png. That is not a bug in the in-field label handling.
Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\resources\icefaces.ace\jquery\ui\jquery-ui.js
Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\datetimeentry\DateTimeEntryRenderer.java
Completed: At revision: 29494