Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.2, 1.7DR#2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Win XP SP2, component-showcase
-
ICEsoft Forum Reference:
Description
Some comments in the JForum posting, as well as comments by Sheng Gu in ICE-1343 led me to investigate ice:selectInputDate. Here are the issues that I found. I'm putting these in a single Jira because I think it'll just be a huge hassle trying to address and commit these issues separately.
1. Can't clear out the text field to make no date selected. Select a date, and see that it validates, and is set into the bean. Then go clear out the text field, and tab away. It gets a null submittedValue, but the value does not become null, and the bean does not get the null value.
2. If you try to implement a Cancel button by setting immediate="true" on it, and having its actionListener null out values in the bean, it won't work with selectInputDate, because clicking on the button will also submit the form, and cause a series of interactions that will result in the date existing again. Amusingly enough, it will work with imediate="false".
1. Can't clear out the text field to make no date selected. Select a date, and see that it validates, and is set into the bean. Then go clear out the text field, and tab away. It gets a null submittedValue, but the value does not become null, and the bean does not get the null value.
2. If you try to implement a Cancel button by setting immediate="true" on it, and having its actionListener null out values in the bean, it won't work with selectInputDate, because clicking on the button will also submit the form, and cause a series of interactions that will result in the date existing again. Amusingly enough, it will work with imediate="false".
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18292 | Thu Feb 05 08:52:49 MST 2009 | adnan.durrani | Fix for ICE-4042 (Regression of |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDate.java
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDateRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15151 | Fri Nov 09 17:11:40 MST 2007 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.6/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDateRenderer.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15150 | Fri Nov 09 16:48:08 MST 2007 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDateRenderer.java
|