ICEfaces
  1. ICEfaces
  2. ICE-4156

SelectInputDate is incorrectly initialized

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8RC1
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: None
    • Labels:
      None
    • Environment:
      Icefaces RC! rev.18438
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      public void validate(FacesContext context) {
      (..)
                      if (isShowPopup()) setSubmittedValue(null); // if popup was closed, process submitted value
      > else setPopupDate(null);
      (...)
      }
      Show
      public void validate(FacesContext context) { (..)                 if (isShowPopup()) setSubmittedValue(null); // if popup was closed, process submitted value > else setPopupDate(null); (...) }

      Description

      Scenario:
      - datatable with popup editor opened on selected row
      - popup contain selectInpudDate field
      - open popup on first row, select date, close popup
      - open popup on another row, you see date from previous row

      Bug is in SelectInpuDate.java. Popup date shold be cleared on date popup close
      Patch can be included in validate method.


        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18562 Fri Mar 13 15:27:13 MDT 2009 mark.collette ICE-4156 : SelectInputDate is incorrectly initialized
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDate.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDateRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18506 Mon Mar 09 18:12:01 MDT 2009 mark.collette ICE-4156 : SelectInputDate is incorrectly initialized
        ICE-4184 : Setting selectInputDate value in dataTable issue
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDate.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Krashan Brahmanjara
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: