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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: