Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
-
Support Case References:
Description
guess there's a page containing a simple selectInputDate component like:
<ice:selectInputDate renderAsPopup="true"
value="#{TestBean.date}"
id="dateField"
popupDateFormat="EEE, d MMM yyyy">
</ice:selectInputDate>
when the page is entered initially and there is a pre-existing value for the date then
the format is not applied to this component. Instead the date will be shown with the
component's default format settings. The correct format will be applied when
the JSF lifecycle is initiated i.e. by a partialSubmit of another component. the problem
then is that a conversion error occurs, because the default format doesn't match the
value of the popupDateFormat attribute.
<ice:selectInputDate renderAsPopup="true"
value="#{TestBean.date}"
id="dateField"
popupDateFormat="EEE, d MMM yyyy">
</ice:selectInputDate>
when the page is entered initially and there is a pre-existing value for the date then
the format is not applied to this component. Instead the date will be shown with the
component's default format settings. The correct format will be applied when
the JSF lifecycle is initiated i.e. by a partialSubmit of another component. the problem
then is that a conversion error occurs, because the default format doesn't match the
value of the popupDateFormat attribute.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #14821 | Thu Sep 13 17:12:02 MDT 2007 | mark.collette | |
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 |